diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2012-04-27 09:50:19 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2012-04-27 09:50:19 +0000 |
commit | 289ee4f5352edab1fa31311ef6a800e7d9998acd (patch) | |
tree | b655579fbf7238ef1c9dda99d9b41298e54a2e75 /FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h | |
parent | 8c1c7aca57b2eb12cbc5766e62fcb1d18d5a7e6a (diff) |
Changed filling protocol Listbox to match the Filter and Tracker.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@109 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h')
-rw-r--r-- | FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h b/FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h index 70785fae..196a107a 100644 --- a/FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h +++ b/FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h @@ -68,6 +68,10 @@ public: void sendHeadposeToGame( T6DOF *headpose );
void getNameFromGame( char *dest ); // Take care dest can handle up to 100 chars...
+ void getFullName(QString *strToBeFilled) { *strToBeFilled = QString("FS2002/FS2004"); };
+ void getShortName(QString *strToBeFilled) { *strToBeFilled = QString("FSUIPC"); };
+ void getDescription(QString *strToBeFilled) { *strToBeFilled = QString("Microsoft FS2004 protocol"); };
+
private:
// Private properties
QString ProgramName;
@@ -92,6 +96,11 @@ public: void Release(); // Member functions which are accessible from outside the DLL
void Initialize(QWidget *parent);
+ void getFullName(QString *strToBeFilled) { *strToBeFilled = QString("FS2002/FS2004"); };
+ void getShortName(QString *strToBeFilled) { *strToBeFilled = QString("FSUIPC"); };
+ void getDescription(QString *strToBeFilled) { *strToBeFilled = QString("Microsoft FS2004 protocol"); };
+ void getIcon(QIcon *icon) { *icon = QIcon(":/images/FS9.ico"); };
+
private:
Ui::UICFSUIPCControls ui;
void loadSettings();
|