equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-2006 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: The applications that want to use the notification service |
|
15 * need to inherit from this class. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MDRMEVENTOBSERVER_H |
|
22 #define MDRMEVENTOBSERVER_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <DRMEvent.h> |
|
26 |
|
27 // CONSTANTS |
|
28 |
|
29 // MACROS |
|
30 |
|
31 // DATA TYPES |
|
32 |
|
33 // FUNCTION PROTOTYPES |
|
34 |
|
35 // FORWARD DECLARATIONS |
|
36 |
|
37 // CLASS DECLARATION |
|
38 |
|
39 /** |
|
40 * This class offers abstract interface to receive DRM notifications |
|
41 * from DRM notifier. |
|
42 * |
|
43 * @lib DRMCommon.dll |
|
44 * @since S60Rel2.6 |
|
45 */ |
|
46 class MDRMEventObserver |
|
47 { |
|
48 public: // New functions |
|
49 /** |
|
50 * HandleNotificationL |
|
51 * |
|
52 * Callback function for the event notifications |
|
53 * The MDRMEvent object ownership stays with the notifier, |
|
54 * do not delete it |
|
55 * |
|
56 * @param aEvent : an object of the type MDRMEvent |
|
57 * @since S60Rel2.6 |
|
58 */ |
|
59 virtual void HandleEventL( MDRMEvent* aEvent ) = 0; |
|
60 }; |
|
61 |
|
62 #endif // MDRMEVENTOBSERVER_H |
|
63 |
|
64 // End of File |