equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2008 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: Inline functions for CTelBubbleExtension. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <ecom.h> |
|
20 |
|
21 // ============================ MEMBER FUNCTIONS =============================== |
|
22 // ----------------------------------------------------------------------------- |
|
23 // Destructor. |
|
24 // ----------------------------------------------------------------------------- |
|
25 // |
|
26 inline CTelBubbleExtension::~CTelBubbleExtension() |
|
27 { |
|
28 REComSession::DestroyedImplementation( iDtor_ID_Key ); |
|
29 } |
|
30 |
|
31 // ----------------------------------------------------------------------------- |
|
32 // Two-phased constructor. |
|
33 // ----------------------------------------------------------------------------- |
|
34 // |
|
35 inline CTelBubbleExtension* CTelBubbleExtension::NewL( |
|
36 TUid aImplementationUid ) |
|
37 { |
|
38 TAny* ptr( NULL ); |
|
39 TInt32 keyOffset = _FOFF( CTelBubbleExtension, iDtor_ID_Key ); |
|
40 ptr = REComSession::CreateImplementationL( |
|
41 aImplementationUid, |
|
42 keyOffset ); |
|
43 |
|
44 CTelBubbleExtension* plugin = |
|
45 reinterpret_cast <CTelBubbleExtension*> (ptr); |
|
46 return plugin; |
|
47 } |
|
48 |
|
49 // End of File |
|