diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-11-06 08:57:59 +0100 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-11-06 08:57:59 +0100 |
commit | f8fac12c5fa287476b781c96807baaa534ef8f76 (patch) | |
tree | 222dd450a4bad958edc608ec575f27aed07ae68a /apt-pkg/acquire-item.h | |
parent | 23e1a70b47329088a8f83bd94f5e774954c4c56a (diff) | |
parent | 9397ea947c23c0957a683152360909810340abce (diff) |
Merge remote-tracking branch 'mvo/feature/no-more-acquire-guessing' into debian/experimental
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r-- | apt-pkg/acquire-item.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h index ff1bf563a..10d7e6a09 100644 --- a/apt-pkg/acquire-item.h +++ b/apt-pkg/acquire-item.h @@ -1027,43 +1027,6 @@ class pkgAcqIndex : public pkgAcqBaseIndex std::string const &ShortDesc); }; /*}}}*/ -/** \brief An acquire item that is responsible for fetching a {{{ - * translated index file. - * - * The only difference from pkgAcqIndex is that transient failures - * are suppressed: no error occurs if the translated index file is - * missing. - */ -class pkgAcqIndexTrans : public pkgAcqIndex -{ - void *d; - - public: - - virtual void Failed(std::string Message,pkgAcquire::MethodConfig *Cnf); - virtual std::string Custom600Headers() const; - - /** \brief Create a pkgAcqIndexTrans. - * - * \param Owner The pkgAcquire object with which this item is - * associated. - * - * \param URI The URI of the index file that is to be downloaded. - * - * \param URIDesc A "URI-style" description of this index file. - * - * \param ShortDesc A brief description of this index file. - */ - pkgAcqIndexTrans(pkgAcquire *Owner, - std::string URI,std::string URIDesc, - std::string ShortDesc); - pkgAcqIndexTrans(pkgAcquire *Owner, - pkgAcqMetaBase *TransactionManager, - IndexTarget const * const Target, - HashStringList const &ExpectedHashes, - indexRecords *MetaIndexParser); -}; - /*}}}*/ /** \brief Information about an index file. */ /*{{{*/ class IndexTarget { |