Skip to content
Joel Lonbeck edited this page Oct 15, 2015 · 4 revisions

The Configurator provides a unified system for managing application settings. Development of this module may be optional depending on available tools on the platform. For example Android already has sufficient tools for custom configurations.

##Interface

  • string getString(string key)
  • int getInt(string key)
  • bool getBool(string key)
  • setString(string key, string value)
  • setInt(string key, int value)
  • setBool(string key, bool value)

##Defaults The Configurator must be able to read default settings from a configuration file.

##Read-only values The Configurator must provide support for read only values that may not be changed in runtime. These read only values will be defined in a configuration file.

##Write-able values The Configurator must provide support for reading and writing values at runtime.

##Persistent The Configurator must save configuration changes to the disk so that subsequent instances of the application will be able to retrieve the saved changes.