summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-11 10:36:20 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-11 10:36:20 +0100
commit3c7b85d8355c64dec5b4ce011753196d53774103 (patch)
treeb350ef977987dd5e4155ae71d2c836a762225d56 /config.h
parentaa210ed8a27387882fc7fd0dcd7cf961a9adc88f (diff)
Added PIDFile
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;