summaryrefslogtreecommitdiff
path: root/project2/ice/iceboxOptionsSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/ice/iceboxOptionsSource.h')
-rw-r--r--project2/ice/iceboxOptionsSource.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/project2/ice/iceboxOptionsSource.h b/project2/ice/iceboxOptionsSource.h
new file mode 100644
index 0000000..3127fa4
--- /dev/null
+++ b/project2/ice/iceboxOptionsSource.h
@@ -0,0 +1,20 @@
+#ifndef PROJECT2_ICEBOX_OPTIONSSOURCE_H
+#define PROJECT2_ICEBOX_OPTIONSSOURCE_H
+
+#include <optionsSource.h>
+#include <Ice/Communicator.h>
+
+class IceBoxOptionsSource : public OptionsSource {
+ public:
+ IceBoxOptionsSource(Ice::CommunicatorPtr);
+
+ void loadInto(const ConfigConsumer &, const Options::CurrentPlatform & platform) const;
+ boost::posix_time::ptime modifiedTime() const;
+
+ private:
+ Ice::CommunicatorPtr ic;
+ boost::posix_time::ptime startTime;
+};
+
+#endif
+