2 ==============================================================================
4 This file is part of the JUCE library - "Jules' Utility Class Extensions"
5 Copyright 2004-11 by Raw Material Software Ltd.
7 ------------------------------------------------------------------------------
9 JUCE can be redistributed and/or modified under the terms of the GNU General
10 Public License (Version 2), as published by the Free Software Foundation.
11 A copy of the license is included in the JUCE distribution, or can be found
12 online at www.gnu.org/licenses.
14 JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
18 ------------------------------------------------------------------------------
20 To release a closed-source product which uses JUCE, commercial licenses are
21 available: visit www.rawmaterialsoftware.com/juce for more information.
23 ==============================================================================
26 #ifndef __JUCE_AUDIOUNITPLUGINFORMAT_JUCEHEADER__
27 #define __JUCE_AUDIOUNITPLUGINFORMAT_JUCEHEADER__
29 #include "../juce_AudioPluginFormat.h"
31 #if JUCE_PLUGINHOST_AU && JUCE_MAC
33 //==============================================================================
35 Implements a plugin format manager for AudioUnits.
37 class JUCE_API AudioUnitPluginFormat
: public AudioPluginFormat
40 //==============================================================================
41 AudioUnitPluginFormat();
42 ~AudioUnitPluginFormat();
44 //==============================================================================
45 String
getName() const { return "AudioUnit"; }
46 void findAllTypesForFile (OwnedArray
<PluginDescription
>& results
, const String
& fileOrIdentifier
);
47 AudioPluginInstance
* createInstanceFromDescription (const PluginDescription
& desc
);
48 bool fileMightContainThisPluginType (const String
& fileOrIdentifier
);
49 String
getNameOfPluginFromIdentifier (const String
& fileOrIdentifier
);
50 StringArray
searchPathsForPlugins (const FileSearchPath
& directoriesToSearch
, bool recursive
);
51 bool doesPluginStillExist (const PluginDescription
& desc
);
52 FileSearchPath
getDefaultLocationsToSearch();
55 //==============================================================================
56 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioUnitPluginFormat
);
61 #endif // __JUCE_AUDIOUNITPLUGINFORMAT_JUCEHEADER__