|
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: Calendar preview pane, shows currently focused |
|
15 * day's events |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef MCALENPREVIEW_H |
|
20 #define MCALENPREVIEW_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> // TTime |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class CCalInstance; |
|
27 |
|
28 // CLASS DECLARATIONS |
|
29 class MCalenPreview |
|
30 { |
|
31 public: |
|
32 /** |
|
33 * Virtual destructor. |
|
34 */ |
|
35 virtual ~MCalenPreview() { }; |
|
36 |
|
37 /** |
|
38 * Hides the preview pane |
|
39 */ |
|
40 virtual void Hide() = 0; |
|
41 |
|
42 /** |
|
43 * Updates preview pane according aTime |
|
44 * |
|
45 * @param aTime Focused time |
|
46 */ |
|
47 virtual void FocusChangedL( const TTime& aTime ) = 0; |
|
48 |
|
49 /** |
|
50 * Updates preview pane according aInstance |
|
51 * |
|
52 * @param aTime Focused calendar instance |
|
53 */ |
|
54 virtual void FocusChangedL( CCalInstance* aInstance ) = 0; |
|
55 |
|
56 /** |
|
57 * Returns an extension point for this interface or NULL. |
|
58 * @param aExtensionUid Uid of extension |
|
59 * @return Extension point or NULL |
|
60 */ |
|
61 virtual TAny* CalenPreviewExtension( TUid /*aExtensionUid*/ ) |
|
62 { return NULL; } |
|
63 }; |
|
64 |
|
65 #endif // MCALENPREVIEW_H |
|
66 |
|
67 // End of file |