summaryrefslogtreecommitdiffhomepage
path: root/opentrack-api/opentrack-guts.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-30 17:22:02 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-30 17:22:34 +0100
commit2af0ddbcf5cf32e4f6e8e1e3993a1aca0c409c90 (patch)
treeb32c4bfbfdeafcdcad72e383edbb04b8f8ada797 /opentrack-api/opentrack-guts.h
parentea2660dd167a853e704f167410037da162eccc6f (diff)
add initial, untested opentrack-api.dll
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'opentrack-api/opentrack-guts.h')
-rw-r--r--opentrack-api/opentrack-guts.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/opentrack-api/opentrack-guts.h b/opentrack-api/opentrack-guts.h
new file mode 100644
index 00000000..1061d75d
--- /dev/null
+++ b/opentrack-api/opentrack-guts.h
@@ -0,0 +1,40 @@
+#pragma once
+
+#include "ftnoir_tracker_base/ftnoir_tracker_base.h"
+#include "facetracknoir/global-settings.h"
+#include <QString>
+#include <QDir>
+#include <QList>
+#include <QStringList>
+#include <QDebug>
+#include <QIcon>
+#include <iostream>
+#include <cstring>
+
+typedef ITracker* opentrack_tracker;
+
+class opentrack_meta {
+public:
+ Metadata* meta;
+ QString path;
+ DynamicLibrary* lib;
+
+ opentrack_meta(Metadata* meta, QString& path, DynamicLibrary* lib) :
+ meta(meta), path(path), lib(lib)
+ {}
+ ~opentrack_meta()
+ {
+ delete meta;
+ delete lib;
+ }
+};
+
+typedef class opentrack_ctx {
+public:
+ QDir dir;
+ char** list;
+ QList<opentrack_meta> meta_list;
+ QFrame fake_frame;
+ opentrack_ctx(QDir& dir);
+ ~opentrack_ctx();
+} *opentrack;