-void obResource::setValue(const std::string &rname, bool value) {
- assert(rname.c_str() != NULL);
- assert(m_database != NULL);
+void Resource::create() {
+ if (m_database != NULL)
+ XrmDestroyDatabase(m_database);
+ m_modified = false;
+ ASSERT(NULL != (m_database = XrmGetStringDatabase("")));
+}
+
+void Resource::setValue(const std::string &rname, bool value) {
+ ASSERT(m_database != NULL);