26#if JucePlugin_Enable_ARA
33#include <ARA_Library/PlugIn/ARAPlug.h>
41using ARAViewSelection = ARA::PlugIn::ViewSelection;
42using ARAContentUpdateScopes = ARA::ContentUpdateScopes;
43using ARARestoreObjectsFilter = ARA::PlugIn::RestoreObjectsFilter;
44using ARAStoreObjectsFilter = ARA::PlugIn::StoreObjectsFilter;
47inline String convertARAString (ARA::ARAUtf8String str)
49 return String (CharPointer_UTF8 (str));
57inline String convertOptionalARAString (ARA::ARAUtf8String str,
const String& fallbackString = String())
59 return (str !=
nullptr) ? convertARAString (str) : fallbackString;
63inline Colour convertARAColour (
const ARA::ARAColor* colour)
65 return Colour::fromFloatRGBA (colour->r, colour->g, colour->b, 1.0f);
73inline Colour convertOptionalARAColour (
const ARA::ARAColor* colour,
const Colour& fallbackColour = Colour())
75 return (colour !=
nullptr) ? convertARAColour (colour) : fallbackColour;
#define JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE(...)
Definition juce_CompilerWarnings.h:181
#define JUCE_END_IGNORE_WARNINGS_GCC_LIKE
Definition juce_CompilerWarnings.h:182
#define JUCE_BEGIN_IGNORE_WARNINGS_MSVC(warnings)
Definition juce_CompilerWarnings.h:198
#define JUCE_END_IGNORE_WARNINGS_MSVC
Definition juce_CompilerWarnings.h:199
Definition carla_juce.cpp:31