Today I have finalized the plugin architecture for MCrux.
Each JS plugin should be derived from MCruxPlugin class which provides boilerplate for some of the functionalities of plugin.
They should be defined in different dlls. APIs to get instance of the Plugin class should be provided by defining the function called getMCruxPlugin().
This method returns (MCruxPlugin *)
This architecture seems to be working fine for various kinds of JS plugins. We will refine the architecture once all the other parts of MCrux will be having certain level of stability.
No comments:
Post a Comment