summaryrefslogtreecommitdiff
path: root/windows/guildsettings/auditlogpane.hpp
blob: 9421e228cee0c49f0c4aea4fe22e63c099b01234 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once
#include <gtkmm.h>
#include "../../components//inotifyswitched.hpp"
#include "../../discord/objects.hpp"

class GuildSettingsAuditLogPane : public Gtk::ScrolledWindow, public INotifySwitched {
public:
    GuildSettingsAuditLogPane(Snowflake id);

private:
    void on_switched_to() override;

    bool m_requested = false;

    Gtk::ListBox m_list;

    void OnAuditLogFetch(const AuditLogData &data);

    Snowflake GuildID;
};