I have a header file containing the definition of a class:
class CubeFaceControlScope : public Component,
with, among other methods, a public method like this
void sliderValueChanged (Slider* sliderThatWasMoved);
which will be called when using the slider. This function is implemented in the corresponding .cpp file.
When I open my project using Introjucer, it consistently removes the "public SliderListener" from the cass definition showed above.
It also removes the sliderValueChanged public method definition as well as the implementation in the cpp file.
the sliderValueChanged definition or implementation are not between special  and [/] tags.
Also, the class definition itself is not between  and [/] tags.
When I click on the cpp file in Introjucer and select the Class tab, I only see "public Component" under parent classes (see attached screenshot)
How should I fix this such that the definition and implementation for sliderValueChanged sticks and such that the class definition stays and introjucer is aware of what it inherits from ?
It's unclear to me what the CORRECT workflow is when adding components like sliders to a class... shouldn't introjucer figure out that when you add a slider, the slider will automatically need a handler and that the class should inherit from SliderListener?