aboutsummaryrefslogtreecommitdiff
path: root/include/InputDialog.hpp
blob: ae06de2b1f3501235aa59af98dfbeb07229be87b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <gtkmm/dialog.h>
#include <gtkmm/entry.h>
#include <vector>

namespace dchat
{
    class InputDialog : public Gtk::Dialog
    {
    public:
        InputDialog(const char *title, const std::vector<const char*> &texts, const char *acceptText = "Create", const char *cancelText = "Cancel");

        std::vector<Gtk::Entry*> entries;
    };
}