Murl::IAppAddonRegistry Interface Referenceabstract
The add-on registry interface. More...
#include "murl_i_app_addon_registry.h"
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... | |
Detailed Description
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().
Member Function Documentation
◆ RegisterAddon()
Register an add-on.
- Parameters
-
addon The add-on to register.
- Returns
- true if successful.
◆ UnregisterAddon()
Unregister an add-on.
- Parameters
-
addon The add-on to unregister.
- Returns
- true if successful.
◆ GetNumberOfRegisteredAddons()
|
pure virtual |
Get the number of registered an add-ons.
- Returns
- The number of registered an add-ons.
◆ GetRegisteredAddon()
Get a registered add-on.
A valid add-on index is [0 .. GetNumberOfRegisteredAddons() - 1].
- Parameters
-
index The zero-based index of the add-on.
- Returns
- The registered add-on or null if index is out of range.
The documentation for this interface was generated from the following file:
- murl_i_app_addon_registry.h