summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FaceTrackNoIR.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2011-02-11 16:30:47 +0000
committerWim Vriend <facetracknoir@gmail.com>2011-02-11 16:30:47 +0000
commita8a619f078f543b56e8ae785d92844b806444195 (patch)
treedad2b77637d2e5aad0e592eefa8ff57a0a5b1557 /FaceTrackNoIR/FaceTrackNoIR.h
parent43420d828647b026a315c58db621202fc5a17403 (diff)
Some more work on the Client/Server protocol.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@50 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
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;