summaryrefslogtreecommitdiff
path: root/gui.h
blob: 9fa77d1fcf436015396c13fa537fdbde69e99641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
}