~ubuntu-branches/ubuntu/wily/apt/wily

« back to all changes in this revision

Viewing changes to apt-pkg/packagemanager.h

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2015-07-24 10:13:08 UTC
  • Revision ID: package-import@ubuntu.com-20150724101308-lc01aajyyix0gpbh
Tags: 1.0.9.10ubuntu5
* apt-pkg/packagemanager.h:
  - re-add incorrectly removed pkgPackageManager::Go() to make
    python-apt build again

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
class pkgOrderList;
46
46
class pkgRecords;
47
47
 
 
48
namespace APT {
 
49
   namespace Progress {
 
50
      class PackageManager;
 
51
      class PackageManagerProgressFd;
 
52
   }
 
53
}
48
54
 
49
55
class pkgPackageManager : protected pkgCache::Namespace
50
56
{
93
99
   virtual bool Remove(PkgIterator /*Pkg*/,bool /*Purge*/=false) {return false;};
94
100
#if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13)
95
101
   virtual bool Go(APT::Progress::PackageManager * /*progress*/) {return true;};
 
102
   // compat
 
103
   virtual bool Go(int /*statusFd*/=-1) {return true;};
96
104
#else
97
105
   virtual bool Go(int /*statusFd*/=-1) {return true;};
98
106
#endif