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

Sherpa.h

Go to the documentation of this file.
00001 
00002 // Name:        Sherpa.h
00003 // Purpose:     
00004 // Author:      Joe Yates
00005 // Modified by:
00006 // Created:     11/10/2004
00007 // RCS-ID:      $Id: Sherpa.h,v 1.1.1.1 2006/01/24 22:13:19 titusd Exp $
00008 // Copyright:   (c) BID Snc
00009 // License:     BSD license (see the file 'LICENSE.txt')
00011 
00012 #ifndef __Sherpa_h__
00013 #define __Sherpa_h__
00014 
00015 #include "wx/wxprec.h"
00016 
00017 #ifndef WX_PRECOMP
00018 # include "wx/wx.h"
00019 
00020 #if !wxUSE_THREADS
00021 # error wxUSE_THREADS is set to false. Thread support is required by this application
00022 #endif // wxUSE_THREADS
00023 
00024 #ifdef __WXMSW__
00025 
00026 # if _MSC_VER > 1000
00027 
00028 # ifdef _DEBUG
00029 #   include "crtdbg.h"
00030 #   define new                    new(_NORMAL_BLOCK, __FILE__, __LINE__)
00031 #   define malloc(x)              _malloc_dbg(x, _CLIENT_BLOCK, __FILE__, __LINE__)
00032 #   define free(x)                _free_dbg(x, _CLIENT_BLOCK)
00033 #   define realloc(x, y)          _realloc_dbg(x, y, _CLIENT_BLOCK, __FILE__, __LINE__)
00034 #   define calloc(x, y)           _calloc_dbg(x, y, _CLIENT_BLOCK, __FILE__, __LINE__)
00035 # endif // def _DEBUG
00036 # endif // _MSC_VER > 1000
00037 
00038 #endif // def __WXMSW__
00039 
00041 // Standard C library includes
00042 
00043 #include <errno.h>
00044 
00046 // STL includes
00047 
00048 #if _MSC_VER > 1000
00049 # pragma warning (disable : 4786) // identifier was truncated to '255' characters in the browser information
00050 #endif // _MSC_VER > 1000
00051 
00052 #include <algorithm> // Gives us 'sort'
00053 #include <vector>
00054 #include <map>
00055 
00057 // wxWidgets includes
00058 
00059 #include <wx/arrstr.h>
00060 #include <wx/config.h>
00061 #include <wx/dataobj.h>
00062 #include <wx/dir.h>
00063 #include <wx/dynarray.h>
00064 #include <wx/event.h>
00065 #include <wx/file.h>
00066 #include <wx/filename.h>
00067 #include <wx/image.h>
00068 #include <wx/imaglist.h>
00069 #include <wx/listctrl.h>
00070 #include <wx/log.h>
00071 #include <wx/notebook.h>
00072 #include <wx/regex.h>
00073 #include <wx/splitter.h>
00074 #include <wx/thread.h>
00075 #include <wx/treectrl.h>
00076 #include <wx/utils.h>
00077 
00079 // Sherpa classes
00080 
00081 #include <wx/fileutils.h>
00082 #include <wx/exception.h>
00083 #include <wx/filetypes.h>
00084 
00085 using namespace wx;
00086 
00088 // Global includes
00089 
00090 #include <Persona.h>
00091 #include <Undo.h>
00092 
00094 // Global defines
00095 
00096 #define APP_NAME                wxT("Sherpa")
00097 #define SHERPA_VERSION          wxT("0.6.0802")
00098 #define SHERPA_PROJECT          wxT("Sherpa Project")
00099 #define SETTINGS_DIRECTORY      wxT(".sherpa")
00100 #define CONFIG_FILE_NAME        wxT("Config.txt")
00101 
00102 #ifdef __UNIX__
00103 # define FILE_SYSTEM_ROOT       wxT("/")
00104 #else
00105 # define FILE_SYSTEM_ROOT       wxT("Windows")
00106 #endif // def __UNIX__
00107 
00108 #define CONFIG_SAVE_INITIAL_PATH  wxT("/Config/SaveInitialPath")
00109 
00110 // Trace masks
00111 #define SHERPAFRAME_EVENTS wxT("SHERPAFRAME_EVENTS")
00112 #define DIRECTORYTREE_EVENTS wxT("DIRECTORYTREE_EVENTS")
00113 #define DIRECTORYVIEW_EVENTS wxT("DIRECTORYVIEW_EVENTS")
00114 #endif
00115 
00116 #endif // ndef __Sherpa_h__

Generated on Wed Jan 25 08:14:45 2006 for Sherpa by doxygen 1.3.6