summaryrefslogtreecommitdiffhomepage
path: root/options/scoped.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-17 21:28:45 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-17 21:34:53 +0200
commitcb33be1c50b68d6022f344ddac923c7aac3a11d5 (patch)
tree1840e3f9829aa69f10f81804f655e97be3f2eca8 /options/scoped.hpp
parent41ba8aa5329c16a797140dc23650ef45f42753a3 (diff)
move options framework into its own library
- adjust usages - add support for QList signals and metatype
Diffstat (limited to 'options/scoped.hpp')
-rw-r--r--options/scoped.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/options/scoped.hpp b/options/scoped.hpp
new file mode 100644
index 00000000..52ae383d
--- /dev/null
+++ b/options/scoped.hpp
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "bundle.hpp"
+#include <QString>
+
+#include "export.hpp"
+
+namespace options {
+
+struct OPENTRACK_OPTIONS_EXPORT opts
+{
+ bundle b;
+ opts(const QString& name);
+ opts& operator=(const opts&) = delete;
+ opts(const opts&) = delete;
+ ~opts();
+};
+
+}