compiles now
authorKlaus Kaempf <kkaempf@suse.de>
Fri, 24 Feb 2006 09:47:05 +0000 (09:47 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Fri, 24 Feb 2006 09:47:05 +0000 (09:47 +0000)
zypp/base/GzStream.cc
zypp/base/GzStream.h

index 8622cd0..29eec37 100644 (file)
@@ -10,7 +10,7 @@
 |                                         (C) SuSE Linux Products GmbH |
 \----------------------------------------------------------------------/
 
-  File:       gzstream.cc
+  File:       GzStream.cc
 
   Author:     Michael Andres <ma@suse.de>
   Maintainer: Michael Andres <ma@suse.de>
 
 /-*/
 
-#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
+///////////////////////////////////////////////////////////////////
+
index 7aa4e10..2043b2a 100644 (file)
@@ -10,7 +10,7 @@
 |                                         (C) SuSE Linux Products GmbH |
 \----------------------------------------------------------------------/
 
-  File:       gzstream.h
+  File:       GzStream.h
 
   Author:     Michael Andres <ma@suse.de>
   Maintainer: Michael Andres <ma@suse.de>
   Purpose: Streams reading and writing gzip files.
 
 /-*/
-#ifndef gzstream_h
-#define gzstream_h
+#ifndef ZYPP_BASE_GZSTREAM_H
+#define ZYPP_BASE_GZSTREAM_H
 
 #include <iostream>
 #include <vector>
 #include <zlib.h>
 
 ///////////////////////////////////////////////////////////////////
+namespace zypp
+{ /////////////////////////////////////////////////////////////////
+  ///////////////////////////////////////////////////////////////////
+  namespace base
+  { /////////////////////////////////////////////////////////////////
+
+///////////////////////////////////////////////////////////////////
 //
 //     CLASS NAME : ZlibError
 /**
@@ -252,4 +259,12 @@ typedef fXstream<std::ostream,fgzstreambuf> ofgzstream;
 
 ///////////////////////////////////////////////////////////////////
 
-#endif // gzstream_h
+
+    /////////////////////////////////////////////////////////////////
+  } // namespace base
+  ///////////////////////////////////////////////////////////////////
+  /////////////////////////////////////////////////////////////////
+} // namespace zypp
+///////////////////////////////////////////////////////////////////
+
+#endif // ZYPP_BASE_GZSTREAM_H