yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze_extensions.h File Reference

Extension interface for the YAZE public API. More...

#include <stdint.h>
#include "yaze_core.h"
#include "yaze_errors.h"
Include dependency graph for yaze_extensions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze_extension
 Extension interface for YAZE. More...
 

Macros

#define YAZE_EXT_CAP_ROM_EDITING   (1 << 0)
 
#define YAZE_EXT_CAP_GRAPHICS   (1 << 1)
 
#define YAZE_EXT_CAP_AUDIO   (1 << 2)
 
#define YAZE_EXT_CAP_SCRIPTING   (1 << 3)
 
#define YAZE_EXT_CAP_IMPORT_EXPORT   (1 << 4)
 

Typedefs

typedef void(* yaze_initialize_func) (yaze_editor_context *context)
 Function pointer to initialize the extension.
 
typedef void(* yaze_cleanup_func) (void)
 
typedef struct yaze_extension yaze_extension
 Extension interface for YAZE.
 

Functions

yaze_status yaze_register_extension (const yaze_extension *extension)
 Register an extension with YAZE.
 
yaze_status yaze_unregister_extension (const char *name)
 Unregister an extension.
 

Detailed Description

Extension interface for the YAZE public API.

Definition in file yaze_extensions.h.

Typedef Documentation

◆ yaze_initialize_func

typedef void(* yaze_initialize_func) (yaze_editor_context *context)

Function pointer to initialize the extension.

Parameters
contextThe editor context.

Definition at line 23 of file yaze_extensions.h.

◆ yaze_cleanup_func

typedef void(* yaze_cleanup_func) (void)

Definition at line 24 of file yaze_extensions.h.