summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-window.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-05-20 12:25:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-06-05 14:44:25 +0200
commite9e7e17d798ad4c168183b3dfc5a85a2e2038175 (patch)
tree1abb4dab44e999dfb99908e00a6e1fd3f8ddfa86 /opentrack/main-window.hpp
parente523ad7584e4e71e393b18c6c8f020370d10e2d7 (diff)
opentrack: implement preset installation
Diffstat (limited to 'opentrack/main-window.hpp')
-rw-r--r--opentrack/main-window.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/opentrack/main-window.hpp b/opentrack/main-window.hpp
index 43440ff8..ddb6b725 100644
--- a/opentrack/main-window.hpp
+++ b/opentrack/main-window.hpp
@@ -118,13 +118,14 @@ public:
void restart_tracker_();
void toggle_tracker_();
- [[nodiscard]] bool maybe_create_profile(const QString& name);
+ [[nodiscard]] bool create_profile_from_preset(const QString& name);
void set_profile(const QString& new_name, bool migrate = true);
void set_profile_in_registry(const QString& profile);
void refresh_profile_list();
void die_on_profile_not_writable();
void maybe_start_profile_from_executable();
[[nodiscard]] static bool profile_name_from_dialog(QString& ret);
+ void copy_presets();
void create_empty_profile();
void create_copied_profile();