diff options
Diffstat (limited to 'gui.h')
-rw-r--r-- | gui.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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); +} |