00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef SIDTUNETOOLS_H
00022 #define SIDTUNETOOLS_H
00023
00024 #include <string.h>
00025
00026 #include "SidTuneCfg.h"
00027
00028 #ifdef HAVE_CONFIG_H
00029 # include "config.h"
00030 #endif
00031
00032 #ifdef HAVE_STRCASECMP
00033 # define MYSTRICMP strcasecmp
00034 #else
00035 # define MYSTRICMP stricmp
00036 #endif
00037
00038 #ifdef HAVE_STRNCASECMP
00039 # define MYSTRNICMP strncasecmp
00040 #else
00041 # define MYSTRNICMP strnicmp
00042 #endif
00043
00044 class SidTuneTools
00045 {
00046 public:
00048 static size_t fileNameWithoutPath(const char* s);
00049
00054 static size_t slashedFileNameWithoutPath(const char* s);
00055
00060 static const char* fileExtOfPath(const char* s);
00061 };
00062
00063 #endif