Interface for user-implemented language modules.
More...
#include <language_module.hpp>
Interface for user-implemented language modules.
The ILanguageModule interface defines methods that should be implemented by user-written language modules.
Definition at line 45 of file language_module.hpp.
◆ Initialize()
Initialize the language module.
- Parameters
-
provider | Weak ptr to the Plugify provider. |
module | Ref to the language module being initialized. |
- Returns
- Result of the initialization, either InitResultData or string.
◆ IsDebugBuild()
virtual bool plugify::ILanguageModule::IsDebugBuild |
( |
| ) |
|
|
pure virtual |
Determine if language module is build with debugging mode.
- Returns
- True if the assembly is build with debugging, false otherwise.
◆ OnMethodExport()
virtual void plugify::ILanguageModule::OnMethodExport |
( |
const Extension & |
plugin | ) |
|
|
pure virtual |
Handle method export event.
- Parameters
-
plugin | Ref to the plugin exporting a method. |
◆ OnPluginEnd()
virtual void plugify::ILanguageModule::OnPluginEnd |
( |
const Extension & |
plugin | ) |
|
|
pure virtual |
Handle plugin end event.
- Parameters
-
plugin | Ref to the ended plugin. |
◆ OnPluginLoad()
Handle plugin load event.
- Parameters
-
plugin | Ref to the loaded plugin. |
- Returns
- Result of the load event, either LoadResultData or string.
◆ OnPluginStart()
virtual void plugify::ILanguageModule::OnPluginStart |
( |
const Extension & |
plugin | ) |
|
|
pure virtual |
Handle plugin start event.
- Parameters
-
plugin | Ref to the started plugin. |
◆ OnPluginUpdate()
virtual void plugify::ILanguageModule::OnPluginUpdate |
( |
const Extension & |
plugin, |
|
|
std::chrono::milliseconds |
deltaTime |
|
) |
| |
|
pure virtual |
Handle plugin update event.
- Parameters
-
plugin | Ref to the started plugin. |
deltaTime | The time delta since the last update. |
◆ OnUpdate()
virtual void plugify::ILanguageModule::OnUpdate |
( |
std::chrono::milliseconds |
deltaTime | ) |
|
|
pure virtual |
Handle actions to be performed on each frame.
- Parameters
-
deltaTime | The time delta since the last update. |
The documentation for this class was generated from the following file: