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 
  110     #pragma warning( disable : 4251 ) 
  111     #pragma warning( disable : 4275 ) 
  112     #pragma warning( disable : 4290 ) 
  115   #ifdef TEPLUGINSTATIC 
  116     #define TEPLUGINEXPORT                          // Don't need to export/import... it is a static library 
  118     #define TEPLUGINEXPORT  __declspec(dllexport)   // export DLL information 
  120     #define TEPLUGINEXPORT  __declspec(dllimport)   // import DLL information 
  123   #define TEPLUGINEXPORT 
  128 #endif  // __TERRALIB_PLUGIN_INTERNAL_CONFIG_H