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