equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: AppRemover uninstalls Java application |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef APPREMOVER_H |
|
20 #define APPREMOVER_H |
|
21 |
|
22 #include "installoperation.h" |
|
23 #include "javaosheaders.h" |
|
24 #include "javauid.h" |
|
25 using java::util::Uid; |
|
26 |
|
27 namespace java |
|
28 { |
|
29 namespace debug |
|
30 { |
|
31 OS_NONSHARABLE_CLASS(AppRemover) : public InstallOperation |
|
32 { |
|
33 public: |
|
34 AppRemover(const Uid& aSuiteUid); |
|
35 virtual ~AppRemover(); |
|
36 |
|
37 int uninstall(); |
|
38 |
|
39 protected: |
|
40 virtual CommsMessage getNextOperation(); |
|
41 virtual void handleOperationResult(CommsMessage& aMessage); |
|
42 |
|
43 private: |
|
44 const Uid mSuiteUid; |
|
45 |
|
46 bool mUninstallDone; |
|
47 int mUninstallResult; |
|
48 }; |
|
49 |
|
50 } // end namespace debug |
|
51 } // end namespace java |
|
52 |
|
53 |
|
54 #endif // APPREMOVER_H |