|
1 /* |
|
2 * Copyright (c) 2004 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: |
|
15 * This class is the container class of the CStartupOperatorAnimation. |
|
16 * It is used for showing predefined animation. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 #ifndef STARTUPOPERATORANIMATION_H |
|
23 #define STARTUPOPERATORANIMATION_H |
|
24 |
|
25 // INCLUDES |
|
26 #include <coecntrl.h> |
|
27 #include "Startup.hrh" |
|
28 #include "StartupWelcomeAnimation.h" |
|
29 |
|
30 // CONSTANTS |
|
31 |
|
32 // FORWARD DECLARATIONS |
|
33 class CStartupModel; |
|
34 class CAknBitmapAnimation; |
|
35 class CStartupAppUi; |
|
36 |
|
37 // CLASS DECLARATION |
|
38 |
|
39 /** |
|
40 * This class takes care of showing welcome animatio to the user. |
|
41 */ |
|
42 class CStartupOperatorAnimation : public CStartupWelcomeAnimation |
|
43 { |
|
44 public: |
|
45 |
|
46 |
|
47 /** |
|
48 * Two-phased constructor. |
|
49 */ |
|
50 static CStartupOperatorAnimation* NewL( CStartupAppUi* aStartupAppUi, const TRect& aRect); |
|
51 |
|
52 /** |
|
53 * This handles the key events in this control. |
|
54 */ |
|
55 TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType); |
|
56 |
|
57 private: |
|
58 /** |
|
59 * C++ default constructor. |
|
60 */ |
|
61 CStartupOperatorAnimation( CStartupAppUi* aStartupAppUi ); |
|
62 |
|
63 /** |
|
64 * EPOC default constructor |
|
65 */ |
|
66 void ConstructL(const TRect& aRect); |
|
67 |
|
68 /** |
|
69 * Is called by Draw()-function and contains |
|
70 * the drawing intelligence about different states of the execution. |
|
71 */ |
|
72 void DoDrawing() const; |
|
73 }; |
|
74 |
|
75 #endif // STARTUPOPERATORANIMATION_H |
|
76 |
|
77 // End of File |