From 49d6de31c4ba587d73fac8204cf92569bfaa7e6a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 17 Sep 2013 12:56:39 +0200 Subject: proto: Correct visibility --- ftnoir_protocol_fg/ftnoir_protocol_fg.h | 6 +++--- ftnoir_protocol_mouse/ftnoir_protocol_mouse.h | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ftnoir_protocol_fg/ftnoir_protocol_fg.h b/ftnoir_protocol_fg/ftnoir_protocol_fg.h index 5c2531be..40a83384 100644 --- a/ftnoir_protocol_fg/ftnoir_protocol_fg.h +++ b/ftnoir_protocol_fg/ftnoir_protocol_fg.h @@ -48,6 +48,9 @@ public: ~FTNoIR_Protocol(); bool checkServerInstallationOK(); void sendHeadposeToGame( double *headpose, double *rawheadpose ); + QString getGameName() { + return "FlightGear"; + } private: bool blnConnectionActive; @@ -61,9 +64,6 @@ private: QHostAddress destIP; // Destination IP-address int destPort; // Destination port-number void loadSettings(); - QString getGameName() { - return "FlightGear"; - } }; // Widget that has controls for FTNoIR protocol client-settings. diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h index b537fc4e..5aad9c01 100644 --- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h +++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h @@ -61,7 +61,9 @@ public: ~FTNoIR_Protocol(); bool checkServerInstallationOK(); void sendHeadposeToGame( double *headpose, double *rawheadpose ); - + QString getGameName() { + return "Mouse tracker"; + } private: HANDLE h; INPUT MouseStruct; @@ -70,9 +72,6 @@ private: FTN_AngleName Mouse_Y; FTN_AngleName Mouse_Wheel; void loadSettings(); - QString getGameName() { - return "Mouse tracker"; - } }; // Widget that has controls for FTNoIR protocol client-settings. -- cgit v1.2.3