Permalink
Browse files

Changed default state of GenericProcessor::hasEditor to false

  • Loading branch information...
1 parent eea8538 commit c0ca736ae2a3d26cfa0a52f133f8639d24b0a0a3 jsiegle committed Dec 6, 2012
@@ -10,8 +10,8 @@
*/
-#ifndef __APPHEADERFILE_DFAE8F6C__
-#define __APPHEADERFILE_DFAE8F6C__
+#ifndef __APPHEADERFILE_F0B475A7__
+#define __APPHEADERFILE_F0B475A7__
#include "AppConfig.h"
#include "juce_amalgamated.h"
@@ -24,4 +24,4 @@ namespace ProjectInfo
const int versionNumber = 0x0;
}
-#endif // __APPHEADERFILE_DFAE8F6C__
+#endif // __APPHEADERFILE_F0B475A7__
@@ -41,16 +41,6 @@ EventDetector::~EventDetector()
}
-// AudioProcessorEditor* EventDetector::createEditor()
-// {
-// editor = new EventDetectorEditor(this);
-// //setEditor(filterEditor);
-
-// std::cout << "Creating editor." << std::endl;
-
-// return editor;
-// }
-
void EventDetector::setParameter (int parameterIndex, float newValue)
@@ -50,10 +50,6 @@ class EventDetector : public GenericProcessor
void process (AudioSampleBuffer &buffer, MidiBuffer &midiMessages, int& nSamples);
void setParameter (int parameterIndex, float newValue);
- //AudioProcessorEditor* createEditor();
-
- bool hasEditor() const {return false;}
-
private:
float threshold;
@@ -77,7 +77,7 @@ class GenericProcessor : public AudioProcessor,
virtual void setParameter (int parameterIndex, float newValue);
virtual AudioProcessorEditor* createEditor();
- bool hasEditor() const {return true;}
+ bool hasEditor() const {return false;}
void reset() {}
void setCurrentProgramStateInformation(const void* data, int sizeInBytes) {}

0 comments on commit c0ca736

Please sign in to comment.