equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @internalComponent |
|
22 Comments : This file contains the placeholder class |
|
23 which represents the interface creation. |
|
24 */ |
|
25 |
|
26 #include "TestEComInterface.h" |
|
27 |
|
28 inline CTestEComInterface::CTestEComInterface() |
|
29 : CBase() |
|
30 /** |
|
31 Constructor |
|
32 @return None |
|
33 */ |
|
34 { |
|
35 // Do nothing |
|
36 } |
|
37 |
|
38 inline CTestEComInterface::~CTestEComInterface() |
|
39 /** |
|
40 Destructor |
|
41 @return None |
|
42 */ |
|
43 { |
|
44 // Destroy any instance variables and then |
|
45 // inform the framework that this specific |
|
46 // instance of the interface has been destroyed. |
|
47 REComSession::DestroyedImplementation(iDtor_ID_Key); |
|
48 } |
|
49 |
|
50 inline CTestEComInterface* CTestEComInterface::NewL(const TUid aUid) |
|
51 /** |
|
52 NewL creates the new interface |
|
53 @return the new interface |
|
54 */ |
|
55 { |
|
56 // The CreateImplementationL method will return |
|
57 // the created item. |
|
58 return REINTERPRET_CAST (CTestEComInterface*, |
|
59 REComSession::CreateImplementationL(aUid, _FOFF(CTestEComInterface,iDtor_ID_Key)) |
|
60 ); |
|
61 } |