Packets: Fix VariantParser invalid parser access bug
[senf.git] / Utils / Logger / AreaRegistry.ih
index 48b9a56..58709bf 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
-// Copyright (C) 2007 
-// Fraunhofer Institute for Open Communication Systems (FOKUS) 
-// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
 /** \file
     \brief AreaRegistry internal header */
 
-#ifndef IH_AreaRegistry_
-#define IH_AreaRegistry_ 1
+#ifndef IH_SENF_Utils_Logger_AreaRegistry_
+#define IH_SENF_Utils_Logger_AreaRegistry_ 1
 
 // Custom includes
 #include <string>
 #include <vector>
 #include <list>
-#include <boost/date_time/posix_time/posix_time.hpp>
 #include "Levels.hh"
+#include "TimeSource.hh"
 
 ///////////////////////////////ih.p////////////////////////////////////////
 
@@ -47,7 +47,7 @@ namespace detail {
     /** \brief Internal: Area base class */
     struct AreaBase
     {
-        virtual ~AreaBase() {};
+        virtual ~AreaBase();
         
         std::string fullName() const;
         virtual std::string v_name() const;
@@ -57,7 +57,7 @@ namespace detail {
         unsigned limit(StreamBase const & stream) const;
         void updateRoutingCache(Target & target, StreamBase const & stream, unsigned limit) const; 
         void removeRoutingCache(Target & target, StreamBase const & stream) const; 
-        void write(boost::posix_time::ptime timestamp, StreamBase const & stream, unsigned level,
+        void write(time_type timestamp, StreamBase const & stream, unsigned level,
               std::string msg) const;
 
     private: