diff options
Diffstat (limited to 'paludis/formatted_pretty_printer.hh')
-rw-r--r-- | paludis/formatted_pretty_printer.hh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/paludis/formatted_pretty_printer.hh b/paludis/formatted_pretty_printer.hh index ea07cbf68..5b98a45a1 100644 --- a/paludis/formatted_pretty_printer.hh +++ b/paludis/formatted_pretty_printer.hh @@ -1,7 +1,7 @@ /* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* - * Copyright (c) 2010 Ciaran McCreesh + * Copyright (c) 2010, 2011 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 @@ -30,9 +30,11 @@ namespace paludis { class PALUDIS_VISIBLE FormattedPrettyPrinter : - public PrettyPrinter, - private Pimp<FormattedPrettyPrinter> + public PrettyPrinter { + private: + Pimp<FormattedPrettyPrinter> _imp; + protected: virtual const std::string format_enabled(const std::string &) const = 0; virtual const std::string format_disabled(const std::string &) const = 0; |