1 // -*- mode: cpp; mode: fold -*-
3 /* ######################################################################
5 Upgrade - Upgrade/DistUpgrade releated code
7 ##################################################################### */
10 #ifndef PKGLIB_UPGRADE_H
11 #define PKGLIB_UPGRADE_H
15 // FIXME: make this "enum class UpgradeMode {" once we enable c++11
17 FORBID_REMOVE_PACKAGES
= 1,
18 FORBID_NEW_INSTALL_PACKAGES
= 2,
20 bool Upgrade(pkgDepCache
&Cache
, int UpgradeMode
);
24 bool pkgDistUpgrade(pkgDepCache
&Cache
);
25 bool pkgAllUpgrade(pkgDepCache
&Cache
);
26 bool pkgMinimizeUpgrade(pkgDepCache
&Cache
);