diff options
Diffstat (limited to 'opentrack-api/opentrack-guts.h')
-rw-r--r-- | opentrack-api/opentrack-guts.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/opentrack-api/opentrack-guts.h b/opentrack-api/opentrack-guts.h deleted file mode 100644 index c7134a6a..00000000 --- a/opentrack-api/opentrack-guts.h +++ /dev/null @@ -1,57 +0,0 @@ -#pragma once - -#include <QFrame> -#include <QDir> -#include <QList> -#include <QStringList> -#include <QDebug> -#include <QIcon> -#include <QShowEvent> -#include <iostream> -#include <cstring> -#include <QString> -#include <QApplication> -#include "ftnoir_tracker_base/ftnoir_tracker_base.h" -#include "facetracknoir/plugin-support.h" -#include <memory> - -typedef ITracker* opentrack_tracker; - -class opentrack_meta { -public: - QString path; - std::shared_ptr<DynamicLibrary> lib; - - opentrack_meta(QString& path, DynamicLibrary* lib) : - path(path), lib(lib) - {} -}; - -class MyFrame : public QFrame { - Q_OBJECT -public: - MyFrame(void* parent) - { - if (parent == (void*) -1) - { - show(); - setVisible(false); - hide(); - } - else - { - create((WId) parent); - } - } - explicit MyFrame() {} -}; - -typedef class opentrack_ctx { -public: - QApplication app; - char** list; - QList<opentrack_meta> meta_list; - MyFrame fake_frame; - opentrack_ctx(int argc, char** argv, void* window_parent); - ~opentrack_ctx(); -} *opentrack; |