I have a couple of my own Juce derived classes, button/slider/knob, i want them to have an additional base class (parent class?) that i wrote too. I can’t include the base classe’s header in all of them cause i get class re-declaration errors.
i have
PanelKnob.h/cpp
PanelSlider.h/cpp
PanelButton.h/cpp
and
PanelController.h/cpp (this is the base for all others)
if can’t include it in all other controller classes can i forward declare the class (though i don’t think this will work for the compiler). What other methods are there? all Panel* classes include <juce.h> and Knob, Slider and Button are based on some Juce classes, the Controller class isn’t.