#pragma once #include #include #include #include #include #include #include #include #include #include #include #include "ftnoir_tracker_base/ftnoir_tracker_base.h" #include "facetracknoir/global-settings.h" #include typedef ITracker* opentrack_tracker; class opentrack_meta { public: QString path; std::shared_ptr 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); } else { create((WId) parent); } } explicit MyFrame() {} }; typedef class opentrack_ctx { public: QApplication app; char** list; QList meta_list; MyFrame fake_frame; opentrack_ctx(int argc, char** argv, void* window_parent); ~opentrack_ctx(); } *opentrack;