equal
deleted
inserted
replaced
|
1 // shutapp.h |
|
2 // |
|
3 // Copyright (c) 2007 - 2010 Accenture. All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the "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 // Accenture - Initial contribution |
|
11 // |
|
12 |
|
13 #include <fshell/ioutils.h> |
|
14 |
|
15 using namespace IoUtils; |
|
16 |
|
17 |
|
18 class CCmdShutApp : public CCommandBase |
|
19 { |
|
20 public: |
|
21 static CCommandBase* NewLC(); |
|
22 ~CCmdShutApp(); |
|
23 private: |
|
24 CCmdShutApp(); |
|
25 private: // From CCommandBase. |
|
26 virtual const TDesC& Name() const; |
|
27 virtual void DoRunL(); |
|
28 virtual void OptionsL(RCommandOptionList& aOptions); |
|
29 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
|
30 private: |
|
31 void ShutL(RWsSession& aWsSession, TInt aWindowGroupId); |
|
32 private: |
|
33 RArray<TUint> iWgIds; |
|
34 RPointerArray<HBufC> iWgNames; |
|
35 TInt iTimeout; |
|
36 TBool iForce; |
|
37 TBool iVerbose; |
|
38 TBool iAll; |
|
39 }; |