aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/decisions.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-13 15:48:41 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-14 13:22:05 +0100
commit4385b8c9283bb33f412281dd40da09569476cfc4 (patch)
treedd47fc31f15bbab16101595fb33558c38b4fefe6 /paludis/resolver/decisions.cc
parent46a057a29d293998af6079a9ddbeefa050bf4449 (diff)
downloadpaludis-4385b8c9283bb33f412281dd40da09569476cfc4.tar.gz
paludis-4385b8c9283bb33f412281dd40da09569476cfc4.tar.xz
Start the Lineariser, but keep Orderer around too
Diffstat (limited to 'paludis/resolver/decisions.cc')
-rw-r--r--paludis/resolver/decisions.cc51
1 files changed, 51 insertions, 0 deletions
diff --git a/paludis/resolver/decisions.cc b/paludis/resolver/decisions.cc
new file mode 100644
index 0000000..624ad12
--- /dev/null
+++ b/paludis/resolver/decisions.cc
@@ -0,0 +1,51 @@
+/* vim: set sw=4 sts=4 et foldmethod=syntax : */
+
+/*
+ * Copyright (c) 2010 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
+ * 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
+ */
+
+#include <paludis/resolver/decisions.hh>
+#include <paludis/util/private_implementation_pattern-impl.hh>
+
+using namespace paludis;
+using namespace paludis::resolver;
+
+namespace paludis
+{
+#ifdef PALUDIS_NO_DOUBLE_TEMPLATE
+ template <>
+#endif
+ template <typename D_>
+ struct Implementation<Decisions<D_> >
+ {
+ };
+}
+
+template <typename D_>
+Decisions<D_>::Decisions() :
+ PrivateImplementationPattern<Decisions<D_> >(new Implementation<Decisions<D_> >)
+{
+}
+
+template <typename D_>
+Decisions<D_>::~Decisions()
+{
+}
+
+template class Decisions<UnableToMakeDecision>;
+template class Decisions<ChangesToMakeDecision>;
+template class Decisions<ChangeOrRemoveDecision>;
+