diff options
author | 2011-01-22 15:20:54 +0000 | |
---|---|---|
committer | 2011-01-22 15:25:45 +0000 | |
commit | 32a1cef4f57c4e5a97dced8d7ec1694de289b0fd (patch) | |
tree | 89626751209f36f979d22e17bd93ef463b816d1f /paludis/resolver/resolver_test.hh | |
parent | 877928cc0d484a75923c94aed0f25079400939f4 (diff) | |
download | paludis-32a1cef4f57c4e5a97dced8d7ec1694de289b0fd.tar.gz paludis-32a1cef4f57c4e5a97dced8d7ec1694de289b0fd.tar.xz |
Allow checking slots
Diffstat (limited to 'paludis/resolver/resolver_test.hh')
-rw-r--r-- | paludis/resolver/resolver_test.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/paludis/resolver/resolver_test.hh b/paludis/resolver/resolver_test.hh index 4f18be2ed..c34dd79a0 100644 --- a/paludis/resolver/resolver_test.hh +++ b/paludis/resolver/resolver_test.hh @@ -1,7 +1,7 @@ /* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* - * Copyright (c) 2009, 2010 Ciaran McCreesh + * Copyright (c) 2009, 2010, 2011 Ciaran McCreesh * * This file is part of the Paludis package manager. Paludis is free software; * you can redistribute it and/or modify it under the terms of the GNU General @@ -134,6 +134,9 @@ namespace paludis static bool check_change(const QualifiedPackageName & q, const std::shared_ptr<const Decision> & r); static std::string check_change_msg(const QualifiedPackageName & q, const std::shared_ptr<const Decision> & r); + static bool check_change_slot(const QualifiedPackageName & q, const SlotName &, const std::shared_ptr<const Decision> & r); + static std::string check_change_slot_msg(const QualifiedPackageName & q, const SlotName &, const std::shared_ptr<const Decision> & r); + static bool check_remove(const QualifiedPackageName & q, const std::shared_ptr<const Decision> & r); static std::string check_remove_msg(const QualifiedPackageName & q, const std::shared_ptr<const Decision> & r); @@ -147,6 +150,7 @@ namespace paludis static std::string check_finished_msg(const std::shared_ptr<const Decision> & r); DecisionChecks & change(const QualifiedPackageName & q); + DecisionChecks & change_slot(const QualifiedPackageName & q, const SlotName &); DecisionChecks & remove(const QualifiedPackageName & q); DecisionChecks & unable(const QualifiedPackageName & q); DecisionChecks & breaking(const QualifiedPackageName & q); |