Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Simple plugin framework
Simple plugin framework [message #8848] Tue, 03 April 2007 17:30 Go to previous message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
I have implemented a simple plugin framework for one of my application. The code compiles and runs on Windows. I have included some support for other platform but it has not been tested.

On the plugin side:
Plugins are dynamic libraries which implement a class I<Plugin> that must inherit from IAddOn.

Plugin libraries must export a Start() function and shall export a Stop() function.

On the host side:
AddOnLoader<I<Plugin>> is used to load plugins and manipulate them. You can load a single plugin or a directory recursively.

Do not hesitate to post feedback (especially if you test on any other platform than Windows).

Thanks,
Victor
  • Attachment: AddOn.zip
    (Size: 6.51KB, Downloaded 412 times)
 
Read Message
Read Message
Read Message
Previous Topic: New UPT: Standard Application
Next Topic: callback4
Goto Forum:
  


Current Time: Sat May 04 12:24:36 CEST 2024

Total time taken to generate the page: 0.02686 seconds