00001 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // 00015 00016 #ifndef __CINTERFACECLIENT_H 00017 #define __CINTERFACECLIENT_H 00018 00019 #include <interface.h> 00020 00021 // Example ECOM client that uses the InterfaceImplementation plug-ins 00022 // through the InterfaceDefinition (CExampleInterface) interface 00023 class TInterfaceClient 00024 { 00025 public: 00026 // Gets the default implementation of CExampleInterface 00027 void GetDefaultL(); 00028 00029 // Gets a CExampleInterface implementation by requesting 00030 // a specific types of capability 00031 void GetBySpecificationL(); 00032 00033 // Gets all the CExampleInterface implementations 00034 void GetByDiscoveryL(); 00035 }; 00036 00037 #endif 00038