Main Page | Class Hierarchy | Class List | File List | Class Members

utils.h

00001 00002 // Name: utils.h 00003 // Purpose: Miscellaneous utilities 00004 // Author: Alex Thuering 00005 // Created: 23.10.2003 00006 // RCS-ID: $Id: utils.h,v 1.3 2004/10/03 09:21:06 ntalex Exp $ 00007 // Copyright: (c) Alex Thuering 00008 // Licence: wxWindows licence 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

Generated on Mon Nov 19 21:06:44 2007 for wxVillaLib by doxygen 1.3.7