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: This class provides container for message. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef APPLICATIONSTATECONTROLLER_H |
|
20 #define APPLICATIONSTATECONTROLLER_H |
|
21 |
|
22 #include "javaosheaders.h" |
|
23 |
|
24 namespace java // codescanner::namespace |
|
25 { |
|
26 |
|
27 namespace runtime // codescanner::namespace |
|
28 { |
|
29 |
|
30 enum ApplicationState |
|
31 { |
|
32 START_APPLICATION, |
|
33 CONTINUE_APPLICATION_STARTUP, |
|
34 CANCEL_APPLICATION_STARTUP, |
|
35 JVM_STARTED, |
|
36 STOPPING_JVM, |
|
37 JVM_STOPPED, |
|
38 CLOSE_APPLICATION |
|
39 }; |
|
40 |
|
41 OS_NONSHARABLE_CLASS(ApplicationStateController) |
|
42 { |
|
43 public: |
|
44 |
|
45 //API |
|
46 virtual void ApplicationStateChangeRequest(ApplicationState state) = 0; |
|
47 |
|
48 protected: |
|
49 //Destructor |
|
50 virtual ~ApplicationStateController() {} |
|
51 |
|
52 }; |
|
53 } //end namespace runtime |
|
54 } //end namespace java |
|
55 |
|
56 #endif // APPLICATIONSTATECONTROLLER_H |
|
57 |