From 010d82e9392bd2fb5cafe6fbae03c9cdc301a2f8 Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Sat, 4 Jun 2011 12:37:46 +0000 Subject: Eagle Dynamics API implemented, added some 'nice to haves'. git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@87 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.cpp') diff --git a/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.cpp b/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.cpp index 014e896f..3b2e982b 100644 --- a/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.cpp +++ b/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.cpp @@ -363,6 +363,14 @@ void CALLBACK FTNoIR_Protocol_SC::processNextSimconnectEvent(SIMCONNECT_RECV* pD } } +// +// Return a name, if present the name from the Game, that is connected... +// +void FTNoIR_Protocol_SC::getNameFromGame( char *dest ) +{ + sprintf_s(dest, 99, "FSX"); + return; +} //////////////////////////////////////////////////////////////////////////////// // Factory function that creates instances if the Protocol object. -- cgit v1.2.3