equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 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: Interface for Presence Engine Plugins. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __CPEngPluginInterface2_INL__ |
|
19 #define __CPEngPluginInterface2_INL__ |
|
20 |
|
21 |
|
22 inline CPEngPluginInterface2* CPEngPluginInterface2::NewL( TUid aImplementationUid ) |
|
23 { |
|
24 TAny* ptr = REComSession::CreateImplementationL( aImplementationUid, _FOFF( CPEngPluginInterface2, iDtor_ID_Key ) ); |
|
25 CPEngPluginInterface2* impl = reinterpret_cast<CPEngPluginInterface2*>( ptr ); |
|
26 return impl; |
|
27 } |
|
28 |
|
29 inline CPEngPluginInterface2::~CPEngPluginInterface2() |
|
30 { |
|
31 REComSession::DestroyedImplementation(iDtor_ID_Key); |
|
32 } |
|
33 |
|
34 inline CPEngPluginInterface2::CPEngPluginInterface2() |
|
35 { |
|
36 } |
|
37 |
|
38 |
|
39 #endif // __CPEngPluginInterface2_INL__ |
|
40 |
|
41 // End of File |