equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2009 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: MR observer for the custom list pane |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MMRFIELDCONTAINEROBSERVER_H |
|
19 #define MMRFIELDCONTAINEROBSERVER_H |
|
20 |
|
21 //<cmail> |
|
22 #include "esmrdef.h" |
|
23 //</cmail> |
|
24 |
|
25 class CESMRField; |
|
26 |
|
27 /** |
|
28 * Observer interface for scrolling fields up and down. |
|
29 * |
|
30 * @see cmrlistpane.h |
|
31 * @lib esmrgui.lib |
|
32 */ |
|
33 class MMRFieldContainerObserver |
|
34 { |
|
35 public: |
|
36 /** |
|
37 * Scrolls list items up |
|
38 * @param aPx Amount of scroll in pixels |
|
39 */ |
|
40 virtual void ScrollFieldsUp( TInt aPx ) = 0; |
|
41 |
|
42 /** |
|
43 * Scrolls list items down |
|
44 * @param aPx Amount of scroll in pixels |
|
45 */ |
|
46 virtual void ScrollFieldsDown( TInt aPx ) = 0; |
|
47 |
|
48 /** |
|
49 * Tells to the list pane that scroll bar |
|
50 * and physics require updating. |
|
51 * |
|
52 * @param aPx Amount of scroll in pixels |
|
53 */ |
|
54 virtual void UpdateScrollBarAndPhysics() = 0; |
|
55 |
|
56 }; |
|
57 |
|
58 #endif // MMRFIELDCONTAINERPOSITIONOBSERVER_H |