Extension interface for YAZE. More...
#include <yaze.h>
Public Attributes | |
const char * | name |
const char * | version |
const char * | description |
const char * | author |
int | api_version |
yaze_status(* | initialize )(yaze_editor_context *context) |
Initialize the extension. | |
void(* | cleanup )(void) |
Clean up the extension. | |
uint32_t(* | get_capabilities )(void) |
Get extension capabilities. | |
Extension interface for YAZE.
Defines the interface for YAZE extensions. Extensions can add new functionality to YAZE and can be written in C or other languages.
const char* yaze_extension::name |
const char* yaze_extension::description |
yaze_status(* yaze_extension::initialize) (yaze_editor_context *context) |
Initialize the extension.
Called when the extension is loaded. Use this to set up any resources or state needed by the extension.
context | Editor context provided by YAZE |
Definition at line 532 of file yaze.h.
Referenced by yaze::editor::ExtensionManager::LoadExtension().
void(* yaze_extension::cleanup) (void) |
uint32_t(* yaze_extension::get_capabilities) (void) |