00001 /*! \file wx/general/generaldef.h 00002 \brief the settings used by all other include files are stored here. 00003 \author Francesco Montorsi 00004 \date 12/6/2005 00005 00006 Copyright: 2005 (c) Francesco Montorsi 00007 00008 License: wxWidgets License 00009 00010 RCS-ID: $Id: generaldef.h,v 1.14 2008/09/08 20:03:18 titato Exp $ 00011 */ 00012 00013 #ifndef __GENERALDEF__ 00014 #define __GENERALDEF__ 00015 00016 #include "docviewprivate.h" 00017 00018 #ifdef A2DGENERALMAKINGDLL 00019 #define A2DGENERALDLLEXP WXEXPORT 00020 #define A2DGENERALDLLEXP_DATA(type) WXEXPORT type 00021 #define A2DGENERALDLLEXP_CTORFN 00022 #elif defined(WXDOCVIEW_USINGDLL) 00023 #define A2DGENERALDLLEXP WXIMPORT 00024 #define A2DGENERALDLLEXP_DATA(type) WXIMPORT type 00025 #define A2DGENERALDLLEXP_CTORFN 00026 #else // not making nor using DLL 00027 #define A2DGENERALDLLEXP 00028 #define A2DGENERALDLLEXP_DATA(type) type 00029 #define A2DGENERALDLLEXP_CTORFN 00030 #endif 00031 00032 #if defined(__VISUALC__) && (_MSC_VER >= 1300) 00033 #define CLASS_MEM_MANAGEMENT 1 00034 #endif // VC++ >= 7 00035 00036 #undef CLASS_MEM_MANAGEMENT 00037 00038 // compiler-dependent warning shut down 00039 #if defined(__VISUALC__) 00040 // warning C4100: 'editmode' : unreferenced formal parameter 00041 //#pragma warning (disable : 4100) // not necessary anymore thanks to Kevin 00042 00043 #pragma warning (disable : 4786) // identifier was truncated to '255' characters in the debug information 00044 #pragma warning (disable : 4284) 00045 #pragma warning (disable : 4018) 00046 //something with unicode characters in files 00047 #pragma warning (disable : 4819) 00048 #endif 00049 00050 /*! 00051 \defgroup general base classes used for many others 00052 */ 00053 00054 /*! 00055 \defgroup property a2dPropObject holds property objects 00056 00057 Properties can be added to a2dPropObject's. There is large range of properties, wrapping types available in wxWidgets 00058 and wxDocview. 00059 00060 \ingroup general 00061 */ 00062 00063 /*! 00064 \defgroup commands commands used in command processor 00065 00066 The a2dCommandProcessor has commands submitted to it. 00067 */ 00068 00069 /*! 00070 \defgroup commandid id used for submitting commands to a a2dCommandProcessor 00071 00072 The a2dCommandProcessor can recieve commands by a2dCommandId, which is unique per command. 00073 Submitting a command, calls a function inside the command processor. 00074 00075 \ingroup commands 00076 00077 */ 00078 00079 00080 /*! 00081 \defgroup events events in the wxDocview library 00082 */ 00083 00084 /*! 00085 \defgroup eventid id of events 00086 00087 \ingroup events 00088 */ 00089 00090 /*! 00091 \defgroup eventhandlers handlers for event types in static event tables 00092 00093 \ingroup events 00094 */ 00095 00096 /*! 00097 \defgroup eventmanager Event Manager 00098 00099 \ingroup events 00100 */ 00101 00102 /*! 00103 \defgroup canvasobject a2dCanvasObject related objects 00104 */ 00105 00106 /*! 00107 \defgroup drawer classes used for drawing with a2dDrawer2D 00108 */ 00109 00110 /*! 00111 \defgroup tools Objects used for interactive manipulation. 00112 */ 00113 00114 /*! 00115 \defgroup style objects used for styling a2dCanvasObject's 00116 00117 */ 00118 00119 /*! 00120 \defgroup global general objects can be reached global 00121 */ 00122 00123 /*! 00124 \defgroup docalgo Algorithms on hierarchy in a2dDocument 00125 00126 Algorithms on hierarchy in a2dDocument, using a2dWalkerIOHandler as base. 00127 */ 00128 00129 /*! 00130 \defgroup fileio File IO 00131 00132 \ingroup docalgo 00133 */ 00134 00135 /*! 00136 \defgroup gdsfileio GDSII format File IO 00137 00138 GDSII is a binary format used in the chip industry 00139 00140 \ingroup fileio 00141 */ 00142 00143 /*! 00144 \defgroup cvgfileio CVG File IO 00145 00146 CVG is an XML format used as the main format for wxDocview. 00147 00148 \ingroup fileio 00149 */ 00150 00151 /*! 00152 \defgroup svgfileio SVG File IO 00153 00154 SVG is an XML format. 00155 00156 \ingroup fileio 00157 */ 00158 00159 /*! 00160 \defgroup meta complex canvasobject's 00161 */ 00162 00163 /*! 00164 \defgroup curve complex canvasobject's for drawing sets of curves 00165 */ 00166 00167 /*! 00168 \defgroup menus templates to call commands 00169 00170 a2dmenuItemId templates to call commands 00171 */ 00172 00173 /*! 00174 \defgroup errorcodes id for error messages 00175 00176 const a2dError id's for error messages 00177 */ 00178 00179 #endif // __GENERALDEF__