00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00009 00010 #ifndef ZYPP_PARSER_PLAINDIR_REPOPARSER_H 00011 #define ZYPP_PARSER_PLAINDIR_REPOPARSER_H 00012 00013 #include <iosfwd> 00014 00015 #include "zypp/base/PtrTypes.h" 00016 #include "zypp/base/NonCopyable.h" 00017 00018 #include "zypp/data/RecordId.h" 00019 #include "zypp/data/ResolvableDataConsumer.h" 00020 00021 #include "zypp/ProgressData.h" 00022 #include "zypp/RepoStatus.h" 00023 00025 namespace zypp 00026 { 00027 00028 namespace parser 00029 { 00030 00031 namespace plaindir 00032 { 00033 00037 RepoStatus dirStatus( const Pathname &dir ); 00038 00041 class RepoParser : private base::NonCopyable 00042 { 00043 public: 00050 RepoParser( const data::RecordId & repositoryId_r, 00051 data::ResolvableDataConsumer & consumer_r, 00052 const ProgressData::ReceiverFnc & fnc_r = ProgressData::ReceiverFnc() ); 00054 ~RepoParser(); 00055 00061 void parse( const Pathname & reporoot_r ); 00062 00063 public: 00064 class Impl; 00065 private: 00066 RW_pointer<Impl,rw_pointer::Scoped<Impl> > _pimpl; 00067 }; 00069 00071 } // namespace plaindir 00074 } // namespace parser 00077 } // namespace zypp 00079 #endif // ZYPP2_PARSER_SUSETAGS_REPOPARSER_H
1.5.3