[gmpi] Re: ABI's / Nutshell

Yep, GMPI_Plugin_GUI objects for one.


Shouldn't one of those come from the plug instance it's meant to control, instead of the factory?

No. Might pay to read the requirements on that.

Just re-checked them, see nothing there that says a GUI instance isn't tied to a plug instance. Just what do you mean, and can you point me to a supporting req # please?



  Is it for managing plug API version changes?
Yep.

Couldn't the factory or the metadata provide that more simply?

More simply than a single function?

It's not simple to go all the way through populating plug menus and instantiating a plug object, only to find out you can't use it because API versions don't match. Meantime memory's chewed and the user's irritated. The factory or metadata can know this, so we can head this off, so we must.



More robustly than a mechanism that returns NULL if the host doesn't support the plugin version?
More flexible than a mechanism whereby the plugin can choose to support say GMPI V1 and V3 but not V2?

if( !( iSupportGmpiApiVersion( yourFactory-->getGmpiApiVersion() ) ) { getRidOf( yourPlugDll ); }


What's complicated, unreliable, or inflexible about that?


Best Regards,

Jeff McClintock - explaining interfaces to the world... one person at a time.

Same to you.

-- Chris G. - explaining doing what the job requires to the world... one person at a time

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: