aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/colours.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-17 19:34:27 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-17 19:34:27 +0100
commitcb75f47b4cb9e01cffe10037dfbd3e5955d882d3 (patch)
tree90514b263b18b7872e99e329d4adf9a9b5132b18 /src/clients/cave/colours.hh
parentd38a317c4ea3bb6e577802ca3a8e70500252f549 (diff)
downloadpaludis-cb75f47b4cb9e01cffe10037dfbd3e5955d882d3.tar.gz
paludis-cb75f47b4cb9e01cffe10037dfbd3e5955d882d3.tar.xz
Defer config file loading
Diffstat (limited to 'src/clients/cave/colours.hh')
-rw-r--r--src/clients/cave/colours.hh43
1 files changed, 25 insertions, 18 deletions
diff --git a/src/clients/cave/colours.hh b/src/clients/cave/colours.hh
index 28b7b485f..f40e5087b 100644
--- a/src/clients/cave/colours.hh
+++ b/src/clients/cave/colours.hh
@@ -26,26 +26,33 @@ namespace paludis
{
namespace cave
{
+ struct Colour
+ {
+ std::string name;
+
+ std::string colour_string() const;
+ };
+
namespace c
{
- const std::string bold_blue();
- const std::string blue();
- const std::string bold_green();
- const std::string green();
- const std::string bold_red();
- const std::string red();
- const std::string bold_yellow();
- const std::string yellow();
- const std::string bold_pink();
- const std::string pink();
-
- const std::string bold_blue_or_pink();
- const std::string blue_or_pink();
- const std::string bold_green_or_pink();
- const std::string green_or_pink();
-
- const std::string bold_normal();
- const std::string normal();
+ const Colour bold_blue();
+ const Colour blue();
+ const Colour bold_green();
+ const Colour green();
+ const Colour bold_red();
+ const Colour red();
+ const Colour bold_yellow();
+ const Colour yellow();
+ const Colour bold_pink();
+ const Colour pink();
+
+ const Colour bold_blue_or_pink();
+ const Colour blue_or_pink();
+ const Colour bold_green_or_pink();
+ const Colour green_or_pink();
+
+ const Colour bold_normal();
+ const Colour normal();
}
}
}