+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: Config_Prop.cpp
// Created: 18 Sep 2014
// Author: Mikhail PONIKAROV
if (theValue != myValue) {
myValue = theValue;
static const Events_ID aChangedEvent = Events_Loop::loop()->eventByName("PreferenceChanged");
- Events_Loop::loop()->send(boost::shared_ptr<Events_Message>(
+ Events_Loop::loop()->send(std::shared_ptr<Events_Message>(
new Events_Message(aChangedEvent, this)));
}
}
+
+void Config_Prop::setDefaultValue(const std::string& theValue)
+{
+ if (theValue != myDefaultValue) {
+ myDefaultValue = theValue;
+ }
+}