equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #if !defined(__STARTUPSPLASHSCREEN_H__) |
|
17 #define __STARTUPSPLASHSCREEN_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 #include "StartupCommand.h" |
|
21 |
|
22 /** Class to start and stop the splash screen. This command is designed to work |
|
23 with the techview splash screen, which uses a global chunk to signal that it |
|
24 should terminate. |
|
25 @internalComponent |
|
26 @deprecated |
|
27 */ |
|
28 class CStartupSplashScreen : public CBase, public MStartupCommand |
|
29 { |
|
30 public: |
|
31 static CStartupSplashScreen* NewL(TBool aStart, HBufC* aPath = 0); |
|
32 static CStartupSplashScreen* NewLC(TBool aStart, HBufC* aPath = 0); |
|
33 ~CStartupSplashScreen(); |
|
34 |
|
35 // from MStartupCommand |
|
36 void Execute(TRequestStatus& aStatus); |
|
37 void Release(); |
|
38 |
|
39 private: |
|
40 CStartupSplashScreen(TBool aStart, HBufC* aPath = 0); |
|
41 |
|
42 TInt StartSplashScreen(); |
|
43 TInt KillSplashScreen(); |
|
44 |
|
45 private: |
|
46 TBool iStartSplash; |
|
47 HBufC* iSplashPath; |
|
48 }; |
|
49 |
|
50 #endif |