equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-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: Backup Plugin interface inline methods |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "logger.h" |
|
20 |
|
21 using namespace java::backup; |
|
22 |
|
23 inline CBackupPlugin* CBackupPlugin::NewL(const TDesC8& aMatchString) |
|
24 { |
|
25 |
|
26 TEComResolverParams params; |
|
27 params.SetDataType(aMatchString); |
|
28 ELOG(EBackup, "Inside Backupplugin"); |
|
29 |
|
30 return REINTERPRET_CAST(CBackupPlugin*, |
|
31 REComSession::CreateImplementationL( |
|
32 KBackupEcomIfTUid, |
|
33 _FOFF(CBackupPlugin, |
|
34 iDtor_ID_Key), params)); |
|
35 |
|
36 } |
|
37 |
|
38 inline CBackupPlugin::~CBackupPlugin() |
|
39 { |
|
40 REComSession::DestroyedImplementation(iDtor_ID_Key); |
|
41 } |
|
42 |
|
43 inline void CBackupPlugin::ListAllImplementationsL(RImplInfoPtrArray& aImplInfoArray) |
|
44 { |
|
45 REComSession::ListImplementationsL(KBackupEcomIfTUid, aImplInfoArray); |
|
46 } |