equal
deleted
inserted
replaced
|
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __ASSRVANYEVENTOBSERVER_H__ |
|
17 #define __ASSRVANYEVENTOBSERVER_H__ |
|
18 |
|
19 // System includes |
|
20 #include <e32std.h> |
|
21 |
|
22 // User includes |
|
23 #include <asshddefs.h> |
|
24 |
|
25 |
|
26 // |
|
27 // ----> MASSrvAnyEventObserver (header) |
|
28 // |
|
29 /** |
|
30 * Abstract interface for those objects that wish to receive global |
|
31 * server-wide events. |
|
32 */ |
|
33 class MASSrvAnyEventObserver |
|
34 { |
|
35 // |
|
36 public: // FROM MASSrvAnyEventObserver |
|
37 // |
|
38 |
|
39 /** |
|
40 * Called when anything happens which should be cascaded to sessions with an |
|
41 * outstanding "notify on change" event request. |
|
42 * |
|
43 * @param aChangeCode This is an error condition if less than KErrNone, or otherwise |
|
44 * an event enumeration from T |
|
45 */ |
|
46 virtual void MASSrvAnyEventHandleChange(TAlarmChangeEvent aEvent, TAlarmId aAlarmId) = 0; |
|
47 |
|
48 }; |
|
49 |
|
50 #endif |