summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-17 12:56:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-17 12:56:39 +0200
commit49d6de31c4ba587d73fac8204cf92569bfaa7e6a (patch)
tree5db2ade0cfbc5847a24e54f7c078c4b7ab769375
parentd47b8311d249a8bbccad9afec5c8ced53f6bff1a (diff)
proto: Correct visibility
-rw-r--r--ftnoir_protocol_fg/ftnoir_protocol_fg.h6
-rw-r--r--ftnoir_protocol_mouse/ftnoir_protocol_mouse.h7
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.