From 289ee4f5352edab1fa31311ef6a800e7d9998acd Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Fri, 27 Apr 2012 09:50:19 +0000 Subject: 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 --- FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h') diff --git a/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h b/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h index 1b98fab4..33e08838 100644 --- a/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h +++ b/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h @@ -90,6 +90,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("FSX SimConnect"); }; + void getShortName(QString *strToBeFilled) { *strToBeFilled = QString("SimConnect"); }; + void getDescription(QString *strToBeFilled) { *strToBeFilled = QString("Microsoft SimConnect protocol"); }; + private: // Private properties QString ProgramName; @@ -140,6 +144,11 @@ public: void Release(); // Member functions which are accessible from outside the DLL void Initialize(QWidget *parent); + void getFullName(QString *strToBeFilled) { *strToBeFilled = QString("FSX SimConnect"); }; + void getShortName(QString *strToBeFilled) { *strToBeFilled = QString("SimConnect"); }; + void getDescription(QString *strToBeFilled) { *strToBeFilled = QString("Microsoft SimConnect protocol"); }; + void getIcon(QIcon *icon) { *icon = QIcon(":/images/FSX.ico"); }; + private: Ui::UICSCControls ui; void loadSettings(); -- cgit v1.2.3