|
1 /* |
|
2 * Copyright (c) 2007 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: Observer of the service handler. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef M_MLOGSEXTSERVICEHANDLEROBSERVER_H |
|
21 #define M_MLOGSEXTSERVICEHANDLEROBSERVER_H |
|
22 |
|
23 |
|
24 /** |
|
25 * Interface to notify service handler observers. |
|
26 * |
|
27 * @lib logsserviceextension.dll |
|
28 * @since S60 v3.2 |
|
29 */ |
|
30 class MLogsExtServiceHandlerObserver |
|
31 { |
|
32 |
|
33 public: |
|
34 /** |
|
35 * Handles the service handler's callback. |
|
36 * |
|
37 * @since S60 v3.2 |
|
38 * @param aServiceId service id |
|
39 * @param aPresentityId presentity id |
|
40 * @param aPresenceStatus a presence status |
|
41 * @param aShowStatus presentity presense status display flag |
|
42 */ |
|
43 virtual void HandlePresentityPresenceStatusL( |
|
44 const TUint32 aServiceId, |
|
45 const TDesC& aPresentityId, |
|
46 const TDesC& aPresenceStatus, |
|
47 TBool aShowStatus ) = 0; |
|
48 |
|
49 /** |
|
50 * This function is used to notify the observer of a service handler |
|
51 * if the presence status of a certain presentity should be displayed |
|
52 * or not. |
|
53 * |
|
54 * @since S60 v3.2 |
|
55 * @param aServiceId service id |
|
56 * @param aPresentityId presentity id |
|
57 * @param aShowStatus presentity presense status display flag |
|
58 */ |
|
59 virtual void SetDisplayStatusFlag( const TUint32 aServiceId, |
|
60 const TDesC& aPresentityId, |
|
61 TBool aShowStatus ) = 0; |
|
62 |
|
63 }; |
|
64 |
|
65 #endif // M_MLOGSEXTSERVICEHANDLEROBSERVER_H |