From 5cdbaa67c68e8c595ae1e1894eead76d465fe73c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 8 Jul 2016 09:12:29 +0200 Subject: gui, api: plugin-support needs to remain header-only Move "opentrack_library_path" to the gui module. --- opentrack-logic/state.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'opentrack-logic') 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 #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 +#include struct State { - State() : + State(const QString& library_path) : + modules(library_path), pose(std::vector{&s.a_x, &s.a_y, &s.a_z, &s.a_yaw, &s.a_pitch, &s.a_roll}) {} Modules modules; -- cgit v1.2.3