-
Notifications
You must be signed in to change notification settings - Fork 2
Description
It would be really helpful to download the PolyEditor as user and write custom plugins with python without rebuilding the project and without having to have any cpp code
I imagine that there will be two kinds of projects: API(interface) and Plugin(Implementation) implementations are shared libraries and PI are header only libs. Implementations can use only API libraries (they can't use other plugins directly only through intents/events)
When compiling the PolyEditor API libraries (preferably all) and the PolyPlugin itself should generate python files (something that can be imported by the python script). After importing them user should be able to write plugins that handle/receive/dispatch/invoke intents and eventsdefined in the API libraries that were imported through the generated python script.
I don't think having to write separate interface file (like in SWIG) is a problem. It's only API library and it's not too much code.
I don't have the preferred library for this. It would be nice to use SWIG since it will provide interfaces for other languages not only python but i know it might be easier to use boost.
