Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending the core IPlug2 classes without changing the IPlug2 source code #1186

Open
asedev opened this issue Dec 26, 2024 · 3 comments
Open

Comments

@asedev
Copy link

asedev commented Dec 26, 2024

Add the possibility of extending the core IPlug2 classes like IGraphics or IControl without changing the IPlug2 source code.

I am considering a similar system for selecting the IGraphics drawing class.

@etheory
Copy link

etheory commented Feb 17, 2025

Could you please be a bit more specific? I've managed to do just this perfectly fine via inheritance. What do you mean specifically?

@olilarkin
Copy link
Member

I believe @asedev is asking for a way to add new graphics backends without modifying core includes such as in IGraphicsSelect.h. Such a thing could be possible with a factory function approach. For now all I can recommend is that you just fork iPlug2

@olilarkin
Copy link
Member

IControl should just be inherited from, since changing it dramatically would break lots of people's plug-ins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants