]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cdrom.h
honor option to disable pulses for the testcases
[apt.git] / apt-pkg / cdrom.h
index 4fc3d39285b727b58518d6a539a12e086d1ebe40..db637b96d15f407705fa8568b96e80df3ff2f064 100644 (file)
@@ -18,7 +18,7 @@ class pkgCdromStatus                                                  /*{{{*/
    int totalSteps;
 
  public:
-   pkgCdromStatus() {};
+   pkgCdromStatus() : totalSteps(0) {};
    virtual ~pkgCdromStatus() {};
 
    // total steps
@@ -69,6 +69,10 @@ class pkgCdrom                                                               /*{{{*/
  public:
    bool Ident(std::string &ident, pkgCdromStatus *log);
    bool Add(pkgCdromStatus *log);
+
+ private:
+   bool MountAndIdentCDROM(Configuration &Database, std::string &CDROM,
+        std::string &ident, pkgCdromStatus * const log);
 };
                                                                        /*}}}*/