diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-11-09 09:46:43 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-11-09 09:46:47 +0100 |
commit | 5fab9a3a2cf048330f687dda48c76c95a3a67d98 (patch) | |
tree | 1be0385ef62f5fbf0794d98a697e0ff11fe7a510 /include/InputDialog.hpp | |
parent | 118277121c8b1767a78f76d19c44aea496121b34 (diff) |
Add room joining
Diffstat (limited to 'include/InputDialog.hpp')
-rw-r--r-- | include/InputDialog.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/InputDialog.hpp b/include/InputDialog.hpp index 4b2b02a..ae06de2 100644 --- a/include/InputDialog.hpp +++ b/include/InputDialog.hpp @@ -2,15 +2,15 @@ #include <gtkmm/dialog.h> #include <gtkmm/entry.h> +#include <vector> namespace dchat { class InputDialog : public Gtk::Dialog { public: - InputDialog(const char *title, const char *text, const char *acceptText = "Create", const char *cancelText = "Cancel"); - Glib::ustring getInput() const; + InputDialog(const char *title, const std::vector<const char*> &texts, const char *acceptText = "Create", const char *cancelText = "Cancel"); - Gtk::Entry entry; + std::vector<Gtk::Entry*> entries; }; }
\ No newline at end of file |