PluginContext

This struct is passed as the user data and passed to the exported methods in the shared library, as defined by the reloaded framework.

Most of the fields are initilised by the host platform; several however are initialised by the plugin platform.

Members

Variables

desc
PluginDescriptor* desc;

This part filled in by the plugin.

lookupService
void* delegate(ServiceReference) lookupService;
Undocumented in source.
lookupServiceReference
ServiceReference delegate(string typeId) lookupServiceReference;
Undocumented in source.
lookupServiceReferences
ServiceReference[] delegate(string typeId) lookupServiceReferences;
Undocumented in source.
platformAddServiceListener
void delegate(string[] typeId, void delegate(ServiceNotification), string[string]) shared platformAddServiceListener;
Undocumented in source.
platformCreateInstance
void* delegate(string id) shared platformCreateInstance;
Undocumented in source.
platformDestroyInstance
void delegate(void*) shared platformDestroyInstance;
Undocumented in source.
platformGetString
string delegate(string id) shared platformGetString;
Undocumented in source.
platformGetStrings
string[] delegate(string id) shared platformGetStrings;
Undocumented in source.
platformRemoveServiceListener
void delegate(void delegate(ServiceNotification)) shared platformRemoveServiceListener;
Undocumented in source.
platformSetString
void delegate(string id, string value) shared platformSetString;
Undocumented in source.
platformSetStrings
void delegate(string id, string[] value) shared platformSetStrings;
Undocumented in source.
pluginCreateInstance
void* delegate(string id) shared pluginCreateInstance;
pluginDestroyInstance
void delegate(void*) shared pluginDestroyInstance;

This part filled in by the plugin.

registerService
ServiceRegistration delegate(string[] typeId, void*) shared registerService;
Undocumented in source.
releaseServiceReference
void delegate(ServiceReference) releaseServiceReference;
Undocumented in source.
unregisterService
void delegate(ServiceRegistration reg) shared unregisterService;
Undocumented in source.

Meta