From a0f472795e19c40fb6fe8d8bb8addc218a5e823d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 23 May 2018 20:04:03 +0200 Subject: proto/wine: remove obsolete `otr_tr' cf. https://github.com/opentrack/opentrack/issues/726#issuecomment-391422146 --- proto-wine/ftnoir_protocol_wine.cpp | 2 +- proto-wine/ftnoir_protocol_wine.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'proto-wine') 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(); -- cgit v1.2.3