iPlug2 - C++ Audio Plug-in Framework
IPlugAUViewController.h
1  /*
2  ==============================================================================
3 
4  This file is part of the iPlug 2 library. Copyright (C) the iPlug 2 developers.
5 
6  See LICENSE.txt for more info.
7 
8  ==============================================================================
9 */
10 
11 #ifndef _IPLUGAUVIEWCONTROLLER_
12 #define _IPLUGAUVIEWCONTROLLER_
13 
16 #import <CoreAudioKit/AUViewController.h>
17 #include "config.h"
18 
19 @class IPlugAUAudioUnit;
20 
21 #if PLUG_HAS_UI
22 @interface IPlugAUViewController : AUViewController <AUAudioUnitFactory>
23 #else
24 @interface IPlugAUViewController : NSObject <AUAudioUnitFactory>
25 #endif
26 
27 @property (nonatomic, retain) IPlugAUAudioUnit *audioUnit;
28 - (void) setAudioUnit:(IPlugAUAudioUnit*) audioUnit;
29 - (void) audioUnitInitialized;
30 - (AUAudioUnit*) getAudioUnit;
31 @end
32 
33 #endif /* _IPLUGAUVIEWCONTROLLER_ */