]> git.mxchange.org Git - city.git/blobdiff - application/city/config.php
The console part of the game will become a daemon that is taking care of all
[city.git] / application / city / config.php
index 2acf0719edee35ab400153e3d08a7ad197459635..580273eb8e964d982e4bf83059c038fca182dc9a 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
+ * @copyright  Copyright (c) 2015 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
 // Some hub-specific configuration like port hostname where we will listen, etc.
 $cfg = FrameworkConfiguration::getSelfInstance();
 
-// CFG: DEFAULT-WEB-COMMAND
-$cfg->setConfigEntry('default_web_command', 'main');
+/******************************************************************************
+ *                                  General                                   *
+ ******************************************************************************/
 
-// CFG: WEB-CMD-MAIN-RESOLVER-CLASS
-$cfg->setConfigEntry('web_cmd_main_resolver_class', 'CityWebCommandResolver');
+// CFG: CITY-DEFAULT-MODE (more is coming)
+$cfg->setConfigEntry('city_default_mode', 'testing');
 
 // CFG: NEWS-DOWNLOAD-FILTER
 $cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter');
@@ -39,8 +40,64 @@ $cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter');
 // CFG: NEWS-READER-CLASS
 $cfg->setConfigEntry('news_reader_class', 'ConsoleNewsReader');
 
-// CFG: NEWS-MAIN-LIMIT
-$cfg->setConfigEntry('news_main_limit', 10);
+// CFG: CITY-INFO-DB-WRAPPER-CLASS
+$cfg->setConfigEntry('city_info_db_wrapper_class', 'CityInformationDatabaseWrapper');
+
+// CFG: CITY-INIT-STATE-CLASS
+$cfg->setConfigEntry('city_init_state_class', 'CityInitState');
+
+/******************************************************************************
+ *                                HTML client                                 *
+ ******************************************************************************/
+
+// CFG: DEFAULT-CITY-HTML-COMMAND
+$cfg->setConfigEntry('default_city_html_command', 'home');
+
+// CFG: CITY-HTML-CMD-HOME-RESOLVER-CLASS
+$cfg->setConfigEntry('city_html_cmd_home_resolver_class', 'CityHtmlCommandResolver');
+
+// CFG: NEWS-HOME-LIMIT
+$cfg->setConfigEntry('news_home_limit', 10);
+
+// CFG: CITY-HOME-MENU-CLASS
+$cfg->setConfigEntry('city_home_menu_class', 'CityHomeMenu');
+
+// CFG: MENU-TEMPLATE-CLASS
+$cfg->setConfigEntry('menu_template_class', 'MenuTemplateEngine');
+
+// CFG: MENU-TEMPLATE-EXTENSION
+$cfg->setConfigEntry('menu_template_extension', '.xml');
+
+/******************************************************************************
+ *                              Console client                                *
+ ******************************************************************************/
+
+// CFG: DEFAULT-CITY-CONSOLE-COMMAND
+$cfg->setConfigEntry('default_city_console_command', 'daemon');
+
+// CFG: CITY-CONSOLE-CMD-DAEMON-RESOLVER-CLASS
+$cfg->setConfigEntry('city_console_cmd_daemon_resolver_class', 'CityConsoleCommandResolver');
+
+// CFG: CITY-PHP-REQUIREMENTS-FILTER
+$cfg->setConfigEntry('city_php_requirements_filter', 'CityPhpRequirementsFilter');
+
+// CFG: CITY-INITIALIZER-FILTER
+$cfg->setConfigEntry('city_initializer_filter', 'CityInitializationFilter');
+
+// CFG: CITY-ACTIVATION-TASK-HANDLER-INITIALIZER-FILTER
+$cfg->setConfigEntry('city_activation_task_handler_initializer_filter', 'CityTaskHandlerInitializerFilter');
+
+// CFG: CITY-WELCOME-TEASER-FILTER
+$cfg->setConfigEntry('city_welcome_teaser_filter', 'CityWelcomeTeaserFilter');
+
+// CFG: CITY-SHUTDOWN-TASK-HANDLER-FILTER
+$cfg->setConfigEntry('city_shutdown_task_handler_filter', 'CityShutdownTaskHandlerFilter');
+
+// CFG: CITY-SHUTDOWN-CITY-FILTER
+$cfg->setConfigEntry('city_shutdown_city_filter', 'CityShutdownCityFilter');
+
+// CFG: NEWS-DAEMON-LIMIT
+$cfg->setConfigEntry('news_daemon_limit', 5);
 
 // [EOF]
 ?>