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-05-20 12:31:42 +0200
commit25f4e77c1344114c5c3d02e4ffa135a480d36eab (patch)
tree15ed70912962b906303fb91d97322c6a549d66ff /opentrack/main-window.hpp
parenta2595b5271424bb083fca4ebeda18b2a4f63f661 (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();