#include <plugintools.h>
Static Public Member Functions | |
static MAXON_METHOD Int32 | GetPluginId () |
static MAXON_FUNCTION maxon::ClassicCommandSettings | CreateCustomCommandSettings (const String &id, const String &name, const String &path) |
static MAXON_METHOD Result< void > | AddToPluginStart (Delegate< Result< void >()> d) |
static MAXON_METHOD Result< void > | AddToPluginMessage (Delegate< Result< void >(Int32 id, void *data)> d) |
static MAXON_METHOD Result< void > | AddToPluginEnd (Delegate< Result< void >()> d) |
static MAXON_METHOD Result< void > | ExecutePluginStart () |
static MAXON_METHOD Result< void > | ExecutePluginMessage (Int32 id, void *data) |
static MAXON_METHOD Result< void > | ExecutePluginEnd () |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (PluginToolsInterface, MAXON_REFERENCE_NONE, "net.sdktools.interfaces.plugintools") | |
|
private |
|
static |
Returns a plugin ID for classic API plugins. The ID value depends on previous calls to GetPluginId() so the value may be different every time.
|
static |
Utility function to create a new ClassicCommandSettings object for use with SDKDatabaseInterface::AddClassicCommand(). The plugin ID is automatically set. Added here so there is no coupling between inter.database and cinema.framework
[in] | id | ID of the command. |
[in] | name | Name of the command (GUI display). |
[in] | path | Menu path of the command (GUI display). |
|
static |
The given delegate is called on PluginStart().
[in] | d | Function delegate. |
|
static |
The given delegate is called for each message sent to PluginMessage().
[in] | d | Function delegate. |
|
static |
The given delegate is called on PluginEnd().
[in] | d | Function delegate. |
|
static |
Executes all delegates registered with AddToPluginStart()
|
static |
Executes all delegates registered with AddToPluginMessage().
|
static |
Executes all delegates registered with AddToPluginEnd().