uiservicetab/vimpstengine/tsrc/vimpstengine_ut/src/stubs/s_servicepresenceinfo.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: s_servicepresenceinfo.cpp |
|
15 * |
|
16 */ |
|
17 #include "s_servicepresenceinfo.h" |
|
18 #include "s_presenceinfofieldcollection.h" |
|
19 |
|
20 MPresenceInfoFieldCollectionStub gMPresenceInfoFieldCollection; |
|
21 |
|
22 const TPtrC8 MServicePresenceInfoStub::ServiceType() const |
|
23 { |
|
24 return KNullDesC8(); |
|
25 } |
|
26 |
|
27 void MServicePresenceInfoStub::SetServiceTypeL( const TDesC8& /*aServiceType*/ ) |
|
28 { |
|
29 } |
|
30 |
|
31 const MPresenceInfoFieldCollection& MServicePresenceInfoStub::Fields() const |
|
32 { |
|
33 MPresenceInfoFieldCollection* collection = NULL; |
|
34 return *collection; |
|
35 } |
|
36 |
|
37 MPresenceInfoFieldCollection& MServicePresenceInfoStub::Fields() |
|
38 { |
|
39 return gMPresenceInfoFieldCollection; |
|
40 } |
|
41 |
|
42 const TAny* MServicePresenceInfoStub::GetInterface( |
|
43 TInt32 /*aInterfaceId*/, |
|
44 TIfGetOps /*aOps*/ ) const |
|
45 { |
|
46 return NULL; |
|
47 } |
|
48 |
|
49 TAny* MServicePresenceInfoStub::GetInterface( |
|
50 TInt32 /*aInterfaceId*/, |
|
51 TIfGetOps /*aOps*/ ) |
|
52 { |
|
53 return NULL; |
|
54 } |
|
55 |
|
56 TInt32 MServicePresenceInfoStub::GetInterfaceId() const |
|
57 { |
|
58 return 0; |
|
59 } |