summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Protocol_FTN
diff options
context:
space:
mode:
Diffstat (limited to 'FTNoIR_Protocol_FTN')
-rw-r--r--FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp8
-rw-r--r--FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp
index cbd568b0..70556835 100644
--- a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp
+++ b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp
@@ -172,6 +172,14 @@ bool FTNoIR_Protocol_FTN::checkServerInstallationOK( HANDLE handle )
return true;
}
+//
+// Return a name, if present the name from the Game, that is connected...
+//
+void FTNoIR_Protocol_FTN::getNameFromGame( char *dest )
+{
+ sprintf_s(dest, 99, "FaceTrackNoIR");
+ return;
+}
////////////////////////////////////////////////////////////////////////////////
// Factory function that creates instances if the Protocol object.
diff --git a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.h b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.h
index 22dfd748..5f8d6b10 100644
--- a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.h
+++ b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.h
@@ -50,6 +50,7 @@ public:
bool checkServerInstallationOK( HANDLE handle );
void sendHeadposeToGame( T6DOF *headpose );
+ void getNameFromGame( char *dest ); // Take care dest can handle up to 100 chars...
private:
THeadPoseData TestData;