instantmessagesalert/tsrc/testinstantmsgalert/src/stubs/s_presenceinfofieldcollection.h
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.h |
|
15 * |
|
16 */ |
|
17 #ifndef MXIMPFWPRESENCEINFOFIELDCOLLECTIONSTUB_H |
|
18 #define MXIMPFWPRESENCEINFOFIELDCOLLECTIONSTUB_H |
|
19 |
|
20 #include <presenceinfofieldcollection.h> |
|
21 |
|
22 class MPresenceInfoFieldCollectionStub : public MPresenceInfoFieldCollection |
|
23 { |
|
24 TInt FieldCount() const; |
|
25 |
|
26 const MPresenceInfoField& FieldAt( TInt aIndex ) const; |
|
27 |
|
28 void LookupFieldByFieldType( MPresenceInfoField*& aPresenceInfoField, |
|
29 const TDesC8& aMatch ) const; |
|
30 |
|
31 virtual TInt DeleteFieldByFieldType(const TDesC8& aMatch ); |
|
32 |
|
33 void AddOrReplaceFieldL( MPresenceInfoField* aPresenceInfoField ); |
|
34 |
|
35 const TAny* GetInterface( |
|
36 TInt32 aInterfaceId, |
|
37 TIfGetOps aOps ) const; |
|
38 |
|
39 TAny* GetInterface( |
|
40 TInt32 aInterfaceId, |
|
41 TIfGetOps aOps ); |
|
42 |
|
43 TInt32 GetInterfaceId() const; |
|
44 }; |
|
45 |
|
46 |
|
47 |
|
48 #endif //MXIMPFWPRESENCEINFOFIELDCOLLECTION_H |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|