instantmessagesalert/tsrc/testinstantmsgalert/src/stubs/s_presenceinfofieldcollection.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_presenceinfofieldcollection.cpp |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "s_presenceinfofieldcollection.h" |
|
19 |
|
20 TInt MPresenceInfoFieldCollectionStub::FieldCount() const |
|
21 { |
|
22 return KErrNone; |
|
23 } |
|
24 |
|
25 const MPresenceInfoField& MPresenceInfoFieldCollectionStub::FieldAt( TInt /*aIndex*/ ) const |
|
26 { |
|
27 MPresenceInfoField* field = NULL; |
|
28 return *field; |
|
29 } |
|
30 |
|
31 void MPresenceInfoFieldCollectionStub::LookupFieldByFieldType( |
|
32 MPresenceInfoField*& /*aPresenceInfoField*/, |
|
33 const TDesC8& /*aMatch*/ ) const |
|
34 { |
|
35 } |
|
36 |
|
37 TInt MPresenceInfoFieldCollectionStub::DeleteFieldByFieldType(const TDesC8& /*aMatch*/ ) |
|
38 { |
|
39 return KErrNone; |
|
40 } |
|
41 |
|
42 |
|
43 void MPresenceInfoFieldCollectionStub::AddOrReplaceFieldL( MPresenceInfoField* /*aPresenceInfoField*/ ) |
|
44 { |
|
45 } |
|
46 |
|
47 const TAny* MPresenceInfoFieldCollectionStub::GetInterface( |
|
48 TInt32 /*aInterfaceId*/, |
|
49 TIfGetOps /*aOps*/ ) const |
|
50 { |
|
51 return NULL; |
|
52 } |
|
53 |
|
54 TAny* MPresenceInfoFieldCollectionStub::GetInterface( |
|
55 TInt32 /*aInterfaceId*/, |
|
56 TIfGetOps /*aOps*/ ) |
|
57 { |
|
58 return NULL; |
|
59 } |
|
60 |
|
61 TInt32 MPresenceInfoFieldCollectionStub::GetInterfaceId() const |
|
62 { |
|
63 return 0; |
|
64 } |
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|