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_SC | |
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_SC')
-rw-r--r-- | FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h | 9 | ||||
-rw-r--r-- | FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.vcproj | 46 | ||||
-rw-r--r-- | FTNoIR_Protocol_SC/Protocol.qrc | 5 | ||||
-rw-r--r-- | FTNoIR_Protocol_SC/images/FSX.ico | bin | 0 -> 87910 bytes |
4 files changed, 60 insertions, 0 deletions
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();
diff --git a/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.vcproj b/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.vcproj index 141f3266..c37c64e1 100644 --- a/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.vcproj +++ b/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.vcproj @@ -251,6 +251,32 @@ UniqueIdentifier="{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}"
ParseFiles="false"
>
+ <File
+ RelativePath=".\Protocol.qrc"
+ >
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Rcc'ing $(InputFileName)..."
+ CommandLine=""$(QTDIR)\bin\rcc.exe" -name "$(InputName)" -no-compress "$(InputPath)" -o .\GeneratedFiles\qrc_$(InputName).cpp
"
+ AdditionalDependencies="$(InputPath);.\images\PPJoy.ico"
+ Outputs=".\GeneratedFiles\qrc_$(InputName).cpp"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Rcc'ing $(InputFileName)..."
+ CommandLine=""$(QTDIR)\bin\rcc.exe" -name "$(InputName)" -no-compress "$(InputPath)" -o .\GeneratedFiles\qrc_$(InputName).cpp
"
+ AdditionalDependencies="$(InputPath);.\images\PPJoy.ico"
+ Outputs=".\GeneratedFiles\qrc_$(InputName).cpp"
+ />
+ </FileConfiguration>
+ </File>
</Filter>
<Filter
Name="Generated Files"
@@ -259,6 +285,26 @@ SourceControlFiles="false"
>
<File
+ RelativePath=".\generatedfiles\qrc_Protocol.cpp"
+ >
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="0"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="0"
+ />
+ </FileConfiguration>
+ </File>
+ <File
RelativePath=".\GeneratedFiles\ui_FTNoIR_SCcontrols.h"
>
</File>
diff --git a/FTNoIR_Protocol_SC/Protocol.qrc b/FTNoIR_Protocol_SC/Protocol.qrc new file mode 100644 index 00000000..de6018af --- /dev/null +++ b/FTNoIR_Protocol_SC/Protocol.qrc @@ -0,0 +1,5 @@ +<RCC> + <qresource prefix="/"> + <file>images/FSX.ico</file> + </qresource> +</RCC> diff --git a/FTNoIR_Protocol_SC/images/FSX.ico b/FTNoIR_Protocol_SC/images/FSX.ico Binary files differnew file mode 100644 index 00000000..1c71d409 --- /dev/null +++ b/FTNoIR_Protocol_SC/images/FSX.ico |