12 #ifndef ZYPP_MEDIAPRODUCTS_H_
13 #define ZYPP_MEDIAPRODUCTS_H_
38 MediaProductEntry(
const Pathname & dir_r =
"/",
const std::string & name_r = std::string() )
46 return ( res < 0 || ( res == 0 &&
_dir < rhs.
_dir ) );
58 template <
class TOutputIterator>
61 std::ifstream pfile( file_r.asString().c_str() );
62 while ( pfile.good() ) {
66 ERR <<
"Error parsing " << file_r << std::endl;
88 template <
class TOutputIterator>
95 Pathname products_file = Pathname(
"media.1/products");
99 products_file = media_mgr.
localPath (
id, products_file);
104 MIL <<
"No products description found on the Url" << std::endl;