equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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 : Declaration of CAknShutdown class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef AKNSHUTDOWNAPPS_H |
|
19 #define AKNSHUTDOWNAPPS_H |
|
20 |
|
21 #include <AknCapServerClient.h> |
|
22 #include <e32base.h> |
|
23 #include <ssm/ssmcustomcommand.h> |
|
24 |
|
25 /** |
|
26 * Custom command for initializing some P&S keys used in the system. |
|
27 */ |
|
28 NONSHARABLE_CLASS( CAknShutdownApps ) |
|
29 : public CBase, |
|
30 public MSsmCustomCommand |
|
31 { |
|
32 public: |
|
33 |
|
34 static CAknShutdownApps* NewL(); |
|
35 virtual ~CAknShutdownApps(); |
|
36 |
|
37 private: // From MSsmCustomCommand |
|
38 |
|
39 TInt Initialize( CSsmCustomCommandEnv* aCmdEnv ); |
|
40 void Execute( const TDesC8& aParams, TRequestStatus& aRequest ); |
|
41 void ExecuteCancel(); |
|
42 void Release(); |
|
43 void Close(); |
|
44 |
|
45 private: |
|
46 |
|
47 CAknShutdownApps(); |
|
48 |
|
49 private: |
|
50 |
|
51 RAknUiServer iAknUiServer; // AknUiServer session. |
|
52 TBool iActive; // Status of the ShutdownApps request. |
|
53 |
|
54 }; |
|
55 |
|
56 #endif // AKNSHUTDOWNAPPS_H |