convergedcallengine/spsettings/tsrc/public/basic/spsettingsUT/stubs/serviceprovidersettings_stub.cpp
equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 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: Service provider settings stub |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <spsettings.h> |
|
19 #include <spentry.h> |
|
20 |
|
21 CSPSettings* CSPSettings::NewL() |
|
22 { |
|
23 return new (ELeave) CSPSettings; |
|
24 } |
|
25 |
|
26 CSPSettings::CSPSettings() |
|
27 { |
|
28 |
|
29 } |
|
30 |
|
31 CSPSettings::~CSPSettings() |
|
32 { |
|
33 |
|
34 } |
|
35 |
|
36 TInt CSPSettings::FindServiceIdsL( RArray<TUint>& ) |
|
37 { |
|
38 return KErrNone; |
|
39 } |
|
40 |
|
41 TInt CSPSettings::FindEntryL( TUint, CSPEntry& ) |
|
42 { |
|
43 return KErrNone; |
|
44 } |
|
45 |
|
46 TInt CSPSettings::AddEntryL( CSPEntry& ) |
|
47 { |
|
48 return KErrNone; |
|
49 } |
|
50 |
|
51 CSPEntry* CSPEntry::NewLC() |
|
52 { |
|
53 CSPEntry* ret = new (ELeave) CSPEntry; |
|
54 CleanupStack::PushL( ret ); |
|
55 return ret; |
|
56 } |
|
57 |
|
58 TServiceId CSPEntry::GetServiceId() const |
|
59 { |
|
60 return 0; |
|
61 } |
|
62 |
|
63 const RPropertyArray& CSPEntry::GetAllProperties() const |
|
64 { |
|
65 return iPropertyArray; |
|
66 } |
|
67 |
|
68 CSPEntry::CSPEntry() |
|
69 { |
|
70 |
|
71 } |
|
72 |
|
73 CSPEntry::~CSPEntry() |
|
74 { |
|
75 |
|
76 } |
|