summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FaceTrackNoIR.h
diff options
context:
space:
mode:
Diffstat (limited to 'FaceTrackNoIR/FaceTrackNoIR.h')
-rw-r--r--FaceTrackNoIR/FaceTrackNoIR.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/FaceTrackNoIR/FaceTrackNoIR.h b/FaceTrackNoIR/FaceTrackNoIR.h
index af0df504..0498770a 100644
--- a/FaceTrackNoIR/FaceTrackNoIR.h
+++ b/FaceTrackNoIR/FaceTrackNoIR.h
@@ -39,6 +39,17 @@
#include "ui_FTNoIR_KeyboardShortcuts.h"
#include "ui_FTNoIR_Preferences.h"
#include "ui_FTNoIR_Curves.h"
+
+#include "FTNoIR_Tracker_UDP.h"
+#include "AutoClosePtr.h"
+
+// 1a. COM-Like usage with smart pointer.
+// No need to call `ITracker::Release'; the instance will
+// be released automatically in destructor of the smart pointer.
+typedef AutoClosePtr<ITrackerDialog, void, &ITrackerDialog::Release> ITrackerDialogPtr;
+typedef ITrackerDialog *(WINAPI *importGetTrackerDialog)(void);
+
+
#include <sm_api_qt.h>
#include <Dshow.h>
@@ -67,6 +78,8 @@ private:
QTimer *timMinimizeFTN;
QStringList iniFileList; // List of INI-files, that are present in the Settings folder
+ ITrackerDialogPtr pTrackerDialog; // Pointer to Tracker dialog instance (in DLL)
+
/** face api variables **/
VideoDisplayWidget *_display;
QVBoxLayout *l;