aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-18 17:50:49 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 19:10:32 -0500
commitf2e20d35eb38098fa5f850e787b3328782cf239a (patch)
treed291db8dbb4771dc02ee08c20cf4b26e28a85a41 /src/jalv_internal.h
parent2af04078e6e8b67dafa26be0bbbc02b6b1e4f6bd (diff)
downloadjalv-f2e20d35eb38098fa5f850e787b3328782cf239a.tar.gz
jalv-f2e20d35eb38098fa5f850e787b3328782cf239a.tar.bz2
jalv-f2e20d35eb38098fa5f850e787b3328782cf239a.zip
Move features struct to a separate file
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 592d9c8..9ac458e 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -7,6 +7,7 @@
#include "attributes.h"
#include "control.h"
#include "dumper.h"
+#include "features.h"
#include "jalv_config.h"
#include "log.h"
#include "mapper.h"
@@ -24,13 +25,7 @@
#include <lilv/lilv.h>
#include <lv2/atom/forge.h>
#include <lv2/core/lv2.h>
-#include <lv2/data-access/data-access.h>
-#include <lv2/log/log.h>
-#include <lv2/options/options.h>
-#include <lv2/state/state.h>
-#include <lv2/ui/ui.h>
#include <lv2/urid/urid.h>
-#include <lv2/worker/worker.h>
#include <zix/ring.h>
#include <zix/sem.h>
@@ -41,26 +36,6 @@
// "Shared" internal application declarations
JALV_BEGIN_DECLS
-/// LV2 features and associated data to be passed to plugins
-typedef struct {
- LV2_Feature map_feature;
- LV2_Feature unmap_feature;
- LV2_State_Make_Path make_path;
- LV2_Feature make_path_feature;
- LV2_Worker_Schedule sched;
- LV2_Feature sched_feature;
- LV2_Worker_Schedule ssched;
- LV2_Feature state_sched_feature;
- LV2_Log_Log llog;
- LV2_Feature log_feature;
- LV2_Options_Option options[7];
- LV2_Feature options_feature;
- LV2_Feature safe_restore_feature;
- LV2UI_Request_Value request_value;
- LV2_Feature request_value_feature;
- LV2_Extension_Data_Feature ext_data;
-} JalvFeatures;
-
/// Internal application state
struct JalvImpl {
JalvOptions opts; ///< Command-line options