aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_choices_key.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/e_choices_key.hh')
-rw-r--r--paludis/repositories/e/e_choices_key.hh9
1 files changed, 5 insertions, 4 deletions
diff --git a/paludis/repositories/e/e_choices_key.hh b/paludis/repositories/e/e_choices_key.hh
index 6d48372ab..c5f4eb7e2 100644
--- a/paludis/repositories/e/e_choices_key.hh
+++ b/paludis/repositories/e/e_choices_key.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2008 Ciaran McCreesh
+ * Copyright (c) 2008, 2009 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
@@ -37,9 +37,6 @@ namespace paludis
public MetadataValueKey<std::tr1::shared_ptr<const Choices> >,
private PrivateImplementationPattern<EChoicesKey>
{
- private:
- PrivateImplementationPattern<EChoicesKey>::ImpPtr & _imp;
-
public:
EChoicesKey(
const Environment * const,
@@ -53,6 +50,10 @@ namespace paludis
~EChoicesKey();
const std::tr1::shared_ptr<const Choices> value() const PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}