I have created a GUI class using Introjucer and called it EditorCompoent.
Then I added a button to it and I see that Intojucer added public ButtonListener to the class definition:
class EditorComponent : public Component, public ButtonListener
Then I went and added GenericComponent and changed its class to FilenameComponent and set its constructor params.
When I compile and run the app, filename chooser works ok.
Issue here is that I want to add abstract class FilenameComponentListener to the Editor component like so:
class EditorComponent : public Component, public ButtonListener, public FilenameComponentListener
in order to implement filenameComponentChanged().
Problem with adding this manually is that it will be removed by Introjucer (since it autogenerates this part of the component code) every time I change something.
Is there a way to add another inherited class for a component in Introjucer, in this case FilenameComponentListener, so that Intorjucer is aware of that class and does not remove it?