almost implemented the faekchannels, just need to fix the timer, pls help pajlada

This commit is contained in:
apa420
2018-08-25 14:13:26 +02:00
parent 8f77dccb91
commit c4679bf048
5 changed files with 108 additions and 7 deletions
@@ -3,6 +3,8 @@
#include "common/SignalVector.hpp"
#include "singletons/Settings.hpp"
#include <QTimer>
namespace chatterino {
class Settings;
@@ -35,12 +37,19 @@ public:
private:
bool initialized_ = false;
QTimer *liveStatusTimer_;
void removeFakeChannel(const QString channelName);
std::vector<QString> fakeTwitchChannels;
void getFakeTwitchChannelLiveStatus(const QString &channelName);
ChatterinoSetting<std::vector<QString>> twitchSetting_ = {
"/notifications/twitch"};
/*
ChatterinoSetting<std::vector<QString>> mixerSetting_ = {
"/notifications/mixer"};
*/
private slots:
void fetchFakeChannels();
};
} // namespace chatterino