aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_choices.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-01 12:21:11 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-01 12:21:11 +0100
commita1f798a4945b1ae8fcf642698ec6009c3971b2e5 (patch)
tree7c5fabd4683fe1ded9c196df154aa324fd1facf5 /paludis/elike_choices.hh
parent76dc1cfafcb9e97972693f2574f06934c5f4b0e8 (diff)
downloadpaludis-a1f798a4945b1ae8fcf642698ec6009c3971b2e5.tar.gz
paludis-a1f798a4945b1ae8fcf642698ec6009c3971b2e5.tar.xz
preserve_work by default for unpackaged
Diffstat (limited to 'paludis/elike_choices.hh')
-rw-r--r--paludis/elike_choices.hh16
1 files changed, 14 insertions, 2 deletions
diff --git a/paludis/elike_choices.hh b/paludis/elike_choices.hh
index 21948af..992e6be 100644
--- a/paludis/elike_choices.hh
+++ b/paludis/elike_choices.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2008, 2009 Ciaran McCreesh
+ * Copyright (c) 2008, 2009, 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
@@ -197,8 +197,20 @@ namespace paludis
const bool _enabled;
public:
+ /**
+ * \deprecated \since 0.48.1 Use the four argument form.
+ */
ELikePreserveWorkChoiceValue(const std::tr1::shared_ptr<const PackageID> &,
- const Environment * const env, const std::tr1::shared_ptr<const Choice> &);
+ const Environment * const env, const std::tr1::shared_ptr<const Choice> &) PALUDIS_ATTRIBUTE((deprecated));
+
+ /**
+ * \since 0.48.1
+ */
+ ELikePreserveWorkChoiceValue(
+ const std::tr1::shared_ptr<const PackageID> &,
+ const Environment * const env,
+ const std::tr1::shared_ptr<const Choice> &,
+ const bool enabled_by_default);
virtual const UnprefixedChoiceName unprefixed_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
virtual const ChoiceNameWithPrefix name_with_prefix() const PALUDIS_ATTRIBUTE((warn_unused_result));