mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-06 20:15:19 +03:00
23 lines
546 B
C++
23 lines
546 B
C++
#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;
|
|
};
|