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

  • From: "Koen Tanghe" <koen@xxxxxxxxxxxxxxxxxxx>
  • To: <gmpi@xxxxxxxxxxxxx>
  • Date: Tue, 8 Feb 2005 01:15:48 +0100

On Tuesday, February 08, 2005 1:03 AM [GMT+1=CET],
Tim Hockin <xxxthockin@xxxxxxxxxxxxx> wrote:

>> GMPI_Plugin's 'interface' is defined as a pure abstract base class.
>> This is all the host ever 'sees' to hide the internal details..
>>
>> class IGMPI_Plugin
>> {
>>   virtual void placeholder1(void) = 0;
>>   virtual void placeholder2(void) = 0;
>> };
>
> Again, C first.  Also, why "IGMPI_Plugin"?  what does the leading "I"
> mean?  Is this some convention I just don't know?

"I" from "interface". It's quite common use, and in C++, it's a pure
abstract base class.

Koen


----------------------------------------------------------------------
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: