SPAOP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SpaopEditorComponent.h
Go to the documentation of this file.
1 /*
2  * Copyright 2014 Martin Hansen
3  *
4  * This file is part of SPAOP (Spatial Audio Object Positioner).
5  *
6  * SPAOP is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * SPAOP is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with SPAOP. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef SPAOPEDITORCOMPONENT_H_INCLUDED
21 #define SPAOPEDITORCOMPONENT_H_INCLUDED
22 
23 #include "PluginProcessor.h"
24 #include "JuceHeader.h"
25 
26 namespace wonderjuce {
27 
37  class SpaopEditorComponent : public Component
38  {
39  public:
44 
46  virtual ~SpaopEditorComponent();
47 
51  virtual void update() = 0;
52 
53  protected:
54 
57 
58  private:
59  SpaopAudioProcessor* const processor_;
60 
61  JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SpaopEditorComponent)
62  };
63 
64 }
65 
66 
67 
68 
69 #endif // SPAOPEDITORCOMPONENT_H_INCLUDED
SpaopEditorComponent(SpaopAudioProcessor *ownerFilter)
Constructor.
Definition: SpaopEditorComponent.cpp:24
An abstract class for GUI subcomponents of the SpaopAudioProcessorEditor.
Definition: SpaopEditorComponent.h:37
The SPAOP-plugin's processor class.
Definition: PluginProcessor.h:42
virtual void update()=0
To be called by the main SpaopAudioProcessorEditor to make this component update its values to the cu...
virtual ~SpaopEditorComponent()
Destructor.
Definition: SpaopEditorComponent.cpp:29
SpaopAudioProcessor * getProcessor() const
Returns the SpaopAudioProcessor controlled by this editor component.
Definition: SpaopEditorComponent.cpp:33