2 * Copyright (c) 2003, Robert Collins
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
12 * Written by Robert Collins <rbtcollins@hotmail.com>
16 #include "UserSettings.h"
22 main (int argc
, char **argv
)
24 UserSettings settings
;
25 UserSettings
& i
= UserSettings::instance();
26 i
.set("key", "value");
27 assert(strcmp(i
.get("key"), "value") == 0);