diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-08-20 03:19:16 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-08-20 03:19:16 -0400 |
commit | a201d5905ad9188e890eeb0cc0aee8d4fb9dcf3c (patch) | |
tree | e7b28048f1150c379db1fb27e8efa032aafaf06d /abaddon.hpp | |
parent | 4b903bbd3e8436e1d63b8c12e76d8a3c924da5fc (diff) | |
download | abaddon-portaudio-a201d5905ad9188e890eeb0cc0aee8d4fb9dcf3c.tar.gz abaddon-portaudio-a201d5905ad9188e890eeb0cc0aee8d4fb9dcf3c.zip |
rudimentary chat
Diffstat (limited to 'abaddon.hpp')
-rw-r--r-- | abaddon.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/abaddon.hpp b/abaddon.hpp index 29b7801..17624be 100644 --- a/abaddon.hpp +++ b/abaddon.hpp @@ -2,6 +2,7 @@ #include <memory> #include <mutex> #include <string> +#include <unordered_set> #include "discord/discord.hpp" #include "windows/mainwindow.hpp" #include "settings.hpp" @@ -22,6 +23,7 @@ public: void ActionSetToken(); void ActionMoveGuildUp(Snowflake id); void ActionMoveGuildDown(Snowflake id); + void ActionListChannelItemClick(Snowflake id); std::string GetDiscordToken() const; bool IsDiscordActive() const; @@ -31,10 +33,12 @@ public: void DiscordNotifyChannelListFullRefresh(); private: + DiscordClient m_discord; std::string m_discord_token; + std::unordered_set<Snowflake> m_channels_requested; + mutable std::mutex m_mutex; Glib::RefPtr<Gtk::Application> m_gtk_app; - DiscordClient m_discord; SettingsManager m_settings; std::unique_ptr<MainWindow> m_main_window; // wah wah cant create a gtkstylecontext fuck you }; |