|
1 /* |
|
2 * Copyright (c) 2006-2007 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: Phonebook 2 Group Feature ECom plug-in interface inline impl. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 /// Unused namespace for local definitions |
|
20 namespace { |
|
21 |
|
22 // Group feature plugin implementation |
|
23 const TUid KGroupFeatureImplementationUid = { 0x102830CF }; |
|
24 |
|
25 } /// namespace |
|
26 |
|
27 |
|
28 // -------------------------------------------------------------------------- |
|
29 // CPbk2GroupFeaturePlugin::~CPbk2GroupFeaturePlugin |
|
30 // -------------------------------------------------------------------------- |
|
31 // |
|
32 inline CPbk2GroupFeaturePlugin::~CPbk2GroupFeaturePlugin() |
|
33 { |
|
34 REComSession::DestroyedImplementation( iDtorIDKey ); |
|
35 } |
|
36 |
|
37 // -------------------------------------------------------------------------- |
|
38 // CPbk2GroupFeaturePlugin::NewL |
|
39 // -------------------------------------------------------------------------- |
|
40 // |
|
41 inline CPbk2GroupFeaturePlugin* CPbk2GroupFeaturePlugin::NewL() |
|
42 { |
|
43 TAny* ptr = REComSession::CreateImplementationL |
|
44 ( KGroupFeatureImplementationUid, |
|
45 _FOFF( CPbk2GroupFeaturePlugin, iDtorIDKey ) ); |
|
46 return REINTERPRET_CAST( CPbk2GroupFeaturePlugin*, ptr ); |
|
47 } |
|
48 |
|
49 // End of File |