X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fmetaproxy%2Fpackage.hpp;h=eaa9fd86114ac59ad0cbc70ef809471f83a5c047;hb=3e584362b6933174b28cf98ff3138a589ed8326d;hp=69fbcb77084d0f38aef649478b35418157d3d862;hpb=e6d572ef110d14fa55115021505b808620457bd3;p=metaproxy-moved-to-github.git diff --git a/include/metaproxy/package.hpp b/include/metaproxy/package.hpp index 69fbcb7..eaa9fd8 100644 --- a/include/metaproxy/package.hpp +++ b/include/metaproxy/package.hpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2010 Index Data + Copyright (C) 2005-2011 Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -35,7 +35,7 @@ namespace metaproxy_1 { namespace std { - std::ostream& operator<<(std::ostream& os, metaproxy_1::Package& p); + std::ostream& operator<<(std::ostream& os, const metaproxy_1::Package& p); } namespace metaproxy_1 { @@ -79,7 +79,8 @@ namespace metaproxy_1 { /// get function - right val in assignment Session session() const; - + + void log(const char *module, int level, const char *fmt, ...) const; private: Session m_session; Origin m_origin;