Designing a module framework for my application
-
Hello,
I am interested in making loadable 'modules' for my web browser. Modules are 'sandboxed' away from the rest of the web browser, but still have some access to various slots. An example would be an image processing program that receives input from the browser and then outputs the results back to the web browser. I have been thinking about getting into QProcess for these modules but I'm not sure. Here are my questions:
- how can I tell the browser which modules to load? I've been thinking about using XML.
- how do I sandbox and run these modules? Ive been thinking about QProcess.
- how do I send/receive data to and from the modules and let the modules have access to SOME slots.
- how do I let modules interact with widgets in the main browser?
I know thats a lot of questions, but Im really interested. I suppose my 'modules' are similar to how other browser extensions work such as adding elements to the GUI, etc.
Thanks!