summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-23 20:04:03 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-23 20:04:03 +0200
commita0f472795e19c40fb6fe8d8bb8addc218a5e823d (patch)
tree478257304c6171966e076d8b79f1c726f85db819
parent95be9ebf061e1474ec9a4dd919a99ad16916020e (diff)
proto/wine: remove obsolete `otr_tr'
cf. https://github.com/opentrack/opentrack/issues/726#issuecomment-391422146
-rw-r--r--proto-wine/ftnoir_protocol_wine.cpp2
-rw-r--r--proto-wine/ftnoir_protocol_wine.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.cpp b/proto-wine/ftnoir_protocol_wine.cpp
index 42fb4896..7d415555 100644
--- a/proto-wine/ftnoir_protocol_wine.cpp
+++ b/proto-wine/ftnoir_protocol_wine.cpp
@@ -60,7 +60,7 @@ module_status wine::initialize()
if (lck_shm.success())
return status_ok();
else
- return error(otr_tr("Can't open shared memory mapping"));
+ return error(tr("Can't open shared memory mapping"));
}
OPENTRACK_DECLARE_PROTOCOL(wine, FTControls, wineDll)
diff --git a/proto-wine/ftnoir_protocol_wine.h b/proto-wine/ftnoir_protocol_wine.h
index 155428bb..04bcd349 100644
--- a/proto-wine/ftnoir_protocol_wine.h
+++ b/proto-wine/ftnoir_protocol_wine.h
@@ -11,8 +11,9 @@
#include "api/plugin-api.hpp"
#include "compat/shm.h"
#include "wine-shm.h"
+#include "compat/tr.hpp"
-class wine : public IProtocol
+class wine : TR, public IProtocol
{
public:
wine();