plugin theory
plugin theory
- Subject: plugin theory
- From: Ryan Glover <email@hidden>
- Date: Sun, 9 Apr 2006 13:58:06 -0400
Hello,
I am attempting to develop an application that will utilize plugins
and I am trying to wrap my head around loading plugins into the main
application. In my application a plugin will contain an object that
the main application may want 0, 1 or more of. When my program loads
it finds available plugins and populates a menu with them. The user
then selects the menu item to receive another instance of the class.
My mental disconnect has to do with the instantiation of plugins.
When a plugin is loaded, does that mean its class has been
instantiated? Another way to put it would be, do I need to load the
plugin for each instance of the plugin class I want in my main
application? In my mind, the app should launch, create a list of
available plugins and populate the menu with their names and only
when the user selects the menu option is an instance created. Is it
possible to create a list of available plugins without creating an
instance of each of the plugins?
Thank you,
Ryan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden