Adding my own base class


Hi there,

I want to add some classes to the class which exported by Jucer,

[code]class MyPane : public Component
public SomeListenerClass
MyPane ();


So I added to the template like this,

%%classDeclaration%% //[UserBaseClass] //[/UserBaseClass] {
Does it make sense for everyone?

Best regards,
Masanao Hayashi


In fact you don’t have to edit the template - on the class settings page, there’s a field called “parent classes”, where you can type in a list of base classes to use…


Ah! …yes, that is what I wanted to do…
Thanks! :slight_smile:


There’s a lot of stuff like that in the jucer that needs better help tips.


i’ll surely have a section in the tutorial about it too :slight_smile: