|
1 /* |
|
2 * Copyright (c) 2008 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 class for event notifier handler |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef EVTNOTIFIEROBSERVER_H |
|
21 #define EVTNOTIFIEROBSERVER_H |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 #include <e32base.h> |
|
26 |
|
27 #include "evtinfonoteinterface.h" |
|
28 #include "evtevent.h" |
|
29 |
|
30 // CONSTANTS |
|
31 |
|
32 // MACROS |
|
33 |
|
34 // DATA TYPES |
|
35 |
|
36 // FUNCTION PROTOTYPES |
|
37 |
|
38 // FORWARD DECLARATIONS |
|
39 |
|
40 // CLASS DECLARATION |
|
41 |
|
42 /** |
|
43 * Interface class for event handlers. event handlers will |
|
44 * use reference of this interface to get event viewer response & |
|
45 * other global objects. |
|
46 * |
|
47 * @since Series 60 9.1 |
|
48 */ |
|
49 class MEvtNotifierObserver |
|
50 { |
|
51 public: |
|
52 |
|
53 /** |
|
54 * Interface for handler to report operation result. |
|
55 * @param aId The id of current handler |
|
56 * @param aErr The operation err code. KErrNone if operation |
|
57 * has been executed successfully. |
|
58 */ |
|
59 virtual void HandlerCompleteL( |
|
60 TEvtInfoNoteResult aResult, |
|
61 CEvtEvent* aEvent ) = 0; |
|
62 }; |
|
63 |
|
64 #endif // EVTNOTIFIEROBSERVER_H |
|
65 |
|
66 // End of File |