diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-02 22:41:47 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-02 22:41:47 +0200 |
commit | 7be216d351b4b09e01ef2ce0cf8b0ab94f801713 (patch) | |
tree | a884c6139edb568aa9160730774e22c59b0e156d /ftnoir_protocol_ft | |
parent | fe98f357299d321feac176286b54cfd757eaa201 (diff) |
static const char* -> #define
Diffstat (limited to 'ftnoir_protocol_ft')
-rw-r--r-- | ftnoir_protocol_ft/fttypes.h | 11 |
1 files changed, 5 insertions, 6 deletions
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; |