|
1 /* |
|
2 * Copyright (c) 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: Plugin interface inline implementation. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <ecom/ecom.h> |
|
20 |
|
21 // ----------------------------------------------------------------------------- |
|
22 // CNSPPlugin::CNSPPlugin |
|
23 // ----------------------------------------------------------------------------- |
|
24 // |
|
25 inline CNSPPlugin* CNSPPlugin::NewL( TUid aUid ) |
|
26 { |
|
27 return ( reinterpret_cast<CNSPPlugin*>( REComSession::CreateImplementationL( |
|
28 aUid, _FOFF( CNSPPlugin, iDtor_ID_Key ) ) ) ); |
|
29 } |
|
30 |
|
31 // ----------------------------------------------------------------------------- |
|
32 // CNSPPlugin::~CNSPPlugin |
|
33 // ----------------------------------------------------------------------------- |
|
34 // |
|
35 inline CNSPPlugin::~CNSPPlugin() |
|
36 { |
|
37 REComSession::DestroyedImplementation( iDtor_ID_Key ); |
|
38 } |
|
39 |
|
40 // ----------------------------------------------------------------------------- |
|
41 // CNSPPlugin::SetSessionParam |
|
42 // ----------------------------------------------------------------------------- |
|
43 // |
|
44 inline TInt CNSPPlugin::SetSessionParam( TUint /*aSessionId*/, |
|
45 TNSPSessionParamKey /*aParamKey*/, TUint /*aParamValue*/ ) |
|
46 { |
|
47 return KErrNotSupported; |
|
48 } |
|
49 |
|
50 // ----------------------------------------------------------------------------- |
|
51 // CNSPPlugin::GetSessionParam |
|
52 // ----------------------------------------------------------------------------- |
|
53 // |
|
54 inline TInt CNSPPlugin::GetSessionParam( TUint /*aSessionId*/, |
|
55 TNSPSessionParamKey /*aParamKey*/ ) |
|
56 { |
|
57 return KErrNotSupported; |
|
58 } |
|
59 |
|
60 // end of file |