diff options
author | Stéphane Lenclud <github@lenclud.com> | 2019-01-31 10:32:17 +0100 |
---|---|---|
committer | Stéphane Lenclud <github@lenclud.com> | 2019-02-07 13:24:13 +0100 |
commit | a774441fde00f0ce6c8387339c786e9e2f42f088 (patch) | |
tree | 0877ab55801aee6b4de748dcbd1190a4922da41b /tracker-kinect-face/test.h | |
parent | b9d34a26d35d05f793161e54001329edb5122a81 (diff) |
Kinect: First draft.
Diffstat (limited to 'tracker-kinect-face/test.h')
-rw-r--r-- | tracker-kinect-face/test.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tracker-kinect-face/test.h b/tracker-kinect-face/test.h new file mode 100644 index 00000000..2e105ae3 --- /dev/null +++ b/tracker-kinect-face/test.h @@ -0,0 +1,28 @@ +#pragma once +#include "ui_test.h" +#include "compat/macros.hpp" +#include "api/plugin-api.hpp" + + +class test_dialog : public ITrackerDialog +{ + Q_OBJECT + + Ui::test_ui ui; +public: + test_dialog(); + void register_tracker(ITracker *) override {} + void unregister_tracker() override {} +private slots: + void doOK(); + void doCancel(); +}; + +class test_metadata : public Metadata +{ + Q_OBJECT + + QString name() { return tr("Kinect Face"); } + QIcon icon() { return QIcon(":/images/opentrack.png"); } +}; + |