Go to the documentation of this file.
   26 #ifndef __TERRALIB_PLUGIN_INTERNAL_CONFIG_H 
   27 #define __TERRALIB_PLUGIN_INTERNAL_CONFIG_H 
   30 #include "../Config.h" 
   42 #define TE_PLUGIN_MODULE_NAME "te.plugin" 
   49 #define PLUGIN_CALL_BACK_DECLARATION(PLUGIN_EXPORT_MACRO) \ 
   50                extern "C" PLUGIN_EXPORT_MACRO te::plugin::Plugin* CppPluginGetInstance(const te::plugin::PluginInfo& info); 
   57 #define PLUGIN_CALL_BACK_IMPL(PLUGIN_CLASS_NAME) \ 
   58                te::plugin::Plugin* CppPluginGetInstance(const te::plugin::PluginInfo& info) \ 
   60                  return new PLUGIN_CLASS_NAME(info); \ 
   68 #define TE_CPPPLUGINENGINE_CODE "C++" 
   75 #define TE_DEFAULT_PLUGINS_DIR "plugins" 
   82 #define TE_DEFAULT_PLUGIN_FILE_NAME "plugin_info.xml" 
   89 #define TE_AUTOMATICALLY_LOAD_DEFAULT_XML_PLUGIN 1 
  103 #define TE_PLUGIN_TEXT_DOMAIN "teplugin" 
  110 #define TE_PLUGIN_TEXT_DOMAIN_DIR "locale" 
  117 #define TR_PLUGIN(message) TR(message, TE_PLUGIN_TEXT_DOMAIN) 
  138     #pragma warning( disable : 4251 ) 
  139     #pragma warning( disable : 4275 ) 
  140     #pragma warning( disable : 4290 ) 
  143   #ifdef TEPLUGINSTATIC 
  144     #define TEPLUGINEXPORT                          // Don't need to export/import... it is a static library 
  146     #define TEPLUGINEXPORT  __declspec(dllexport)   // export DLL information 
  148     #define TEPLUGINEXPORT  __declspec(dllimport)   // import DLL information 
  151   #define TEPLUGINEXPORT 
  156 #endif  // __TERRALIB_PLUGIN_INTERNAL_CONFIG_H