summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-11-04 17:39:46 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-11-04 17:39:46 +0100
commit6cdd799006fb87f0ab7fd670c5812c60de29aab5 (patch)
tree1c640e0a9c9b2307cc3930100404874ca24923ed /opentrack
parent18ce3b38db5e33bdfb8726c2dacbb81161cf7b68 (diff)
move type alias around
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/options.hpp3
-rw-r--r--opentrack/plugin-support.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/opentrack/options.hpp b/opentrack/options.hpp
index 1d54e8b3..af2e94d0 100644
--- a/opentrack/options.hpp
+++ b/opentrack/options.hpp
@@ -32,6 +32,9 @@
#include <QDebug>
+#include <memory>
+template<typename t> using mem = std::shared_ptr<t>;
+
namespace options {
template<typename k, typename v>
using map = std::map<k, v>;
diff --git a/opentrack/plugin-support.h b/opentrack/plugin-support.h
index ad3f2af8..a2b6d403 100644
--- a/opentrack/plugin-support.h
+++ b/opentrack/plugin-support.h
@@ -1,6 +1,7 @@
#pragma once
#include "plugin-api.hpp"
+#include "options.hpp"
#include <QWidget>
#include <QDebug>
@@ -9,8 +10,6 @@
#include <QFrame>
#include <QList>
-#include <memory>
-template<typename t> using mem = std::shared_ptr<t>;
extern "C" typedef void* (*CTOR_FUNPTR)(void);
extern "C" typedef Metadata* (*METADATA_FUNPTR)(void);