Go to the documentation of this file.
   26 #ifndef __TERRALIB_PLUGIN_INTERNAL_CONFIG_H 
   27 #define __TERRALIB_PLUGIN_INTERNAL_CONFIG_H 
   39 #define TE_PLUGIN_MODULE_NAME "te.plugin" 
   46 #define PLUGIN_CALL_BACK_DECLARATION(PLUGIN_EXPORT_MACRO) \ 
   47                extern "C" PLUGIN_EXPORT_MACRO te::plugin::Plugin* CppPluginGetInstance(const te::plugin::PluginInfo& info); 
   54 #define PLUGIN_CALL_BACK_IMPL(PLUGIN_CLASS_NAME) \ 
   55                te::plugin::Plugin* CppPluginGetInstance(const te::plugin::PluginInfo& info) \ 
   57                  return new PLUGIN_CLASS_NAME(info); \ 
   65 #define TE_CPPPLUGINENGINE_CODE "C++" 
   72 #define TE_DEFAULT_PLUGINS_DIR "share/terralib/plugins" 
   79 #define TE_DEFAULT_PLUGIN_EXTENSION ".teplg" 
   86 #define TE_AUTOMATICALLY_LOAD_DEFAULT_XML_PLUGIN 1 
  107     #pragma warning( disable : 4251 ) 
  108     #pragma warning( disable : 4275 ) 
  109     #pragma warning( disable : 4290 ) 
  112   #ifdef TEPLUGINSTATIC 
  113     #define TEPLUGINEXPORT                          // Don't need to export/import... it is a static library 
  115     #define TEPLUGINEXPORT  __declspec(dllexport)   // export DLL information 
  117     #define TEPLUGINEXPORT  __declspec(dllimport)   // import DLL information 
  120   #define TEPLUGINEXPORT 
  125 #endif  // __TERRALIB_PLUGIN_INTERNAL_CONFIG_H