12 #ifndef ZYPP_MEDIA_MEDIAACCESS_H
13 #define ZYPP_MEDIA_MEDIAACCESS_H
53 typedef intrusive_ptr<MediaAccess>
Ptr;
54 typedef intrusive_ptr<const MediaAccess>
constPtr;
77 bool exactIdMatch)
const;
95 void open(
const Url&
url,
const Pathname & preferred_attach_point =
"" );
148 void attach(
bool next =
false);
170 unsigned int & index)
const;
189 Pathname
localPath(
const Pathname & pathname )
const;
213 void release(
const std::string & ejectDev =
"" );
232 void provideFile(
const Pathname & filename )
const;
241 void releaseFile(
const Pathname & filename )
const;
252 void provideDir(
const Pathname & dirname )
const;
272 void releaseDir(
const Pathname & dirname )
const;
285 void releasePath(
const Pathname & pathname )
const;
307 void dirInfo( std::list<std::string> & retlist,
308 const Pathname & dirname,
bool dots =
true )
const;
323 const Pathname & dirname,
bool dots =
true )
const;
342 virtual std::ostream &
dumpOn( std::ostream & str )
const;
355 void getFile(
const Url &from,
const Pathname &to );
395 if (
_file.empty() ) {
445 std::ostream &
operator<<( std::ostream & str,
const MediaAccess & obj );
452 #endif // ZYPP_MEDIA_MEDIAACCESS_H