Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::EditorAssets Struct Reference

#include <editor_assets.hpp>

Public Attributes

const char * script_path = nullptr
 Absolute path of the scripted-UI entry file. Null or empty: none.
const char * theme_path = nullptr
 Absolute path of the theme / design-token file. Null or empty: none.
const char * asset_roots = nullptr
 '|'-separated absolute directories the script may load assets from.
const char * script_name = nullptr
 File name of the embedded entry script (main.js), for diagnostics.
const unsigned char * script = nullptr
 The embedded entry script's bytes.
std::size_t script_size = 0
const unsigned char * theme = nullptr
 The embedded theme override (JSON), or null/0 when the build had none.
std::size_t theme_size = 0
const EmbeddedEditorFile * files = nullptr
 Files embedded beside the script, resolved by the embedded editor in place of its script directory.
std::size_t file_count = 0

Member Data Documentation

◆ asset_roots

const char* pulp::format::EditorAssets::asset_roots = nullptr

'|'-separated absolute directories the script may load assets from.

◆ file_count

std::size_t pulp::format::EditorAssets::file_count = 0

◆ files

const EmbeddedEditorFile* pulp::format::EditorAssets::files = nullptr

Files embedded beside the script, resolved by the embedded editor in place of its script directory.

Null/0: none.

◆ script

const unsigned char* pulp::format::EditorAssets::script = nullptr

The embedded entry script's bytes.

Null or zero-length: no embedded editor.

◆ script_name

const char* pulp::format::EditorAssets::script_name = nullptr

File name of the embedded entry script (main.js), for diagnostics.

Never a directory.

◆ script_path

const char* pulp::format::EditorAssets::script_path = nullptr

Absolute path of the scripted-UI entry file. Null or empty: none.

◆ script_size

std::size_t pulp::format::EditorAssets::script_size = 0

◆ theme

const unsigned char* pulp::format::EditorAssets::theme = nullptr

The embedded theme override (JSON), or null/0 when the build had none.

◆ theme_path

const char* pulp::format::EditorAssets::theme_path = nullptr

Absolute path of the theme / design-token file. Null or empty: none.

◆ theme_size

std::size_t pulp::format::EditorAssets::theme_size = 0

The documentation for this struct was generated from the following file: