Config

Cross-platform API for storing and retrieving the application's configuration. On Windows, the Windows registry is used. On POSIX, configuration is stored in the XDG configuration directory ("~/.config").

Constructors

this
this(string appName, string companyName)
Undocumented in source.
this
this(string appName, string companyName)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

read
T read(string name, T defaultValue)

Read value.

save
void save()

Flush unwritten changes.

save
void save()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(string name, T v)

Write value.

Meta