]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/application/class_ManageableApplication.php
Opps, forgot this.
[core.git] / inc / classes / interfaces / application / class_ManageableApplication.php
index ec0e2b651cf62c89c01d3fbe75d9720d3844a433..65b98650da969a3a4c7cf861dd3e1fb3bb1e9449 100644 (file)
@@ -7,11 +7,11 @@
  * - Usage statistics
  * - And many more...
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  */
 interface ManageableApplication extends FrameworkInterface {
        /**
-        * Getter for application's version number
-        *
-        * @return      $appVersion     The application's version number
-        */
-       function getAppVersion ();
-       /**
-        * Setter for application's version number
-        *
-        * @param               $appVersion     The application's version number
-        * @return      void
-        */
-       function setAppVersion ($appVersion);
-
-       /**
-        * Getter for application's human-readable name
-        *
-        * @return      $appName        The application's name readable for humans
-        */
-       function getAppName ();
-
-       /**
-        * Setter for application's human-readable name
+        * Launches the application
         *
-        * @param               $appName        The application's name readable for humans
         * @return      void
         */
-       function setAppName ($appName);
-
-       /**
-        * Getter for application's short uni*-like name
-        *
-        * @return      $shortName      The application's name readable for humans
-        */
-       function getAppShortName ();
+       function entryPoint ();
 
        /**
-        * Setter for application's short uni*-like name
+        * Handle the indexed array of fatal messages and puts them out in an
+        * acceptable fasion
         *
-        * @param               $shortName      The application's name readable for humans
+        * @param       $messageList    An array of fatal messages
         * @return      void
         */
-       function setAppShortName ($shortName);
-
-       /**
-        * Getter for master template name
-        *
-        * @return      $masterTemplate         Name of the master template
-        */
-       function getMasterTemplate ();
+       function handleFatalMessages (array $messageList);
 
        /**
-        * Launches the application
+        * Builds the master template's name
         *
-        * @return      void
+        * @return      $masterTemplateName             Name of the master template
         */
-       function entryPoint ();
+       function buildMasterTemplateName();
 
        /**
-        * Handle the indexed array of fatal messages and puts them out in an
-        * acceptable fasion
+        * Assigns extra application-depending data
         *
-        * @param       $messageList    An array of fatal messages
+        * @param       $templateInstance       An instance of a CompileableTemplate
         * @return      void
+        * @todo        Nothing to add?
         */
-       function handleFatalMessages (array $messageList);
+       function assignExtraTemplateData (CompileableTemplate $templateInstance);
 }
 
 // [EOF]