3 * An interface for managing applications. This can be a lot. E.g.:
5 * - Un-/locking applications
6 * - Creating selectors for the selector-mode
10 * @author Roland Haeder <webmaster@mxchange.org>
12 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
13 * @license GNU GPL 3.0 or any newer version
14 * @link http://www.ship-simu.org
16 * This program is free software: you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation, either version 3 of the License, or
19 * (at your option) any later version.
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
26 * You should have received a copy of the GNU General Public License
27 * along with this program. If not, see <http://www.gnu.org/licenses/>.
29 interface ManageableApplication extends FrameworkInterface {
31 * Getter for application's version number
33 * @return $appVersion The application's version number
35 function getAppVersion ();
37 * Setter for application's version number
39 * @param $appVersion The application's version number
42 function setAppVersion ($appVersion);
45 * Getter for application's human-readable name
47 * @return $appName The application's name readable for humans
49 function getAppName ();
52 * Setter for application's human-readable name
54 * @param $appName The application's name readable for humans
57 function setAppName ($appName);
60 * Getter for application's short uni*-like name
62 * @return $shortName The application's name readable for humans
64 function getAppShortName ();
67 * Setter for application's short uni*-like name
69 * @param $shortName The application's name readable for humans
72 function setAppShortName ($shortName);
75 * Getter for master template name
77 * @return $masterTemplate Name of the master template
79 function getMasterTemplate ();
82 * Launches the application
86 function entryPoint ();
89 * Handle the indexed array of fatal messages and puts them out in an
92 * @param $messageList An array of fatal messages
95 function handleFatalMessages (array $messageList);