summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic/state.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-08 09:12:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-08 09:15:34 +0200
commit5cdbaa67c68e8c595ae1e1894eead76d465fe73c (patch)
tree8a7c28af407f89f92aface4bb5bf5c5061f71f26 /opentrack-logic/state.hpp
parenta22afeb52abddd1411992e64377d96110888f325 (diff)
gui, api: plugin-support needs to remain header-only
Move "opentrack_library_path" to the gui module.
Diffstat (limited to 'opentrack-logic/state.hpp')
-rw-r--r--opentrack-logic/state.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/opentrack-logic/state.hpp b/opentrack-logic/state.hpp
index 7e9d10cb..1c608f7a 100644
--- a/opentrack-logic/state.hpp
+++ b/opentrack-logic/state.hpp
@@ -8,7 +8,6 @@
#pragma once
-#include <vector>
#include "opentrack-compat/options.hpp"
using namespace options;
#include "opentrack/plugin-support.hpp"
@@ -16,10 +15,13 @@ using namespace options;
#include "mappings.hpp"
#include "selected-libraries.hpp"
#include "work.hpp"
+#include <vector>
+#include <QString>
struct State
{
- State() :
+ State(const QString& library_path) :
+ modules(library_path),
pose(std::vector<axis_opts*>{&s.a_x, &s.a_y, &s.a_z, &s.a_yaw, &s.a_pitch, &s.a_roll})
{}
Modules modules;