CacheFSCK.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP2_CACHE_CACHEFSCK_H
00013 #define ZYPP2_CACHE_CACHEFSCK_H
00014 
00015 #include <iosfwd>
00016 
00017 #include "zypp/base/PtrTypes.h"
00018 #include "zypp/Pathname.h"
00019 
00021 namespace zypp
00022 { 
00023 
00024   namespace cache
00025   { 
00026 
00028     //
00029     //  CLASS NAME : CacheFSCK
00030     //
00034     class CacheFSCK
00035     {
00036       friend std::ostream & operator<<( std::ostream & str, const CacheFSCK & obj );
00037 
00038     public:
00040       class Impl;
00041 
00042     public:
00048       CacheFSCK( const Pathname &dbdir );
00049       
00050       void start();
00052       ~CacheFSCK();
00053 
00054     public:
00055 
00056     private:
00058       RWCOW_pointer<Impl> _pimpl;
00059     };
00061 
00063     std::ostream & operator<<( std::ostream & str, const CacheFSCK & obj );
00064 
00066   } // namespace cache
00069 } // namespace zypp
00071 #endif // ZYPP2_CACHE_CACHEFSCK_H

Generated on Tue Sep 25 19:23:00 2007 for libzypp by  doxygen 1.5.3