summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_udp/ftnoir_tracker_udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_udp/ftnoir_tracker_udp.h')
-rw-r--r--ftnoir_tracker_udp/ftnoir_tracker_udp.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/ftnoir_tracker_udp/ftnoir_tracker_udp.h b/ftnoir_tracker_udp/ftnoir_tracker_udp.h
index a6f2e6d3..1ec63866 100644
--- a/ftnoir_tracker_udp/ftnoir_tracker_udp.h
+++ b/ftnoir_tracker_udp/ftnoir_tracker_udp.h
@@ -21,8 +21,8 @@ class FTNoIR_Tracker : public ITracker, protected QThread
public:
FTNoIR_Tracker();
~FTNoIR_Tracker();
- void StartTracker(QFrame *);
- void GetHeadPoseData(double *data);
+ void start_tracker(QFrame *);
+ void data(double *data);
protected:
void run() override;
private:
@@ -33,13 +33,13 @@ private:
volatile bool should_quit;
};
-class TrackerControls: public QWidget, public ITrackerDialog
+class TrackerControls: public ITrackerDialog
{
Q_OBJECT
public:
TrackerControls();
- void registerTracker(ITracker *) {}
- void unRegisterTracker() {}
+ void register_tracker(ITracker *) {}
+ void unregister_tracker() {}
private:
Ui::UICFTNClientControls ui;
settings s;
@@ -51,8 +51,6 @@ private slots:
class FTNoIR_TrackerDll : public Metadata
{
public:
- void getFullName(QString *strToBeFilled);
- void getShortName(QString *strToBeFilled);
- void getDescription(QString *strToBeFilled);
- void getIcon(QIcon *icon);
+ QString name() { return QString("UDP sender"); }
+ QIcon icon() { return QIcon(":/images/facetracknoir.png"); }
};