Added fakechannels

This commit is contained in:
apa420
2018-08-26 13:19:09 +02:00
parent c4679bf048
commit 8ea3b6c8ee
2 changed files with 21 additions and 24 deletions
@@ -17,7 +17,7 @@ enum class Platform : uint8_t {
// Mixer, // 1
};
class NotificationController final : public Singleton
class NotificationController final : public Singleton, private QObject
{
public:
virtual void initialize(Settings &settings, Paths &paths) override;
@@ -37,19 +37,20 @@ public:
private:
bool initialized_ = false;
QTimer *liveStatusTimer_;
void fetchFakeChannels();
void removeFakeChannel(const QString channelName);
std::vector<QString> fakeTwitchChannels;
void getFakeTwitchChannelLiveStatus(const QString &channelName);
std::vector<QString> fakeTwitchChannels;
QTimer *liveStatusTimer_;
ChatterinoSetting<std::vector<QString>> twitchSetting_ = {
"/notifications/twitch"};
/*
ChatterinoSetting<std::vector<QString>> mixerSetting_ = {
"/notifications/mixer"};
*/
private slots:
void fetchFakeChannels();
};
} // namespace chatterino