[gmpi] Re: low level API - Abstract Factory summary

  • From: "Ron Kuper" <RonKuper@xxxxxxxxxxxx>
  • To: <gmpi@xxxxxxxxxxxxx>
  • Date: Wed, 9 Feb 2005 08:57:23 -0500

I was thinking GUIDs.  We could make them string-ified GUIDs if that
helps.  In your opinion are GUIDs as hard to discover and assign as
strings? 

-----Original Message-----
From: gmpi-bounce@xxxxxxxxxxxxx [mailto:gmpi-bounce@xxxxxxxxxxxxx] On
Behalf Of Steve Harris
Sent: Wednesday, February 09, 2005 5:07 AM
To: gmpi@xxxxxxxxxxxxx
Subject: [gmpi] Re: low level API - Abstract Factory summary

On Wed, Feb 09, 2005 at 12:33:33 +1300, jeffmcc@xxxxxxxxxx wrote:
> > HRESULT CreateFactory( CLSID clsidClass, IFactory**
>  ppFactory );
> 
> Hi Ron,
>  So each plugin has a unique ID code, we pass that to the
> factory, it returns a GMPI_Plugin interface.  That's good...

If were working with unique IDs, please make them strings. Its much
easier
to discover and assign globally unique strings that integers.

- Steve 

----------------------------------------------------------------------
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: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe


----------------------------------------------------------------------
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: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: