aboutsummaryrefslogtreecommitdiff
path: root/include/InputDialog.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/InputDialog.hpp')
-rw-r--r--include/InputDialog.hpp6
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