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: MCalenWeekCursorCallBack customizes Right and Left key event |
|
15 * of a CFormattedCellListBoxView. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef CALENWEEKCURSOROBSERVER_H |
|
22 #define CALENWEEKCURSOROBSERVER_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <coedef.h> |
|
26 |
|
27 // CLASS DEFINITIONS |
|
28 |
|
29 /** |
|
30 * Listen for cursor movement. |
|
31 */ |
|
32 NONSHARABLE_CLASS( MCalenWeekCursorObserver ) |
|
33 { |
|
34 public: // New function |
|
35 enum TCursorMove |
|
36 { |
|
37 ECalenRight, |
|
38 ECalenLeft, |
|
39 ECalenDown, |
|
40 ECalenUp |
|
41 }; |
|
42 |
|
43 virtual TKeyResponse CursorMovedL(TCursorMove aDir) = 0; |
|
44 |
|
45 |
|
46 virtual void PointerMovedL(TInt aNewColumn) = 0; |
|
47 |
|
48 }; |
|
49 |
|
50 #endif // CALENWEEKCURSOROBSERVER_H |
|
51 |
|
52 |
|
53 // End of File |