PluginProxy Implementation
Last updated at 4:32 am UTC on 24 September 2002
- PluginProxy implementation depends on:
- GenericPlugin
- GenericProxy
- MobVM plugins that have PluginProxy must implement (see, eg, 'SqM.c') :
- EXPORT(int) XNAME(createProxy)(struct SqPOP aProxy) ;
- struct ThisPluginProxy XNAME(getProxy)(void) (ThisPluginProxy is the type for this PluginProxy, eg, SqMOMProxy for SqMOMProxy) ;
- struct GenericPlugin XNAME(getGenericPlugin)(void) ;
- int XNAME(startupModule)(void) ;
- On top of the classical:
- EXPORT(const char*) getModuleName(void);
- EXPORT(int) initialiseModule(void);
- EXPORT(int) moduleUnloaded(char aModuleName);
- EXPORT(int) XNAME(shutdownModule)(void) ;
- EXPORT(int) setInterpreter(struct VirtualMachine anInterpreter);
- Not supported for newly created plugins that do not exist in the claasical VM.
- Still supported for the newly liberated plugins (exStuckins)