~ubuntu-branches/debian/experimental/apt/experimental

« back to all changes in this revision

Viewing changes to apt-pkg/contrib/cdromutl.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2010-02-18 22:07:23 UTC
  • mfrom: (9.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100218220723-zb7zdh6fmsmp30tr
Tags: 0.7.26~exp2
fix crash when LANGUAGE is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
using std::string;
16
16
 
17
 
bool MountCdrom(string Path);
 
17
// mount cdrom, DeviceName (e.g. /dev/sr0) is optional
 
18
bool MountCdrom(string Path, string DeviceName="");
18
19
bool UnmountCdrom(string Path);
19
20
bool IdentCdrom(string CD,string &Res,unsigned int Version = 2);
20
21
bool IsMounted(string &Path);