From d491d36b4c3fcb18818841a9ae08a8c99b48fc66 Mon Sep 17 00:00:00 2001 From: Ciaran McCreesh Date: Fri, 2 Sep 2011 21:30:47 +0100 Subject: Move permit_destination into MergeParams --- paludis/merger-fwd.hh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'paludis/merger-fwd.hh') diff --git a/paludis/merger-fwd.hh b/paludis/merger-fwd.hh index 5897aa1b4..13e3548d3 100644 --- a/paludis/merger-fwd.hh +++ b/paludis/merger-fwd.hh @@ -1,7 +1,7 @@ /* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* - * Copyright (c) 2010 Ciaran McCreesh + * Copyright (c) 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 @@ -20,9 +20,11 @@ #ifndef PALUDIS_GUARD_PALUDIS_MERGER_FWD_HH #define PALUDIS_GUARD_PALUDIS_MERGER_FWD_HH 1 -#include #include #include +#include +#include +#include namespace paludis { @@ -38,6 +40,15 @@ namespace paludis typedef Options MergerOptions; class Merger; + + /** + * Whether to allow merging to a particular destination. + * + * \ingroup g_repository + * \see MergerParams + * \since 0.66 + */ + typedef std::function PermitDestinationFn; } #endif -- cgit v1.2.3