00001
00002
00003
00004
00005
00006
00007
00008
00010
00011 #ifndef WXVILLALIB_UTILS_H
00012 #define WXVILLALIB_UTILS_H
00013
00014 #include <wx/wx.h>
00015 #include <wx/log.h>
00016
00017 #if defined(DEBUG) || defined(__WXDEBUG__)
00018 #define wxLogTraceE(msg)\
00019 wxLogMessage(wxString(_T("%s:%d: trace: ")) + msg, __TFILE__, __LINE__)
00020 #else
00021 #define wxLogTraceE
00022 #endif
00023
00024 wxString wxGetAppPath();
00025 void wxSetAppPath(wxString value);
00026
00027 wxString wxFindDataDirectory(wxString dir);
00028 wxString wxFindDataFile(wxString filename);
00029
00030 #endif // WXVILLALIB_UTILS_H