![]() |
Murl Engine API
Version 2018.3
|
The add-on registry interface. More...
#include <murl_i_app_addon_registry.h>
The add-on registry interface.
An add-on represents an optionally linkable component that can be used to extend the engine's functionality, e.g. the Facebook integration.
Add-ons are typically registered by the application in IApp::RegisterCustomAddonClasses() and unregistered in IApp::UnregisterCustomAddonClasses().
Inherited by Murl::Core::AppAddonRegistry.
Public Member Functions | |
virtual Bool | RegisterAddon (IAddonPtr addon)=0 |
Register an add-on. More... | |
virtual Bool | UnregisterAddon (IAddonPtr addon)=0 |
Unregister an add-on. More... | |
virtual UInt32 | GetNumberOfRegisteredAddons () const =0 |
Get the number of registered an add-ons. More... | |
virtual IAddonPtr | GetRegisteredAddon (UInt32 index) const =0 |
Get a registered add-on. More... | |
Register an add-on.
addon | The add-on to register. |
Unregister an add-on.
addon | The add-on to unregister. |
|
pure virtual |
Get the number of registered an add-ons.
Get a registered add-on.
A valid add-on index is [0 .. GetNumberOfRegisteredAddons() - 1].
index | The zero-based index of the add-on. |