summaryrefslogtreecommitdiffhomepage
path: root/proto-ft
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-04 19:15:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-04 19:48:11 +0100
commitb89699c7551f768bf4ff47820543f8c7b8c794af (patch)
treec3a21ec23a40250ec54b97fe17b9035a932cfaf8 /proto-ft
parent068e0c7d432ede0a388fe1478b5146fcf1809315 (diff)
modules: make names unique
Diffstat (limited to 'proto-ft')
-rw-r--r--proto-ft/ftnoir_protocol_ft.h8
-rw-r--r--proto-ft/mutex.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.h b/proto-ft/ftnoir_protocol_ft.h
index 546cb0e5..19bb39c3 100644
--- a/proto-ft/ftnoir_protocol_ft.h
+++ b/proto-ft/ftnoir_protocol_ft.h
@@ -40,11 +40,11 @@ struct settings : opts {
typedef void (__stdcall *importTIRViewsStart)(void);
typedef void (__stdcall *importTIRViewsStop)(void);
-class FTNoIR_Protocol : public IProtocol
+class freetrack : public IProtocol
{
public:
- FTNoIR_Protocol();
- ~FTNoIR_Protocol() override;
+ freetrack();
+ ~freetrack() override;
bool correct();
void pose( const double *headpose );
QString game_name() override {
@@ -90,7 +90,7 @@ private slots:
void doCancel();
};
-class FTNoIR_ProtocolDll : public Metadata
+class freetrackDll : public Metadata
{
public:
QString name() { return QString("freetrack 2.0 Enhanced"); }
diff --git a/proto-ft/mutex.cpp b/proto-ft/mutex.cpp
index 073c6f08..a012ba90 100644
--- a/proto-ft/mutex.cpp
+++ b/proto-ft/mutex.cpp
@@ -55,6 +55,6 @@ void check_for_first_run::try_exit()
if (is_first_instance && enabled)
{
qDebug() << "ft runonce: removing registry keys";
- FTNoIR_Protocol::set_protocols(false, false);
+ freetrack::set_protocols(false, false);
}
}