summaryrefslogtreecommitdiff
path: root/windows/pinnedwindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'windows/pinnedwindow.hpp')
-rw-r--r--windows/pinnedwindow.hpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/windows/pinnedwindow.hpp b/windows/pinnedwindow.hpp
deleted file mode 100644
index cf2ec3c..0000000
--- a/windows/pinnedwindow.hpp
+++ /dev/null
@@ -1,22 +0,0 @@
-#pragma once
-#include <gtkmm.h>
-#include "discord/errors.hpp"
-#include "discord/channel.hpp"
-#include "discord/message.hpp"
-#include "components/chatlist.hpp"
-
-class PinnedWindow : public Gtk::Window {
-public:
- PinnedWindow(const ChannelData &data);
-
- Snowflake GuildID;
- Snowflake ChannelID;
-
-private:
- void OnMessagePinned(const Message &msg);
- void OnMessageUnpinned(const Message &msg);
- void FetchPinned();
- void OnFetchedPinned(const std::vector<Message> &msgs, DiscordError code);
-
- ChatList m_chat;
-};