mirror of
https://github.com/uowuo/abaddon.git
synced 2026-01-14 05:00:05 +00:00
23 lines
590 B
C++
23 lines
590 B
C++
#pragma once
|
|
#include <gtkmm.h>
|
|
#include <optional>
|
|
#include "../../discord/objects.hpp"
|
|
|
|
class VerificationGateDialog : public Gtk::Dialog {
|
|
public:
|
|
VerificationGateDialog(Gtk::Window &parent, Snowflake guild_id);
|
|
const VerificationGateInfoObject &GetVerificationGate() const;
|
|
|
|
protected:
|
|
void OnVerificationGateFetch(const std::optional<VerificationGateInfoObject> &info);
|
|
|
|
VerificationGateInfoObject m_gate_info;
|
|
|
|
Gtk::Label m_description;
|
|
Gtk::ScrolledWindow m_scroll_rules;
|
|
Gtk::ListBox m_rules;
|
|
Gtk::ButtonBox m_bbox;
|
|
|
|
Gtk::Button *m_ok_button;
|
|
};
|