Skip to content

Commit

Permalink
Merge pull request #48 from Trinitou/next
Browse files Browse the repository at this point in the history
Update to latest clap/next
  • Loading branch information
abique authored Jan 19, 2024
2 parents 8be0302 + 903f327 commit 5206d9e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
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

0 comments on commit 5206d9e

Please sign in to comment.