stuff does compile
This commit is contained in:
@@ -10,25 +10,31 @@ class Paths;
|
||||
|
||||
class NotificationModel;
|
||||
|
||||
enum class Platform : uint8_t {
|
||||
Twitch = 0, // 0
|
||||
Mixer = 1, // 1
|
||||
HitBox = 2, // 2
|
||||
};
|
||||
|
||||
class NotificationController final : public Singleton
|
||||
{
|
||||
public:
|
||||
virtual void initialize(Settings &settings, Paths &paths) override;
|
||||
|
||||
bool isChannelNotified(const QString &channelName, int &i);
|
||||
bool isChannelNotified(const QString &channelName, Platform p);
|
||||
|
||||
void updateChannelNotification(const QString &channelName, int &i);
|
||||
void updateChannelNotification(const QString &channelName, Platform p);
|
||||
void addChannelNotification(const QString &channelName,
|
||||
UnsortedSignalVector<QString> &vector);
|
||||
void removeChannelNotification(const QString &channelName,
|
||||
UnsortedSignalVector<QString> &vector);
|
||||
|
||||
UnsortedSignalVector<QString> getVector(int &i);
|
||||
UnsortedSignalVector<QString> getVector(Platform p);
|
||||
|
||||
UnsortedSignalVector<QString> twitchVector;
|
||||
UnsortedSignalVector<QString> mixerVector;
|
||||
|
||||
NotificationModel *createModel(QObject *parent, int &i);
|
||||
NotificationModel *createModel(QObject *parent, Platform p);
|
||||
|
||||
private:
|
||||
bool initialized_ = false;
|
||||
|
||||
Reference in New Issue
Block a user