00001
00002
00003
00004
00005
00006
00007
00008
00012 #ifndef ZYPP_PARSER_TAGFILE_MediaPatchesMetadataPARSER_H
00013 #define ZYPP_PARSER_TAGFILE_MediaPatchesMetadataPARSER_H
00014
00015 #include <iosfwd>
00016 #include <set>
00017 #include <map>
00018 #include <list>
00019
00020 #include "zypp/parser/tagfile/ParseException.h"
00021
00022 #include "zypp/Pathname.h"
00023
00025 namespace zypp
00026 {
00027
00028 namespace source
00029 {
00030
00031 namespace susetags
00032 {
00033
00034
00035
00036
00037
00038
00039
00040
00042
00043
00044
00046 struct MediaPatchesMetadataParser
00047 {
00048 struct MediaPatchesEntry {
00049 Pathname dir;
00050 std::string comment;
00051
00052 std::set< std::pair<std::string, std::string> > products;
00053 };
00054
00055 virtual ~MediaPatchesMetadataParser()
00056 {}
00057
00058
00059
00060
00061
00062 void parse( const Pathname & file_r, MediaPatchesEntry &entry_r );
00063 };
00065
00067 }
00070 }
00073 }
00075
00076 #endif // ZYPP_PARSER_TAGFILE_MediaPatchesMetadataPPARSER_H