Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest clap/next #48

Merged
merged 2 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/clap/helpers/host.hh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <string>

#include <clap/clap.h>
#include <clap/all.h>

#include "version-check.hh"

Expand Down
12 changes: 6 additions & 6 deletions include/clap/helpers/preset-discovery-metadata-receiver.hh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace clap { namespace helpers {

virtual bool beginPreset(const char *name, const char *load_key) noexcept { return false; }

virtual void addPluginId(const clap_plugin_id_t *plugin_id) noexcept {}
virtual void addPluginId(const clap_universal_plugin_id *plugin_id) noexcept {}

virtual void setCollectionId(const char *collection_id) noexcept {}

Expand All @@ -46,8 +46,8 @@ namespace clap { namespace helpers {

virtual void setDescription(const char *description) noexcept {}

virtual void setTimestamps(clap_timestamp_t creation_time,
clap_timestamp_t modification_time) noexcept {}
virtual void setTimestamps(clap_timestamp creation_time,
clap_timestamp modification_time) noexcept {}

virtual void addFeature(const char *feature) noexcept {}

Expand Down Expand Up @@ -77,7 +77,7 @@ namespace clap { namespace helpers {

static void
receiverAddPluginId(const struct clap_preset_discovery_metadata_receiver *receiver,
const clap_plugin_id_t *plugin_id) noexcept;
const clap_universal_plugin_id *plugin_id) noexcept;

static void
receiverSetCollectionId(const struct clap_preset_discovery_metadata_receiver *receiver,
Expand All @@ -95,8 +95,8 @@ namespace clap { namespace helpers {

static void
receiverSetTimestamps(const struct clap_preset_discovery_metadata_receiver *receiver,
clap_timestamp_t creation_time,
clap_timestamp_t modification_time) noexcept;
clap_timestamp creation_time,
clap_timestamp modification_time) noexcept;

static void receiverAddFeature(const struct clap_preset_discovery_metadata_receiver *receiver,
const char *feature) noexcept;
Expand Down
6 changes: 3 additions & 3 deletions include/clap/helpers/preset-discovery-metadata-receiver.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace clap { namespace helpers {
template <MisbehaviourHandler h, CheckingLevel l>
void PresetDiscoveryMetadataReceiver<h, l>::receiverAddPluginId(
const struct clap_preset_discovery_metadata_receiver *receiver,
const clap_plugin_id_t *plugin_id) noexcept {
const clap_universal_plugin_id *plugin_id) noexcept {
auto &self = from(receiver);
return self.addPluginId(plugin_id);
}
Expand Down Expand Up @@ -88,8 +88,8 @@ namespace clap { namespace helpers {
template <MisbehaviourHandler h, CheckingLevel l>
void PresetDiscoveryMetadataReceiver<h, l>::receiverSetTimestamps(
const struct clap_preset_discovery_metadata_receiver *receiver,
clap_timestamp_t creation_time,
clap_timestamp_t modification_time) noexcept {
clap_timestamp creation_time,
clap_timestamp modification_time) noexcept {
auto &self = from(receiver);
return self.setTimestamps(creation_time, modification_time);
}
Expand Down
Loading