aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-30 20:06:57 -0400
committerDavid Robillard <d@drobilla.net>2022-08-17 13:50:30 -0400
commit15e67e4e4e2333731e8d7a9e70bd95976e512f2c (patch)
tree557082b69559dc5d5743d74a5955c144ba739059 /src/jalv_internal.h
parent2920fd5f170179e4e1a880856068d3d8b5f0f420 (diff)
downloadjalv-15e67e4e4e2333731e8d7a9e70bd95976e512f2c.tar.gz
jalv-15e67e4e4e2333731e8d7a9e70bd95976e512f2c.tar.bz2
jalv-15e67e4e4e2333731e8d7a9e70bd95976e512f2c.zip
Reduce dependence on jalv_internal.h
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index f07241b..a841e80 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -9,6 +9,7 @@
#include "nodes.h"
#include "options.h"
#include "symap.h"
+#include "types.h"
#include "urids.h"
#include "worker.h"
@@ -46,14 +47,6 @@
extern "C" {
#endif
-struct Jalv;
-
-typedef struct JalvBackend JalvBackend;
-
-typedef struct Jalv Jalv;
-
-typedef enum { JALV_RUNNING, JALV_PAUSE_REQUESTED, JALV_PAUSED } JalvPlayState;
-
typedef struct {
LV2_Feature map_feature;
LV2_Feature unmap_feature;
@@ -73,7 +66,7 @@ typedef struct {
LV2_Extension_Data_Feature ext_data;
} JalvFeatures;
-struct Jalv {
+struct JalvImpl {
JalvOptions opts; ///< Command-line options
JalvURIDs urids; ///< URIDs
JalvNodes nodes; ///< Nodes