summaryrefslogtreecommitdiffhomepage
path: root/opentrack-api/opentrack-guts.h
diff options
context:
space:
mode:
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;