Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
hdicoreMain.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_MAIN__
8 #define __HDI_CORE_MAIN__
9 
10 #include "hdicoreTypes.h"
11 
12 namespace hdi
13 {
14  namespace core
15  {
16  class Plugin;
17 
36  extern bool pluginSetup(Plugin* const plugin_);
37 
50  extern void pluginDestroy(Plugin* const plugin_);
51  }
52 }
53 
54 #if defined(MAC_ENV)
55  #define __HDI_CORE_EXPORT __attribute__((visibility ("default")))
56 #elif defined(WIN_ENV)
57  #define __HDI_CORE_EXPORT __declspec(dllexport)
58 #endif
59 
66 extern "C" __HDI_CORE_EXPORT __MainError PluginMain(const char* caller_, const char* selector_, void* data_);
67 
68 #endif
69 // __HDI_CORE_MAIN__
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
__HDI_CORE_EXPORT __MainError PluginMain(const char *caller_, const char *selector_, void *data_)
Main entry point for all plugins (required by Illustrator). This is called whenever a plugin should p...
Definition: hdicoreaiArray.h:12