From b386deafa2d690ad235e9b12c97b71f91080cf72 Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Fri, 24 Feb 2006 09:47:05 +0000 Subject: [PATCH] compiles now --- zypp/base/GzStream.cc | 20 ++++++++++++++++++-- zypp/base/GzStream.h | 23 +++++++++++++++++++---- 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/zypp/base/GzStream.cc b/zypp/base/GzStream.cc index 8622cd0..29eec37 100644 --- a/zypp/base/GzStream.cc +++ b/zypp/base/GzStream.cc @@ -10,7 +10,7 @@ | (C) SuSE Linux Products GmbH | \----------------------------------------------------------------------/ - File: gzstream.cc + File: GzStream.cc Author: Michael Andres Maintainer: Michael Andres @@ -19,7 +19,15 @@ /-*/ -#include "y2util/gzstream.h" +#include "zypp/base/GzStream.h" + +/////////////////////////////////////////////////////////////////// +namespace zypp +{ ///////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////// + namespace base + { ///////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////// // @@ -317,3 +325,11 @@ fgzstreambuf::seekTo( off_type off_r, std::ios_base::seekdir way_r ) } return ret; } + + ///////////////////////////////////////////////////////////////// + } // namespace base + /////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////////////////// +} // namespace zypp +/////////////////////////////////////////////////////////////////// + diff --git a/zypp/base/GzStream.h b/zypp/base/GzStream.h index 7aa4e10..2043b2a 100644 --- a/zypp/base/GzStream.h +++ b/zypp/base/GzStream.h @@ -10,7 +10,7 @@ | (C) SuSE Linux Products GmbH | \----------------------------------------------------------------------/ - File: gzstream.h + File: GzStream.h Author: Michael Andres Maintainer: Michael Andres @@ -18,14 +18,21 @@ Purpose: Streams reading and writing gzip files. /-*/ -#ifndef gzstream_h -#define gzstream_h +#ifndef ZYPP_BASE_GZSTREAM_H +#define ZYPP_BASE_GZSTREAM_H #include #include #include /////////////////////////////////////////////////////////////////// +namespace zypp +{ ///////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////// + namespace base + { ///////////////////////////////////////////////////////////////// + +/////////////////////////////////////////////////////////////////// // // CLASS NAME : ZlibError /** @@ -252,4 +259,12 @@ typedef fXstream ofgzstream; /////////////////////////////////////////////////////////////////// -#endif // gzstream_h + + ///////////////////////////////////////////////////////////////// + } // namespace base + /////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////////////////// +} // namespace zypp +/////////////////////////////////////////////////////////////////// + +#endif // ZYPP_BASE_GZSTREAM_H -- 2.7.4