aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-27 19:22:12 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-27 19:22:12 +0000
commite5d1a4d5809f38fc99ee3c5e13aa496df160019b (patch)
tree2ce50d3affb1ca4b61cc8f7db70a887cf1afa42c
parent8f84d3cdf5bb93004381a486f14283ed024e2d6d (diff)
downloadpaludis-e5d1a4d5809f38fc99ee3c5e13aa496df160019b.tar.gz
paludis-e5d1a4d5809f38fc99ee3c5e13aa496df160019b.tar.xz
fix
-rw-r--r--paludis/dep_list/dep_list-fwd.hh49
1 files changed, 49 insertions, 0 deletions
diff --git a/paludis/dep_list/dep_list-fwd.hh b/paludis/dep_list/dep_list-fwd.hh
new file mode 100644
index 0000000..8421ea8
--- /dev/null
+++ b/paludis/dep_list/dep_list-fwd.hh
@@ -0,0 +1,49 @@
+/* vim: set sw=4 sts=4 et foldmethod=syntax : */
+
+/*
+ * Copyright (c) 2005, 2006, 2007 Ciaran McCreesh <ciaranm@ciaranm.org>
+ *
+ * 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
+ * Public License version 2, as published by the Free Software Foundation.
+ *
+ * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+ * Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef PALUDIS_GUARD_PALUDIS_DEP_LIST_FWD_HH
+#define PALUDIS_GUARD_PALUDIS_DEP_LIST_FWD_HH 1
+
+#include <iosfwd>
+#include <paludis/util/attributes.hh>
+#include <paludis/util/tr1_memory.hh>
+#include <paludis/repository-fwd.hh>
+#include <paludis/dep_spec-fwd.hh>
+
+namespace paludis
+{
+ class DepListOptions;
+ class DepListEntryDestination;
+ class DepListEntry;
+ class DepList;
+ class PackageDatabaseEntry;
+
+ /**
+ * Extract the destinations from a DepListEntry destinations member.
+ *
+ * \ingroup grpdepresolver
+ */
+ tr1::shared_ptr<DestinationsCollection> extract_dep_list_entry_destinations(
+ tr1::shared_ptr<SortedCollection<DepListEntryDestination> >) PALUDIS_VISIBLE;
+
+ bool is_viable_any_child(const Environment & env, const PackageDatabaseEntry * const pde,
+ const DependencySpecTree::ConstItem & i);
+}
+
+#endif