aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/decision.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/decision.hh')
-rw-r--r--paludis/resolver/decision.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/resolver/decision.hh b/paludis/resolver/decision.hh
index 9bfac0f..a0c6728 100644
--- a/paludis/resolver/decision.hh
+++ b/paludis/resolver/decision.hh
@@ -21,6 +21,7 @@
#define PALUDIS_GUARD_PALUDIS_RESOLVER_DECISION_HH 1
#include <paludis/resolver/decision-fwd.hh>
+#include <paludis/resolver/serialise-fwd.hh>
#include <paludis/util/named_value.hh>
#include <paludis/package_id.hh>
@@ -48,6 +49,11 @@ namespace paludis
NamedValue<n::is_same, bool> is_same;
NamedValue<n::is_same_version, bool> is_same_version;
NamedValue<n::is_transient, bool> is_transient;
+
+ void serialise(Serialiser &) const;
+
+ static const std::tr1::shared_ptr<Decision> deserialise(
+ Deserialisation & d) PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}