Component missing property methods


#1
CompileC build/EdoController.build/Release/EdoController.build/Objects-normal/i386/EdoModulatorComponent.o /Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp normal i386 c++ com.apple.compilers.gcc.4_0
    cd /Users/atom/devel/ctrlr/EdoController/Build/Mac
    /Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Wreturn-type -Wunused-variable -DJUCE_RELEASE=1 -DJUCE_MAC=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/atom/devel/ctrlr/EdoController/Build/Mac/build/EdoController.build/Release/EdoController.build/EdoController.hmap -F/Users/atom/devel/ctrlr/EdoController/Build/Mac/build/Release -I../.. -I/Users/atom/devel/juce -I/Users/atom/devel/ctrlr/EdoController/Build/Mac/build/Release/include -I/Users/atom/devel/ctrlr/EdoController/Build/Mac/build/EdoController.build/Release/EdoController.build/DerivedSources/i386 -I/Users/atom/devel/ctrlr/EdoController/Build/Mac/build/EdoController.build/Release/EdoController.build/DerivedSources -c /Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp -o /Users/atom/devel/ctrlr/EdoController/Build/Mac/build/EdoController.build/Release/EdoController.build/Objects-normal/i386/EdoModulatorComponent.o
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp: In member function 'const EdoModulator::AssositaedComponentType EdoModulator::setAssosiatedComponent(juce::Component*)':
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp:12: error: 'class juce::Component' has no member named 'getComponentPropertyBool'
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp: In member function 'void EdoModulator::getMaxValueFromComponent()':
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp:111: error: 'class juce::Component' has no member named 'getComponentPropertyDouble'
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp:123: error: 'class juce::Component' has no member named 'getComponentPropertyDouble'
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp:124: error: 'class juce::Component' has no member named 'getComponentPropertyDouble'
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp:130: error: 'class juce::Component' has no member named 'getComponentPropertyDouble'
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp: In member function 'void EdoModulator::getMinValueFromComponent()':
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp:150: error: 'class juce::Component' has no member named 'getComponentPropertyDouble'
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp:162: error: 'class juce::Component' has no member named 'getComponentPropertyDouble'
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp:163: error: 'class juce::Component' has no member named 'getComponentPropertyDouble'
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp:169: error: 'class juce::Component' has no member named 'getComponentPropertyDouble'
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp: In member function 'virtual void EdoModulator::handleAsyncUpdate()':
/Users/atom/devel/ctrlr/EdoController/Build/Mac/../../EdoModulator/EdoModulatorComponent.cpp:243: error: 'class juce::Component' has no member named 'getComponentPropertyInt'

Leo 10.5.8 ppc, Xcode 3.1.3 latest Juce tip.


#2

Yep - read the GIT log entry!

I swapped the old component properties for a new method Component::getProperties() that uses a new class to hold them. Sorry, looks like you’ve got a few bits of code to update!


#3

i never read logs :slight_smile: allrighty then need to change my code then.