equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
45 //protected: |
45 //protected: |
46 // TCallBack iCallBack; |
46 // TCallBack iCallBack; |
47 private: |
47 private: |
48 CMainWindow* iWindow; |
48 CMainWindow* iWindow; |
49 }; |
49 }; |
|
50 |
|
51 /** |
|
52 * CSplashShutdownWatcher |
|
53 */ |
|
54 class CSplashShutdownWatcher : public CActive |
|
55 { |
|
56 private: |
|
57 void ConstructL(); |
|
58 CSplashShutdownWatcher(); |
|
59 public: |
|
60 static CSplashShutdownWatcher* NewL(); |
|
61 ~CSplashShutdownWatcher(); |
|
62 void IssueRequest(); |
|
63 void DoCancel(); |
|
64 void RunL(); |
|
65 private: |
|
66 RProperty iProperty; |
|
67 TInt iPSRemoveSplashState; |
|
68 }; |
|
69 |
50 |
70 |
51 /** |
71 /** |
52 * Base class for all windows |
72 * Base class for all windows |
53 * |
73 * |
54 * @lib SplashScreen.lib |
74 * @lib SplashScreen.lib |
78 virtual void RunL() = 0; // handle completed request |
98 virtual void RunL() = 0; // handle completed request |
79 virtual void HandleKeyEventL (TKeyEvent& aKeyEvent) = 0; |
99 virtual void HandleKeyEventL (TKeyEvent& aKeyEvent) = 0; |
80 |
100 |
81 RWindowGroup Group() {return iGroup;}; |
101 RWindowGroup Group() {return iGroup;}; |
82 |
102 |
83 TInt iPSRemoveSplashState; |
|
84 |
|
85 protected: |
103 protected: |
86 TInt iLastScreenMode; |
104 TInt iLastScreenMode; |
87 |
105 |
88 private: |
106 private: |
89 RWindowGroup iGroup; |
107 RWindowGroup iGroup; |
90 CWindowGc* iGc; |
108 CWindowGc* iGc; |
91 friend class CWsRedrawer; // needs to get at session |
109 friend class CWsRedrawer; // needs to get at session |
92 friend class CWindow; // needs to get at session |
110 friend class CWindow; // needs to get at session |
93 RProperty iProperty; |
|
94 |
111 |
95 }; |
112 }; |
96 |
113 |
97 |
114 |
98 /** |
115 /** |