summaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui.h')
-rw-r--r--gui.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gui.h b/gui.h
new file mode 100644
index 0000000..9fa77d1
--- /dev/null
+++ b/gui.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <vector>
+#include <string>
+#include <optional>
+
+
+namespace gui {
+ // Show a dialog with the given message
+ void showNotification(const std::string &message);
+
+ // Request a line of text from the user
+ std::optional<std::string> promptText(const std::string &message);
+
+ // Let the user choose from a list of items
+ std::optional<std::string> chooseList(const std::string &message, const std::string &header, const std::vector<std::string> &options);
+}