Utils: Add hexdumpQuote() utility
[senf.git] / Utils / Logger / TimeSource.ih
index c0ab54f..d1a73b1 100644 (file)
@@ -23,8 +23,8 @@
 /** \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>
@@ -40,16 +40,17 @@ namespace detail {
         : 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>;
     };
 
 }}}