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.

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

Flush unwritten changes.

write
void write(string name, T v)

Write value.

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

Meta