commit 52552c5983602a2e575e9cebc082ca48ca4ff55a
parent ad76eb5cc44154055ce8060e5df9281cfadde6e2
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Mon, 8 Jan 2024 12:13:08 +0100
Merge pull request #378 from abique/remove-check-for-update
Remove check for update draft extension
Diffstat:
3 files changed, 4 insertions(+), 33 deletions(-)
diff --git a/ChangeLog.md b/ChangeLog.md
@@ -14,6 +14,10 @@
Note: we kept the last draft extension ID in order to not break plugins already using it.
+## Removed draft extension
+
+* `CLAP_EXT_CHECK_FOR_UPDATE` was removed because it wasn't used and it's design needed more thought.
+
## Stabilize factory
* `CLAP_PRESET_DISCOVERY_FACTORY_ID`
diff --git a/README.md b/README.md
@@ -105,7 +105,6 @@ and use to get a basic plugin experience:
- [track-info](include/clap/ext/draft/track-info.h)
- [quick-controls](include/clap/ext/draft/quick-controls.h), bank of controls that can be mapped on a controlles with 8 knobs
- [file-reference](include/clap/ext/draft/file-reference.h), let the host know about the plugin's file reference, and perform "Collect & Save"
-- [check-for-update](include/clap/ext/draft/check-for-update.h), check if there is a new version of a plugin
- [audio-ports-config](include/clap/ext/audio-ports-config.h), simple list of possible configurations
- [surround](include/clap/ext/draft/surround.h), inspect surround channel mapping
- [ambisonic](include/clap/ext/draft/ambisonic.h), inspect ambisonic channel mapping
diff --git a/include/clap/ext/draft/check-for-update.h b/include/clap/ext/draft/check-for-update.h
@@ -1,32 +0,0 @@
-#pragma once
-
-#include "../../plugin.h"
-
-static CLAP_CONSTEXPR const char CLAP_EXT_CHECK_FOR_UPDATE[] = "clap.check_for_update.draft/0";
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef struct clap_check_for_update_info {
- const char *version; // latest version
- const char *release_date; // YYYY-MM-DD
- const char *url; // url to a download page which the user can visit
-
- bool is_preview; // true if this version is a preview release
-} clap_check_for_update_info_t;
-
-typedef struct clap_plugin_check_for_update {
- // [main-thread]
- void(CLAP_ABI *check)(const clap_plugin_t *plugin, bool include_preview);
-} clap_plugin_check_for_update_t;
-
-typedef struct clap_host_check_for_update {
- // [main-thread]
- void(CLAP_ABI *on_new_version)(const clap_host_t *host,
- const clap_check_for_update_info_t *update_info);
-} clap_host_check_for_update_t;
-
-#ifdef __cplusplus
-}
-#endif