/** \file
\brief TimeSource internal header */
-#ifndef IH_TimeSource_
-#define IH_TimeSource_ 1
+#ifndef IH_SENF_Utils_Logger_TimeSource_
+#define IH_SENF_Utils_Logger_TimeSource_ 1
// Custom includes
#include <boost/scoped_ptr.hpp>
: public senf::singleton<TimeSourceManager>
{
public:
- TimeSourceManager();
-
using senf::singleton<TimeSourceManager>::instance;
time_type now();
void timeSource(std::auto_ptr<TimeSource> source);
private:
+ TimeSourceManager();
boost::scoped_ptr<TimeSource> timeSource_;
+
+ friend class senf::singleton<TimeSourceManager>;
};
}}}