more stuff done, does compile, changed vector for map

This commit is contained in:
apa420
2018-08-12 20:21:21 +02:00
parent 05d5709bb9
commit 320558ee63
6 changed files with 96 additions and 214 deletions
+1 -18
View File
@@ -3,8 +3,6 @@
#include "Application.hpp"
#include "common/Singleton.hpp"
//#include <mutex>
namespace chatterino {
enum class Platform : uint8_t;
@@ -13,25 +11,10 @@ class Toasts final : public Singleton
{
public:
void sendChannelNotification(const QString &channelName, Platform p);
/*
Toasts();
virtual void initialize(Settings &settings, Paths &paths) override final;
*/
static bool isEnabled();
private:
void sendWindowsNotification(const QString &channelName, Platform p);
/*
void updateLiveChannels(const QString &channelName);
void removeFromLiveChannels(const QString &channelName);
bool wasChannelLive(const QString &channelName);
void shouldChannelBeNotified(const QString &channelName);
void sendChannelNotification(const QString &channelName);
void sendWindowsNotification(const QString &channelName);
std::vector<QString> liveChannels;
std::mutex mutex_;
*/
};
} // namespace chatterino