aboutsummaryrefslogtreecommitdiff
path: root/paludis/repository.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-08 18:30:25 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-08 20:33:46 +0000
commitb403744d94299bf5dc4c5a1a7650a76d70d2d72c (patch)
treea97d8179dbfb55ad4ad7df44a5438b9cba81df15 /paludis/repository.hh
parent26cdad7e7cd655655e06fc07eef74ab01d63250b (diff)
downloadpaludis-b403744d94299bf5dc4c5a1a7650a76d70d2d72c.tar.gz
paludis-b403744d94299bf5dc4c5a1a7650a76d70d2d72c.tar.xz
Pass replacing to merge
Diffstat (limited to 'paludis/repository.hh')
-rw-r--r--paludis/repository.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/paludis/repository.hh b/paludis/repository.hh
index e1018e4b7..b3aa1d59e 100644
--- a/paludis/repository.hh
+++ b/paludis/repository.hh
@@ -76,6 +76,7 @@ namespace paludis
typedef Name<struct provided_by_name> provided_by;
typedef Name<struct provided_by_spec_name> provided_by_spec;
typedef Name<struct provides_interface_name> provides_interface;
+ typedef Name<struct replacing_name> replacing;
typedef Name<struct status_name> status;
typedef Name<struct used_this_for_config_protect_name> used_this_for_config_protect;
typedef Name<struct virtual_name_name> virtual_name;
@@ -167,6 +168,13 @@ namespace paludis
const std::shared_ptr<const PackageID> &,
const UninstallActionOptions &)> > perform_uninstall;
+ /**
+ * Someone needs to replace these (either the merge or the install).
+ *
+ * \since 0.57
+ */
+ NamedValue<n::replacing, std::shared_ptr<const PackageIDSequence> > replacing;
+
NamedValue<n::used_this_for_config_protect, std::function<void (const std::string &)> > used_this_for_config_protect;
};