Update contrib.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
20 #if defined (_MSC_VER) && (_MSC_VER >= 1000)
23 #if (!defined __TEST_ECOM_INTERFACE_H__)
24 #define __TEST_ECOM_INTERFACE_H__
27 #include <ecom/ecom.h>
29 #define CTestEComInterface_UID 0x2000371E
32 class CTestEComInterface : public CBase
36 CTestEComInterface which is an example abstract class being representative
37 of the concrete class which the client wishes to use.
38 It acts as a base, for a real class to provide all the
39 functionality that a client requires.
40 It supplies instantiation & destruction by using
41 the ECom framework, and functional services
42 by using the methods of the actual class.
45 //The function which instantiates an object of this type
46 //using aUid as a resolution parameter.
47 //(eg NewL for a CBase derived object).
48 static CTestEComInterface* NewL(const TUid aUid);
50 //Standardised destructor.
51 virtual ~CTestEComInterface();
53 //Pure interface method
54 //Representative of a method provided on the interface by
55 //the interface definer.
56 virtual void DoMethod1L() = 0;
58 //Pure interface method
59 //Representative of a method provided on the interface by
60 //the interface definer.
61 virtual TInt DoMethod2L() = 0;
65 inline CTestEComInterface();
72 #include "TestEComInterface.inl"
74 #endif /* __TEST_ECOM_INTERFACE_H__ */