12#ifndef ZYPP_MEDIA_MEDIASOURCE_H
13#define ZYPP_MEDIA_MEDIASOURCE_H
17#include <zypp/Pathname.h>
18#include <zypp/base/String.h>
19#include <zypp/base/PtrTypes.h>
39 MediaSource(
const std::string &_type,
const std::string &_name,
40 unsigned int _maj=0,
unsigned int _min=0,
41 const std::string &_bdir=std::string(),
bool _own=
true)
86 return type +
"<" +
name + tmp1 +
">";
bool empty() const
Test for an empty path.
String related utilities and Regular expression matching.
std::string numstring(char n, int w=0)
Easy-to use interface to the ZYPP dependency resolver.
Wrapper for const correct access via Smart pointer types.