1 /* |
|
2 * s_presencecachereader2.h :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_presencecachereader2.h |
|
15 * |
|
16 */ |
|
17 #ifndef MPRESENCECACHEREADER2STUB_H |
|
18 #define MPRESENCECACHEREADER2STUB_H |
|
19 |
|
20 #include <presencecachereader2.h> |
|
21 |
|
22 class MPresenceCacheReader2Stub : public MPresenceCacheReader2 |
|
23 { |
|
24 |
|
25 public: //Sub interfaces for presence cache reader, Synchonous methods |
|
26 |
|
27 MPresenceBuddyInfo2* PresenceInfoLC(const TDesC& aIdentity); |
|
28 |
|
29 TInt BuddyCountInAllServices() ; |
|
30 |
|
31 TInt BuddyCountInService(const TDesC& aServiceName) ; |
|
32 |
|
33 TInt ServicesCount(); |
|
34 |
|
35 TInt CancelRead() ; |
|
36 |
|
37 public: //Sub interfaces for presence cache reader, Asynchronous methods |
|
38 TInt AllBuddiesPresenceInService(const TDesC& aServiceName, |
|
39 MPresenceCacheReadHandler2* aHandler); |
|
40 |
|
41 public: //Sub interfaces for presence cache reader, Asynchronous methods |
|
42 |
|
43 TInt SetObserverForSubscribedNotifications( |
|
44 MPresenceCacheReadHandler2* aHandler) ; |
|
45 |
|
46 |
|
47 TInt SubscribePresenceBuddyChangeL(const TDesC& aIdentity); |
|
48 |
|
49 void UnSubscribePresenceBuddyChangeL(const TDesC& aIdentity) ; |
|
50 }; |
|
51 |
|
52 |
|
53 |
|
54 #endif //MPRESENCECACHEREADER2STUB_H |
|
55 |
|
56 |
|
57 |
|