summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic/state.hpp
diff options
context:
space:
mode:
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;