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++ » U++ Developers corner » Question: Simple plugin implementation
Re: Question: Simple plugin implementation [message #30808 is a reply to message #30804] Sun, 23 January 2011 23:53 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Well, this is pretty standard aprroach in fact. And we are using something quite similar e.g. in image format support.

You can make it a little bit nicer using

class Spreadsheet : public SpreadsheetPlugin {
private:
	One<SpreadsheetPlugin> data;


or perhaps you can avoid Spreadsheet and provide

CreateSpreadsheet(One<Spreadsheet>& x, String type);


but it is hard to say what is better... Smile

Mirek

[Updated on: Sun, 23 January 2011 23:54]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Q: howto incorporate a native console window in GUI
Next Topic: BackgroundTask
Goto Forum:
  


Current Time: Sun Jun 02 13:54:16 CEST 2024

Total time taken to generate the page: 0.00957 seconds