aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-26 21:22:37 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-26 21:22:37 +0000
commitdc6cdcbdc1430403fb52ad4baf859d09b5bed1c4 (patch)
tree54eb5c530f87fda06c5476e144fcab59f352dc90 /doc/api/cplusplus
parent0c8eeda99a0bbef95e7729369ee293f526cd76a0 (diff)
downloadpaludis-dc6cdcbdc1430403fb52ad4baf859d09b5bed1c4.tar.gz
paludis-dc6cdcbdc1430403fb52ad4baf859d09b5bed1c4.tar.xz
Put repo mask info directly in the mask
Diffstat (limited to 'doc/api/cplusplus')
-rw-r--r--doc/api/cplusplus/examples/example_mask.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/cplusplus/examples/example_mask.cc b/doc/api/cplusplus/examples/example_mask.cc
index fe98d6fa9..c9fd67a33 100644
--- a/doc/api/cplusplus/examples/example_mask.cc
+++ b/doc/api/cplusplus/examples/example_mask.cc
@@ -49,7 +49,11 @@ namespace
void visit(const RepositoryMask & mask)
{
cout << left << setw(30) << " Class:" << " " << "RepositoryMask" << endl;
- cout << left << setw(30) << " Mask key:" << " " << mask.mask_key_name() << endl;
+ cout << left << setw(30) << " Mask file:" << " " << mask.mask_file() << endl;
+ if (! mask.comment().empty())
+ cout << left << setw(30) << " Comment:" << " " << mask.comment() << endl;
+ if (! mask.token().empty())
+ cout << left << setw(30) << " Token:" << " " << mask.token() << endl;
}
void visit(const UnsupportedMask & mask)