1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

AudioPluginFormatManager is no longer a singleton. Singletons are bad: don't do it, kids.

This commit is contained in:
jules 2012-07-12 12:37:37 +01:00
parent 9af7f2f480
commit 246cb94bb0
13 changed files with 43 additions and 45 deletions

View file

@ -1014,8 +1014,9 @@ private:
};
//==============================================================================
GraphDocumentComponent::GraphDocumentComponent (AudioDeviceManager* deviceManager_)
: deviceManager (deviceManager_)
GraphDocumentComponent::GraphDocumentComponent (AudioPluginFormatManager& formatManager,
AudioDeviceManager* deviceManager_)
: graph (formatManager), deviceManager (deviceManager_)
{
addAndMakeVisible (graphPanel = new GraphEditorPanel (graph));