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: |
|
15 * |
|
16 */ |
|
17 |
|
18 package com.nokia.mj.impl.rt.legacy; |
|
19 |
|
20 import java.util.Hashtable; |
|
21 import javax.microedition.midlet.MIDlet; |
|
22 |
|
23 |
|
24 /** |
|
25 * A class for porting legacy JSRs to new runtime. |
|
26 */ |
|
27 class LegacySymbian extends LegacySupport |
|
28 { |
|
29 |
|
30 /** |
|
31 * @see com.nokia.mj.impl.rt.legacy.LegacySupport#init(java.util.Hashtable, boolean) |
|
32 */ |
|
33 protected void initImpl(Hashtable args, boolean startInBackGround) |
|
34 { |
|
35 ToolkitInvoker.getToolkitInvoker(). |
|
36 createToolkit(args, startInBackGround); |
|
37 EventProcessor.startEventProcessing(); |
|
38 } |
|
39 |
|
40 /** |
|
41 * @see com.nokia.mj.impl.rt.legacy.LegacySupport#setMidlet(java.lang.Object) |
|
42 */ |
|
43 protected void setMidletImpl(Object midlet) |
|
44 { |
|
45 LegacyRtPort.setMidlet((MIDlet)midlet); |
|
46 } |
|
47 |
|
48 /** |
|
49 * @see com.nokia.mj.impl.rt.legacy.LegacySupport#close(java.lang.Object) |
|
50 */ |
|
51 protected void closeImpl() |
|
52 { |
|
53 EventProcessor.exitThreads(); |
|
54 } |
|
55 } |
|