Hi, I am writing a MapViewer application which will support plugins. I am currently trying to define an interface for my plug-ins but I keep asking myself the same question: Why don't I just had one method, initialize() which takes a MainWindow* pointer then all plug-ins become "general" and can connect to any signal they want to?
Due to Qt's excellent signal/slot mechanism this seems like the way to go - why limit your plug-ins to a specific interface? Am I missing something obvious here?
Bookmarks