X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/ce55512d4924b52c985276c62a0c69ac13e203cd..51da0c3587c9d36a3c04b3e28b99d8331a29b230:/apt-pkg/cdrom.h?ds=sidebyside diff --git a/apt-pkg/cdrom.h b/apt-pkg/cdrom.h index db637b96d..bd0902176 100644 --- a/apt-pkg/cdrom.h +++ b/apt-pkg/cdrom.h @@ -1,9 +1,13 @@ #ifndef PKGLIB_CDROM_H #define PKGLIB_CDROM_H +#include + #include #include +#include + #ifndef APT_8_CLEANER_HEADERS #include using namespace std; @@ -71,8 +75,9 @@ class pkgCdrom /*{{{*/ bool Add(pkgCdromStatus *log); private: - bool MountAndIdentCDROM(Configuration &Database, std::string &CDROM, - std::string &ident, pkgCdromStatus * const log); + APT_HIDDEN bool MountAndIdentCDROM(Configuration &Database, std::string &CDROM, + std::string &ident, pkgCdromStatus * const log, bool const interactive); + APT_HIDDEN bool UnmountCDROM(std::string const &CDROM, pkgCdromStatus * const log); }; /*}}}*/ @@ -88,7 +93,7 @@ struct CdromDevice /*{{{*/ class pkgUdevCdromDevices /*{{{*/ { protected: - // libudev dlopen stucture + // libudev dlopen structure void *libudev_handle; struct udev* (*udev_new)(void); int (*udev_enumerate_add_match_property)(struct udev_enumerate *udev_enumerate, const char *property, const char *value);