00001
00002
00003
00004
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
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 }
00069 }
00071 #endif // ZYPP2_CACHE_CACHEFSCK_H