1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // Multi-Phasic Applications: SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc
.squirreljme
.plugin
.util
;
13 * This is used to allow for unassisted launches when building ROMs and
18 public final class UnassistedLaunchEntry
20 /** MIDlet starting class. */
21 public static final String MIDLET_MAIN_CLASS
=
22 "javax.microedition.midlet.__MainHandler__";
24 /** The main entry class. */
25 public final String mainClass
;
27 /** The arguments to the call. */
28 private final String
[] _args
;
31 * Initializes the unassisted launch entry.
33 * @param __mainClass The main class.
34 * @param __args The arguments to the call.
37 public UnassistedLaunchEntry(String __mainClass
, String
... __args
)
39 this.mainClass
= __mainClass
;
44 * Returns the launch arguments.
46 * @return The launch arguments.
49 public final String
[] args()
51 return this._args
.clone();