LMMS
Loading...
Searching...
No Matches
state.h File Reference
#include "lv2.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  LV2_State_Interface
struct  LV2_State_Map_Path
struct  LV2_State_Make_Path
struct  LV2_State_Free_Path

Macros

#define LV2_STATE_URI   "http://lv2plug.in/ns/ext/state"
 http://lv2plug.in/ns/ext/state
#define LV2_STATE_PREFIX   LV2_STATE_URI "#"
 http://lv2plug.in/ns/ext/state#
#define LV2_STATE__State   LV2_STATE_PREFIX "State"
 http://lv2plug.in/ns/ext/state#State
#define LV2_STATE__interface   LV2_STATE_PREFIX "interface"
 http://lv2plug.in/ns/ext/state#interface
#define LV2_STATE__loadDefaultState   LV2_STATE_PREFIX "loadDefaultState"
 http://lv2plug.in/ns/ext/state#loadDefaultState
#define LV2_STATE__freePath   LV2_STATE_PREFIX "freePath"
 http://lv2plug.in/ns/ext/state#freePath
#define LV2_STATE__makePath   LV2_STATE_PREFIX "makePath"
 http://lv2plug.in/ns/ext/state#makePath
#define LV2_STATE__mapPath   LV2_STATE_PREFIX "mapPath"
 http://lv2plug.in/ns/ext/state#mapPath
#define LV2_STATE__state   LV2_STATE_PREFIX "state"
 http://lv2plug.in/ns/ext/state#state
#define LV2_STATE__threadSafeRestore   LV2_STATE_PREFIX "threadSafeRestore"
 http://lv2plug.in/ns/ext/state#threadSafeRestore
#define LV2_STATE__StateChanged   LV2_STATE_PREFIX "StateChanged"
 http://lv2plug.in/ns/ext/state#StateChanged

Typedefs

typedef voidLV2_State_Handle
 Opaque handle for state save/restore.
typedef voidLV2_State_Free_Path_Handle
 Opaque handle for state:freePath feature.
typedef voidLV2_State_Map_Path_Handle
 Opaque handle for state:mapPath feature.
typedef voidLV2_State_Make_Path_Handle
 Opaque handle for state:makePath feature.
typedef LV2_State_Status(* LV2_State_Store_Function) (LV2_State_Handle handle, uint32_t key, const void *value, size_t size, uint32_t type, uint32_t flags)
typedef const void *(* LV2_State_Retrieve_Function) (LV2_State_Handle handle, uint32_t key, size_t *size, uint32_t *type, uint32_t *flags)

Enumerations

enum  LV2_State_Flags { LV2_STATE_IS_POD = 1 , LV2_STATE_IS_PORTABLE = 1 << 1 , LV2_STATE_IS_NATIVE = 1 << 2 }
enum  LV2_State_Status {
  LV2_STATE_SUCCESS = 0 , LV2_STATE_ERR_UNKNOWN = 1 , LV2_STATE_ERR_BAD_TYPE = 2 , LV2_STATE_ERR_BAD_FLAGS = 3 ,
  LV2_STATE_ERR_NO_FEATURE = 4 , LV2_STATE_ERR_NO_PROPERTY = 5 , LV2_STATE_ERR_NO_SPACE = 6
}