equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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 physics handling |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MMRPHYSICSOBSERVER_H |
|
19 #define MMRPHYSICSOBSERVER_H |
|
20 |
|
21 //<cmail> |
|
22 #include "esmrdef.h" |
|
23 //</cmail> |
|
24 |
|
25 /** |
|
26 * Observer interface for physics event's end handling |
|
27 * |
|
28 * @see cesmrlistpane.h |
|
29 * @lib esmrgui.lib |
|
30 */ |
|
31 class MMRPhysicsObserver |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * Method to be called when physics wants to notify that physics operation |
|
36 * has ended. By calling this, list pane updates for example |
|
37 * scroll bar and focus. |
|
38 */ |
|
39 virtual void PhysicsEmulationEnded() = 0; |
|
40 |
|
41 /** |
|
42 * Method to be called when physics wants to notify scroll bar that |
|
43 * view position has changed, so that scroll bar can update itself |
|
44 */ |
|
45 virtual void UpdateScrollBarDuringOngoingPhysics() = 0; |
|
46 }; |
|
47 |
|
48 #endif // MMRPHYSICSOBSERVER_H |