aboutsummaryrefslogtreecommitdiff
path: root/src/clients/qualudis/qualudis.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-13 16:31:53 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-13 16:31:53 +0000
commitc22b445963b1b7d8cf2e45da950c902d63cb837b (patch)
tree8634caa6f371a6018dc1326d4e291da8ebd74168 /src/clients/qualudis/qualudis.cc
parent72833626ac5df274e559c3f66720615b26340721 (diff)
downloadpaludis-c22b445963b1b7d8cf2e45da950c902d63cb837b.tar.gz
paludis-c22b445963b1b7d8cf2e45da950c902d63cb837b.tar.xz
Add MetadataSectionKey
Diffstat (limited to 'src/clients/qualudis/qualudis.cc')
-rw-r--r--src/clients/qualudis/qualudis.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/clients/qualudis/qualudis.cc b/src/clients/qualudis/qualudis.cc
index 860b6cf..ab2496b 100644
--- a/src/clients/qualudis/qualudis.cc
+++ b/src/clients/qualudis/qualudis.cc
@@ -144,8 +144,17 @@ namespace
stream << k.raw_name() << "\n";
}
- void visit(const MetadataContentsKey &)
+ void visit(const MetadataContentsKey & k)
{
+ stream << k.raw_name() << "\n";
+ }
+
+ void visit(const MetadataSectionKey & k)
+ {
+ if (k.title_key())
+ stream << k.raw_name() << ": " << k.title_key()->value() << "\n";
+ else
+ stream << k.raw_name() << "\n";
}
};