equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 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: Interface class to notify data changes to the plugin. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MPLUGINDATACHANGEOBSERVER_H |
|
20 #define MPLUGINDATACHANGEOBSERVER_H |
|
21 |
|
22 // FORWARD DECLARATIONS |
|
23 class CCalInstance; |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 NONSHARABLE_CLASS( MPluginDataChangeObserver ) |
|
28 { |
|
29 public: |
|
30 /** |
|
31 * Implement this function to get notifications from AIAgendaPluginEngine. |
|
32 * Engine will call this function whenever plugin's data should be updated. |
|
33 * @since Series 60 2.6 |
|
34 * @param aEntryArray Reference to an array of agenda entries. |
|
35 * Owned by the engine. Data is valid only inside this function. |
|
36 * @param aHadEvents Tells if calendar has any expired events for today. |
|
37 * Only valid for observer type: ECalendarObserver. |
|
38 **/ |
|
39 virtual void PluginDataChanged(const RPointerArray<CCalInstance>& aEntryArray, TBool aHadEvents) = 0; |
|
40 |
|
41 }; |
|
42 |
|
43 #endif // MPLUGINDATACHANGEOBSERVER_H |
|
44 |
|
45 |
|
46 // End of File |