summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 062989d..2262223 100644
--- a/config.h
+++ b/config.h
@@ -20,6 +20,7 @@ const int click_latency_frames = 10000;
const int default_mode = 0; // 0 = note, 1 = clock, 2 = internal
const int default_output = 1; // 0 = off, 1 = on
extern std::filesystem::path click_data_filename;
+extern const std::string programname;
class Config
{
@@ -56,6 +57,8 @@ public:
std::filesystem::path get_click_data_filename() const;
+ std::string get_programname() const;
+
private:
std::string get_config_filename() const;