From 3c7b85d8355c64dec5b4ce011753196d53774103 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 11 Jan 2025 10:36:20 +0100 Subject: Added PIDFile --- config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h') 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; -- cgit v1.2.3