| @@ -52,7 +52,7 @@ FUNCTION_TEMPLATE = """/* | |||||
| ============================================================================== | ============================================================================== | ||||
| This file is part of the JUCE library. | This file is part of the JUCE library. | ||||
| Copyright (c) 2020 - Raw Material Software Limited | |||||
| Copyright (c) 2022 - Raw Material Software Limited | |||||
| JUCE is an open source library subject to commercial or open-source | JUCE is an open source library subject to commercial or open-source | ||||
| licensing. | licensing. | ||||
| @@ -79,6 +79,8 @@ FUNCTION_TEMPLATE = """/* | |||||
| #pragma once | #pragma once | ||||
| #ifndef DOXYGEN | |||||
| #include <vector> | #include <vector> | ||||
| namespace juce | namespace juce | ||||
| @@ -109,7 +111,8 @@ std::vector<juce::lv2::Bundle> juce::lv2::Bundle::getAllBundles() | |||||
| {} | {} | ||||
| }}; | }}; | ||||
| }} | }} | ||||
| """ | |||||
| #endif""" | |||||
| def chunks(lst, n): | def chunks(lst, n): | ||||
| @@ -149,5 +152,6 @@ args = parser.parse_args() | |||||
| print(FUNCTION_TEMPLATE.format(", ".join(generate_bundle_source(root, files) | print(FUNCTION_TEMPLATE.format(", ".join(generate_bundle_source(root, files) | ||||
| for root, files in filter_ttl_files(args.lv2_dir) | for root, files in filter_ttl_files(args.lv2_dir) | ||||
| if len(files) != 0)), | |||||
| if len(files) != 0)) | |||||
| .replace("\t", " "), | |||||
| end = "\r\n") | end = "\r\n") | ||||
| @@ -23,6 +23,8 @@ | |||||
| ============================================================================== | ============================================================================== | ||||
| */ | */ | ||||
| #ifndef DOXYGEN | |||||
| // This macro can be set if you need to override this internal name for some reason.. | // This macro can be set if you need to override this internal name for some reason.. | ||||
| #ifndef JUCE_STATE_DICTIONARY_KEY | #ifndef JUCE_STATE_DICTIONARY_KEY | ||||
| #define JUCE_STATE_DICTIONARY_KEY "jucePluginState" | #define JUCE_STATE_DICTIONARY_KEY "jucePluginState" | ||||
| @@ -31,8 +33,6 @@ | |||||
| namespace juce | namespace juce | ||||
| { | { | ||||
| #ifndef DOXYGEN | |||||
| struct AudioUnitHelpers | struct AudioUnitHelpers | ||||
| { | { | ||||
| class ChannelRemapper | class ChannelRemapper | ||||
| @@ -560,6 +560,6 @@ struct AudioUnitHelpers | |||||
| } | } | ||||
| }; | }; | ||||
| #endif | |||||
| } // namespace juce | } // namespace juce | ||||
| #endif | |||||
| @@ -25,6 +25,8 @@ | |||||
| #pragma once | #pragma once | ||||
| #ifndef DOXYGEN | |||||
| #include "juce_lv2_config.h" | #include "juce_lv2_config.h" | ||||
| #ifdef Bool | #ifdef Bool | ||||
| @@ -615,3 +617,5 @@ static inline std::vector<ParsedGroup> findStableBusOrder (const String& mainGro | |||||
| } | } | ||||
| } | } | ||||
| #endif | |||||
| @@ -29,6 +29,8 @@ | |||||
| #pragma once | #pragma once | ||||
| #ifndef DOXYGEN | |||||
| #include <vector> | #include <vector> | ||||
| namespace juce | namespace juce | ||||
| @@ -10229,3 +10231,5 @@ to an instance of LV2_Extension_Data_Feature. | |||||
| }; | }; | ||||
| } | } | ||||
| #endif | |||||
| @@ -66,6 +66,8 @@ JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4702) | |||||
| used internally in JUCE code, with an API close-enough to std::optional | used internally in JUCE code, with an API close-enough to std::optional | ||||
| that the types can be swapped with fairly minor disruption at some point in | that the types can be swapped with fairly minor disruption at some point in | ||||
| the future, but *without breaking any public APIs*. | the future, but *without breaking any public APIs*. | ||||
| @tags{Core} | |||||
| */ | */ | ||||
| template <typename Value> | template <typename Value> | ||||
| class Optional | class Optional | ||||