diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-27 12:50:23 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-27 12:50:23 +0200 |
commit | 5c957f7e819a776dcf9a2a3790c88a9ab20dab9f (patch) | |
tree | 17aa85b8a7d261d204c092be0709947841b6810b | |
parent | 1edb87b13a58cbb87cbf99ee30cc5ee7eb15003a (diff) |
Add missing header in Wine protocol
-rw-r--r-- | ftnoir_protocol_wine/ftnoir_protocol_wine.cpp | 9 | ||||
-rw-r--r-- | ftnoir_protocol_wine/ftnoir_protocol_wine.h | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/ftnoir_protocol_wine/ftnoir_protocol_wine.cpp b/ftnoir_protocol_wine/ftnoir_protocol_wine.cpp index 27b36c33..9169d5cc 100644 --- a/ftnoir_protocol_wine/ftnoir_protocol_wine.cpp +++ b/ftnoir_protocol_wine/ftnoir_protocol_wine.cpp @@ -98,15 +98,6 @@ bool FTNoIR_Protocol::checkServerInstallationOK() return lck_shm.mem != (void*)-1; } -// -// Return a name, if present the name from the Game, that is connected... -// -void FTNoIR_Protocol::getNameFromGame( char *dest ) -{ - sprintf(dest, "Wine glue"); -} - - //////////////////////////////////////////////////////////////////////////////// // Factory function that creates instances if the Protocol object. diff --git a/ftnoir_protocol_wine/ftnoir_protocol_wine.h b/ftnoir_protocol_wine/ftnoir_protocol_wine.h index d9c37e27..0c20d3e1 100644 --- a/ftnoir_protocol_wine/ftnoir_protocol_wine.h +++ b/ftnoir_protocol_wine/ftnoir_protocol_wine.h @@ -37,6 +37,7 @@ #include <QLibrary> #include <QProcess> #include <QDebug> +#include <QMutex> #include <QMutexLocker> #include <QFile> #include "facetracknoir/global-settings.h" @@ -53,7 +54,6 @@ public: bool checkServerInstallationOK(); void sendHeadposeToGame(double* headpose, double* rawheadpose ); - void getNameFromGame( char *dest ); // Take care dest can handle up to 100 chars... private: PortableLockedShm lck_shm; |