diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-23 12:48:54 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-23 12:48:54 +0200 |
commit | 95dff60bc8fe39541bea6ae43d2ef67ebf829822 (patch) | |
tree | 42a9fa5453eec4c7cd2d0e2230fd89fce75980d2 /ftnoir_protocol_ft/ftnoir_protocol_ft.h | |
parent | e5276c6a5d85895b648ff8f0a432d597143c2ca0 (diff) |
Less leaks, and actually use flags for dummy and tirviews
Diffstat (limited to 'ftnoir_protocol_ft/ftnoir_protocol_ft.h')
-rw-r--r-- | ftnoir_protocol_ft/ftnoir_protocol_ft.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.h b/ftnoir_protocol_ft/ftnoir_protocol_ft.h index 526a6aea..6524075a 100644 --- a/ftnoir_protocol_ft/ftnoir_protocol_ft.h +++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.h @@ -73,16 +73,19 @@ private: // Private properties
QString ProgramName;
QLibrary FTIRViewsLib;
- QProcess *dummyTrackIR;
+ QProcess dummyTrackIR;
int intGameID;
int intUsedInterface; // Determine which interface to use (or to hide from the game)
bool useTIRViews; // Needs to be in the Settings dialog
bool useDummyExe;
+ bool force_tirviews;
+ bool force_dummy;
float getRadsFromDegrees ( float degrees ) { return (degrees * 0.017453f); }
- void getGameData( QString gameID );
+ void getGameData(QString gameID , bool& tirviews, bool& dummy);
void loadSettings();
-
+ void start_tirviews();
+ void start_dummy();
};
// Widget that has controls for FTNoIR protocol client-settings.
|