commit 7846a30c2b4798a7f41ede8b9671bcad011fb008
parent cee326d1d6a1a1e0795e0d3030b3cc73058496e6
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Sun, 25 Apr 2021 00:14:26 +0200
Move some exts out of the draft
Diffstat:
4 files changed, 54 insertions(+), 54 deletions(-)
diff --git a/include/clap/ext/draft/idle.h b/include/clap/ext/draft/idle.h
@@ -1,19 +0,0 @@
-#pragma once
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "../../clap.h"
-
-#define CLAP_EXT_IDLE "clap/draft/idle"
-
-struct clap_plugin_idle {
- // IDLE time that can be used by the plugin on the main thread
- // [main-thread]
- void (*idle)(struct clap_plugin *plugin);
-};
-
-#ifdef __cplusplus
-}
-#endif
-\ No newline at end of file
diff --git a/include/clap/ext/draft/log.h b/include/clap/ext/draft/log.h
@@ -1,33 +0,0 @@
-#pragma once
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "../../clap.h"
-
-#define CLAP_EXT_LOG "clap/draft/log"
-
-enum clap_log_severity {
- CLAP_LOG_DEBUG = 0,
- CLAP_LOG_INFO = 1,
- CLAP_LOG_WARNING = 2,
- CLAP_LOG_ERROR = 3,
- CLAP_LOG_FATAL = 4,
-
- // This severity should be used to report misbehaviour of the host
- CLAP_LOG_HOST_MISBEHAVING = 5,
-};
-
-struct clap_host_log {
- // Log a message through the host.
- // [thread-safe]
- void (*log)(struct clap_host * host,
- struct clap_plugin * plugin,
- enum clap_log_severity severity,
- const char * msg);
-};
-
-#ifdef __cplusplus
-}
-#endif
-\ No newline at end of file
diff --git a/include/clap/ext/idle.h b/include/clap/ext/idle.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "../clap.h"
+
+#define CLAP_EXT_IDLE "clap/idle"
+
+struct clap_plugin_idle {
+ // IDLE time that can be used by the plugin on the main thread
+ // [main-thread]
+ void (*idle)(struct clap_plugin *plugin);
+};
+
+#ifdef __cplusplus
+}
+#endif
+\ No newline at end of file
diff --git a/include/clap/ext/log.h b/include/clap/ext/log.h
@@ -0,0 +1,33 @@
+#pragma once
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "../clap.h"
+
+#define CLAP_EXT_LOG "clap/log"
+
+enum clap_log_severity {
+ CLAP_LOG_DEBUG = 0,
+ CLAP_LOG_INFO = 1,
+ CLAP_LOG_WARNING = 2,
+ CLAP_LOG_ERROR = 3,
+ CLAP_LOG_FATAL = 4,
+
+ // This severity should be used to report misbehaviour of the host
+ CLAP_LOG_HOST_MISBEHAVING = 5,
+};
+
+struct clap_host_log {
+ // Log a message through the host.
+ // [thread-safe]
+ void (*log)(struct clap_host * host,
+ struct clap_plugin * plugin,
+ enum clap_log_severity severity,
+ const char * msg);
+};
+
+#ifdef __cplusplus
+}
+#endif
+\ No newline at end of file