equal
deleted
inserted
replaced
|
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: Observer interface for a slide effect. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_FSSLIDEEFFECTOBSERVER_H |
|
20 #define C_FSSLIDEEFFECTOBSERVER_H |
|
21 |
|
22 |
|
23 /** |
|
24 * Observer for slide effect. |
|
25 */ |
|
26 NONSHARABLE_CLASS(MFsSlideEffectObserver) |
|
27 { |
|
28 public: |
|
29 |
|
30 /** |
|
31 * |
|
32 */ |
|
33 enum TSlideEffectState |
|
34 { |
|
35 EIdle=0, |
|
36 ESlidingIn=1, |
|
37 ESlidingOut, |
|
38 ESlideInFinished, |
|
39 ESlideOutFinished |
|
40 }; |
|
41 |
|
42 public: |
|
43 /** |
|
44 * Function which will receive notifications about |
|
45 * slide effect state changes. |
|
46 * @param aState Current state of slide affect |
|
47 */ |
|
48 virtual void SlideEffectEvent(MFsSlideEffectObserver::TSlideEffectState aState)=0; |
|
49 }; |
|
50 |
|
51 |
|
52 #endif // C_FSSLIDEEFFECTOBSERVER_H |