00001
00026 #define SL_NAMESPACE_BEGIN namespace segusoland {
00027
00031 #define SL_NAMESPACE_END }
00032
00036 #define SL_NAMESPACE_USING using namespace segusoland;
00037
00038
00039
00040
00041
00042
00043
00044
00050 #define SL_SHELL_PLUGINS_DIR "SL_PLUGINS_DIR"
00051
00052
00059 #define SL_PLUGIN_REGISTER(pluginInstance) \
00060 ::segusoland::registerer.registerPlugin(pluginInstance)
00061
00077 #define SL_FEATURE_GET(type) (SLPluginFeature::type *)::segusoland::registerer.getFeature(SLPluginFeature::Type::type)
00078
00084 #define SL_FEATURE_DISPOSE(feature) delete feature
00085
00104 #if defined(SL_DEBUG_LEVEL) && (SL_DEBUG_LEVEL > 0)
00105 # define SL_DEBUG1(msg) std::cerr << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << ": " << msg << std::endl
00106 #else
00107 # define SL_DEBUG1(msg)
00108 #endif
00109
00115 #if defined(SL_DEBUG_LEVEL) && (SL_DEBUG_LEVEL > 1)
00116 # define SL_DEBUG2(msg) std::cerr << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << ": " << msg << std::endl
00117 #else
00118 # define SL_DEBUG2(msg)
00119 #endif
00120
00125 #define SL_WARNING(msg) std::cerr << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << ": ***WARNING*** " << msg << std::endl;
00126
00130 #define SL_PATH_SEPARATOR_CHAR '/'
00131
00135 #define SL_PATH_SEPARATOR_STR "/"
00136
00147 #define SL_LOCALE_DEFAULT ""
00148
00154 #define SL_ENCODING_DEFAULT ""
00155
00179 #define SL_REENTRANT_CLASS
00180
00185 #define SL_REENTRANT_CLASS_LOCK
00186
00191 #define SL_REENTRANT_CLASS_UNLOCK
00192
00219 #define SL_REENTRANT_FUN(funName)
00220
00221
00223
00225
00226
00362
00363
00364
00365
00366
00367
00368
00369
00370
00371
00372
00373
00374
00375
00376
00377
00378