summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_sc/ftnoir_protocol_sc.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-27 12:48:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-27 12:48:22 +0200
commit1edb87b13a58cbb87cbf99ee30cc5ee7eb15003a (patch)
tree2a50a92f0b206fc5eee43830606cded1c6eed68f /ftnoir_protocol_sc/ftnoir_protocol_sc.h
parente70bef88fdb5ffdf1c2dcf99ac9e22181d18f5ac (diff)
Implement game name in the UI, lost previously due to refactoring.
Diffstat (limited to 'ftnoir_protocol_sc/ftnoir_protocol_sc.h')
-rw-r--r--ftnoir_protocol_sc/ftnoir_protocol_sc.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ftnoir_protocol_sc/ftnoir_protocol_sc.h b/ftnoir_protocol_sc/ftnoir_protocol_sc.h
index e9dcfbb2..f069aa9c 100644
--- a/ftnoir_protocol_sc/ftnoir_protocol_sc.h
+++ b/ftnoir_protocol_sc/ftnoir_protocol_sc.h
@@ -86,7 +86,9 @@ public:
void Initialize() {}
bool checkServerInstallationOK();
void sendHeadposeToGame( double *headpose, double *rawheadpose );
- void getNameFromGame( char *dest ); // Take care dest can handle up to 100 chars...
+ QString getGameName() {
+ return "FS2004/FSX";
+ }
private:
// Private properties
@@ -139,10 +141,10 @@ public:
void Initialize(QWidget *parent);
void registerProtocol(IProtocol *protocol) {
theProtocol = (FTNoIR_Protocol *) protocol; // Accept the pointer to the Protocol
- };
+ }
void unRegisterProtocol() {
theProtocol = NULL; // Reset the pointer
- };
+ }
private:
Ui::UICSCControls ui;