summaryrefslogtreecommitdiff
path: root/apt-pkg/cdrom.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-02-12 02:12:40 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-02-12 02:24:49 +0100
commitce55512d4924b52c985276c62a0c69ac13e203cd (patch)
tree97e7351ef76efab69ac3522b9311f2fd996af5ca /apt-pkg/cdrom.h
parent62dcbf84c4aee8cb01e40c594d4c7f3a23b64836 (diff)
remove duplication in pkgCdrom::Add and ::Ident
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/cdrom.h')
-rw-r--r--apt-pkg/cdrom.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/cdrom.h b/apt-pkg/cdrom.h
index 7d19eb813..db637b96d 100644
--- a/apt-pkg/cdrom.h
+++ b/apt-pkg/cdrom.h
@@ -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);
};
/*}}}*/