From 7be216d351b4b09e01ef2ce0cf8b0ab94f801713 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 2 Apr 2013 22:41:47 +0200 Subject: static const char* -> #define --- ftnoir_protocol_ft/fttypes.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ftnoir_protocol_ft') diff --git a/ftnoir_protocol_ft/fttypes.h b/ftnoir_protocol_ft/fttypes.h index 4a3be010..7562a8bb 100644 --- a/ftnoir_protocol_ft/fttypes.h +++ b/ftnoir_protocol_ft/fttypes.h @@ -40,12 +40,11 @@ //#include "Registry.h" // static const char* FT_CLIENT_LOCATION = "Software\\Freetrack\\FreetrackClient"; - static const char* FT_CLIENT_FILENAME = "FreeTrackClient.Dll"; - static const char* FT_MM_DATA = "FT_SharedMem"; - static const char* FREETRACK = "Freetrack"; - static const char* FREETRACK_MUTEX = "FT_Mutext"; - static const char* FT_PROGRAMID = "FT_ProgramID"; - +#define FT_CLIENT_FILENAME "FreeTrackClient.Dll" +#define FT_MM_DATA "FT_SharedMem" +#define FREETRACK "Freetrack" +#define FREETRACK_MUTEX "FT_Mutext" +#define FT_PROGRAMID "FT_ProgramID" struct TFreeTrackData { int DataID; -- cgit v1.2.3