From b12a4f151e0c16e18c08de5929922e4cd4d35165 Mon Sep 17 00:00:00 2001 From: Ciaran McCreesh Date: Sun, 18 Jan 2009 23:55:50 +0000 Subject: Make metadata key general methods pure virtual. --- paludis/repositories/e/e_choices_key.hh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'paludis/repositories/e/e_choices_key.hh') 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 >, private PrivateImplementationPattern { - private: - PrivateImplementationPattern::ImpPtr & _imp; - public: EChoicesKey( const Environment * const, @@ -53,6 +50,10 @@ namespace paludis ~EChoicesKey(); const std::tr1::shared_ptr 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)); }; } } -- cgit v1.2.3