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 fade effect. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_FSFADEEFFECTOBSERVER_H |
|
20 #define C_FSFADEEFFECTOBSERVER_H |
|
21 |
|
22 /** |
|
23 * Observer interface for a fade effect. |
|
24 */ |
|
25 NONSHARABLE_CLASS(MFsFadeEffectObserver) |
|
26 { |
|
27 public: |
|
28 |
|
29 /** |
|
30 * |
|
31 */ |
|
32 enum TFadeEffectState |
|
33 { |
|
34 EIdle=0, |
|
35 EFadingIn=1, |
|
36 EFadingOut, |
|
37 EFadeInFinished, |
|
38 EFadeOutFinished |
|
39 }; |
|
40 |
|
41 public: |
|
42 /** |
|
43 * Function which will receive notifications about |
|
44 * fade effect state changes. |
|
45 * @param aState Current state of fade affect |
|
46 */ |
|
47 virtual void FadeEffectEvent(MFsFadeEffectObserver::TFadeEffectState aState)=0; |
|
48 }; |
|
49 |
|
50 #endif // C_FSFADEEFFECTOBSERVER_H |