#ifndef CHANNELS_H #define CHANNELS_H #include "channel.h" namespace chatterino { void initChannels(); class Channels { public: static std::shared_ptr getWhispers(); static std::shared_ptr getMentions(); static std::shared_ptr getEmpty(); const static std::vector> getItems(); static std::shared_ptr addChannel(const QString &channel); static std::shared_ptr getChannel(const QString &channel); static void removeChannel(const QString &channel); private: Channels() { } static QMap, int>> channels; static QMutex channelsMutex; }; } // namespace chatterino #endif // CHANNELS_H