void
DeviceProfile::reload_device_profiles ()
{
- DeviceProfile dp;
vector<string> s;
vector<string> devprofiles;
Searchpath spath (devprofile_search_path());
for (vector<string>::iterator i = devprofiles.begin(); i != devprofiles.end(); ++i) {
string fullpath = *i;
+ DeviceProfile dp; // has to be initial every loop or info from last added.
XMLTree tree;
}
/* name is mandatory */
-
+
if ((child = node.child ("Name")) == 0 || (prop = child->property ("value")) == 0) {
return -1;
} else {