summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-03-31 05:52:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-03-31 05:52:43 +0200
commit6722803ee7e8c34649a351df0ea069ab4065de3a (patch)
treeaaaf13343e087225a6b38982e498c7d50d55f3e9 /ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.h
parentf11305e6d89661f6a8552ff344358d93d09dd4ab (diff)
hatire: minor opentrack API usage updates
Diffstat (limited to 'ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.h')
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.h b/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.h
index 66d29462..cb5e84b5 100644
--- a/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.h
+++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.h
@@ -2,7 +2,7 @@
#define FTNOIR_TRACKER_HAT_DIALOG_H
#ifdef OPENTRACK_API
-#include "ftnoir_tracker_base/ftnoir_tracker_base.h"
+#include "opentrack/plugin-api.hpp"
#else
#include "..\ftnoir_tracker_base\ftnoir_tracker_base.h"
#endif
@@ -17,16 +17,20 @@
#include <QMetaType>
// Widget that has controls for FTNoIR protocol client-settings.
+#ifdef OPENTRACK_API
+class TrackerControls: public ITrackerDialog
+#else
class TrackerControls: public QWidget, public ITrackerDialog
+#endif
{
Q_OBJECT
public:
explicit TrackerControls();
virtual ~TrackerControls();
#ifdef OPENTRACK_API
- void Initialize(QWidget *parent) ;
- void registerTracker(ITracker *tracker);
- void unRegisterTracker();
+ void Initialize(QWidget *parent) ; // unused
+ void register_tracker(ITracker *tracker);
+ void unregister_tracker();
#else
void Initialize(QWidget *parent) ;
void registerTracker(ITracker *tracker) ;