summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_Base
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-09-14 11:03:56 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-09-14 11:03:56 +0000
commit8cf43795084986881edfa131e44ce9d1e6a38f6c (patch)
tree4397403dbc955b1e293a842e1aca1a698ca7ecae /FTNoIR_Tracker_Base
parentc3cb475db1012a7e652ee8e654970eba97f6e64e (diff)
registerTracker and unRegisterTracker methods added to TrackerControls (4 Patrick).
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@133 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_Base')
-rw-r--r--FTNoIR_Tracker_Base/ftnoir_tracker_base.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/FTNoIR_Tracker_Base/ftnoir_tracker_base.h b/FTNoIR_Tracker_Base/ftnoir_tracker_base.h
index 8bcc3f38..692ccd6c 100644
--- a/FTNoIR_Tracker_Base/ftnoir_tracker_base.h
+++ b/FTNoIR_Tracker_Base/ftnoir_tracker_base.h
@@ -49,10 +49,6 @@ struct ITracker
virtual void StopTracker(bool exit) = 0;
virtual bool GiveHeadPoseData(THeadPoseData *data) = 0;
- //virtual void getFullName(QString *strToBeFilled) = 0;
- //virtual void getShortName(QString *strToBeFilled) = 0;
- //virtual void getDescription(QString *strToBeFilled) = 0;
-
virtual bool notifyZeroed() {
return false;
}
@@ -86,13 +82,9 @@ GetTracker(
// Instances are obtained via factory function.
struct ITrackerDialog
{
-// virtual void Release() = 0; // Member required to enable Auto-remove
virtual void Initialize(QWidget *parent) = 0;
-
- //virtual void getFullName(QString *strToBeFilled) = 0;
- //virtual void getShortName(QString *strToBeFilled) = 0;
- //virtual void getDescription(QString *strToBeFilled) = 0;
- //virtual void getIcon(QIcon *icon) = 0;
+ virtual void registerTracker(ITracker *tracker) = 0;
+ virtual void unRegisterTracker() = 0;
};
// Handle type. In C++ language the iterface type is used.