X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FAreaRegistry.hh;h=82a43ed865f887faf75db3f355de1098c3069dc1;hb=b8ca4a544cce3e6023bb56b712a03d6362f2bb79;hp=178f53197e8d19dcd93cac509965397ffbf20ac0;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/Utils/Logger/AreaRegistry.hh b/Utils/Logger/AreaRegistry.hh index 178f531..82a43ed 100644 --- a/Utils/Logger/AreaRegistry.hh +++ b/Utils/Logger/AreaRegistry.hh @@ -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 // // This program is free software; you can redistribute it and/or modify @@ -23,8 +23,8 @@ /** \file \brief AreaRegistry public header */ -#ifndef HH_AreaRegistry_ -#define HH_AreaRegistry_ 1 +#ifndef HH_SENF_Utils_Logger_AreaRegistry_ +#define HH_SENF_Utils_Logger_AreaRegistry_ 1 // Custom includes #include @@ -77,11 +77,12 @@ namespace log { iterator begin(); ///< Beginning of area name sequence iterator end(); ///< End of area name sequence + detail::AreaBase const * lookup(std::string const & name); + private: AreaRegistry(); void registerArea(detail::AreaBase const & area); - detail::AreaBase const * lookup(std::string const & name); Registry registry_;