aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/colour_formatter.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-07 21:28:26 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-07 21:28:26 +0000
commite15f518956383d4dc22bee5c13939f8de247a46d (patch)
treed1760116d2e5e29a7f47c3504319d13bd3e8f48a /src/clients/cave/colour_formatter.hh
parent8294cd0acad913897cb79aba7d94144254fdb4f3 (diff)
downloadpaludis-e15f518956383d4dc22bee5c13939f8de247a46d.tar.gz
paludis-e15f518956383d4dc22bee5c13939f8de247a46d.tar.xz
Add Map<string, string> keys
Diffstat (limited to 'src/clients/cave/colour_formatter.hh')
-rw-r--r--src/clients/cave/colour_formatter.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/clients/cave/colour_formatter.hh b/src/clients/cave/colour_formatter.hh
index ef3037ca2..17b548aa8 100644
--- a/src/clients/cave/colour_formatter.hh
+++ b/src/clients/cave/colour_formatter.hh
@@ -31,6 +31,7 @@ namespace paludis
class PALUDIS_VISIBLE ColourFormatter :
public CanFormat<KeywordName>,
public CanFormat<std::string>,
+ public CanFormat<std::pair<const std::string, std::string> >,
public CanFormat<PackageID>,
public CanFormat<LicenseDepSpec>,
public CanFormat<ConditionalDepSpec>,
@@ -67,6 +68,8 @@ namespace paludis
std::string format(const std::string &, const format::Plain &) const;
+ std::string format(const std::pair<const std::string, std::string> &, const format::Plain &) const;
+
std::string format(const PackageID &, const format::Plain &) const;
std::string format(const PackageID &, const format::Installed &) const;
std::string format(const PackageID &, const format::Installable &) const;