diff options
Diffstat (limited to 'FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h')
-rw-r--r-- | FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h b/FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h index 7478f405..951a2fa8 100644 --- a/FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h +++ b/FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h @@ -56,13 +56,9 @@ public: void Initialize();
bool checkServerInstallationOK( HANDLE handle );
- void sendHeadposeToGame( THeadPoseData *headpose );
+ void sendHeadposeToGame( THeadPoseData *headpose, THeadPoseData *rawheadpose );
void getNameFromGame( char *dest ); // Take care dest can handle up to 100 chars...
- void getFullName(QString *strToBeFilled) { *strToBeFilled = QString("fake TrackIR"); };
- void getShortName(QString *strToBeFilled) { *strToBeFilled = QString("FTIR"); };
- void getDescription(QString *strToBeFilled) { *strToBeFilled = QString("TrackIR V4 protocol"); };
-
private:
bool FTIRCreateMapping(HANDLE handle);
void FTIRDestroyMapping();
@@ -102,11 +98,6 @@ public: void Release(); // Member functions which are accessible from outside the DLL
void Initialize(QWidget *parent);
- void getFullName(QString *strToBeFilled) { *strToBeFilled = QString("fake TrackIR"); };
- void getShortName(QString *strToBeFilled) { *strToBeFilled = QString("FTIR"); };
- void getDescription(QString *strToBeFilled) { *strToBeFilled = QString("TrackIR V4 protocol"); };
- void getIcon(QIcon *icon) { *icon = QIcon(":/images/TrackIR.ico"); };
-
private:
Ui::UICFTIRControls ui;
void loadSettings();
@@ -122,5 +113,21 @@ private slots: void settingChanged() { settingsDirty = true; };
};
+//*******************************************************************************************************
+// FaceTrackNoIR Protocol DLL. Functions used to get general info on the Protocol
+//*******************************************************************************************************
+class FTNoIR_ProtocolDll : public IProtocolDll
+{
+public:
+ FTNoIR_ProtocolDll();
+ ~FTNoIR_ProtocolDll();
+
+ void getFullName(QString *strToBeFilled) { *strToBeFilled = QString("fake TrackIR"); };
+ void getShortName(QString *strToBeFilled) { *strToBeFilled = QString("FTIR"); };
+ void getDescription(QString *strToBeFilled) { *strToBeFilled = QString("TrackIR V4 protocol"); };
+
+ void getIcon(QIcon *icon) { *icon = QIcon(":/images/TrackIR.ico"); };
+};
+
#endif//INCLUDED_FTIRSERVER_H
//END
|