#include "iceboxOptionsSource.h" IceBoxOptionsSource::IceBoxOptionsSource(Ice::CommunicatorPtr i) : ic(i), startTime(boost::posix_time::microsec_clock::universal_time()) { } boost::posix_time::ptime IceBoxOptionsSource::modifiedTime() const { return startTime; } void IceBoxOptionsSource::loadInto(const ConfigConsumer & consume, const Options::CurrentPlatform & currentPlatform) const { if (!ic) return; auto props = ic->getProperties(); if (!props) return; for (auto & prop : props->getPropertiesForPrefix("project2")) { consume(prop.first.substr(9), "", prop.second, currentPlatform); } }