summaryrefslogtreecommitdiffstats
path: root/lilv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-16 16:59:26 +0100
committerDavid Robillard <d@drobilla.net>2020-12-16 16:59:26 +0100
commita0a127b5c6395fc402861f95852b9624f9d2621f (patch)
treeebb8efcb3c132d3e1e17cbaff9bae439c90c5a2f /lilv
parent644cf095d12f74c67f323c355dbae0059d02f1f3 (diff)
downloadlilv-a0a127b5c6395fc402861f95852b9624f9d2621f.tar.gz
lilv-a0a127b5c6395fc402861f95852b9624f9d2621f.tar.bz2
lilv-a0a127b5c6395fc402861f95852b9624f9d2621f.zip
Clean up includes
Diffstat (limited to 'lilv')
-rw-r--r--lilv/lilv.h3
-rw-r--r--lilv/lilvmm.hpp18
2 files changed, 20 insertions, 1 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h
index 83b28e2..8c9ee22 100644
--- a/lilv/lilv.h
+++ b/lilv/lilv.h
@@ -26,7 +26,6 @@
#include <stdarg.h>
#include <stdbool.h>
-#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
@@ -80,6 +79,8 @@ extern "C" {
#define LILV_URI_OUTPUT_PORT "http://lv2plug.in/ns/lv2core#OutputPort"
#define LILV_URI_PORT "http://lv2plug.in/ns/lv2core#Port"
+struct LilvInstanceImpl;
+
typedef struct LilvPluginImpl LilvPlugin; /**< LV2 Plugin. */
typedef struct LilvPluginClassImpl LilvPluginClass; /**< Plugin Class. */
typedef struct LilvPortImpl LilvPort; /**< Port. */
diff --git a/lilv/lilvmm.hpp b/lilv/lilvmm.hpp
index 4a90e6d..c42de2f 100644
--- a/lilv/lilvmm.hpp
+++ b/lilv/lilvmm.hpp
@@ -18,6 +18,10 @@
#define LILV_LILVMM_HPP
#include "lilv/lilv.h"
+#include "lv2/core/lv2.h"
+
+#include <cstdarg>
+#include <cstdint>
namespace Lilv {
@@ -29,6 +33,20 @@ namespace Lilv {
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
+struct Instance;
+struct Node;
+struct Nodes;
+struct Plugin;
+struct PluginClass;
+struct PluginClasses;
+struct Plugins;
+struct Port;
+struct ScalePoint;
+struct ScalePoints;
+struct UI;
+struct UIs;
+struct World;
+
LILV_DEPRECATED
static inline const char*
uri_to_path(const char* uri) {