aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/src/state.h b/src/state.h
index 86defd7..c4c1fd3 100644
--- a/src/state.h
+++ b/src/state.h
@@ -7,15 +7,11 @@
#include "attributes.h"
#include "types.h"
-#include "lilv/lilv.h"
-#include "lv2/atom/atom.h"
-#include "lv2/state/state.h"
-#include "lv2/urid/urid.h"
-#include "serd/serd.h"
-
-JALV_BEGIN_DECLS
+#include <lilv/lilv.h>
+#include <lv2/state/state.h>
// State and preset utilities
+JALV_BEGIN_DECLS
typedef int (*PresetSink)(Jalv* jalv,
const LilvNode* node,
@@ -44,20 +40,11 @@ jalv_save_preset(Jalv* jalv,
void
jalv_save(Jalv* jalv, const char* dir);
-void
-jalv_save_port_values(Jalv* jalv, SerdWriter* writer, const SerdNode* subject);
-
char*
jalv_make_path(LV2_State_Make_Path_Handle handle, const char* path);
void
-jalv_apply_state(Jalv* jalv, LilvState* state);
-
-char*
-atom_to_turtle(LV2_URID_Unmap* unmap,
- const SerdNode* subject,
- const SerdNode* predicate,
- const LV2_Atom* atom);
+jalv_apply_state(Jalv* jalv, const LilvState* state);
JALV_END_DECLS