IHYCrossPlatformModule
Overview
The IHYCrossPlatformModule interface defines the cross platform module. This interface is used by the managed hosts to interact with unmanamged plugins.
This interface is implemented by the THYModuleController class that provides all the necessary methods for cross platform interaction between unmanaged modules and managed hosts.
Location
- Unit: Hydra.Core.Interfaces.pas
- Ancestry: IHYCrossPlatformInterface | IHYCrossPlatformModule
Properties
PluginCount
Returns the number of plugins in the current module.
property PluginCount: Integer read
Required Methods
CreateInstance safecall
Creates a new instance of the plugin whose name is specified by the aPluginName
parameter.
function CreateInstance(const aPluginName: WideString): IHYCrossPlatformPlugin
Parameters:
- aPluginName: Name of the plugin
get_Plugin safecall
Returns the reference to a plugin descriptor with specified index.
function get_Plugin(aIndex: Integer): IHYCrossPlatformPluginDescriptor
Parameters:
- aIndex: Index of the plugin.
GetModuleController safecall
Returns the interface of the current module controller.
function GetModuleController: IHYCrossPlatformModuleController
- Cross Platform Plugins with Hydra
- IHYCrossPlatformModuleController
-
IHYCrossPlatformModule Interface
- .NET
- Delphi