aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-17 11:21:15 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-17 11:21:15 +0100
commita1ec26f46462d86585850ef96cb691ff30f9300e (patch)
treea13dffb1e0be9546cb1b64edebd4d459659d6d28
parent0eda8b794ac9a5f27b66aa0c5b6dd624e4b9ffd4 (diff)
downloadpaludis-a1ec26f46462d86585850ef96cb691ff30f9300e.tar.gz
paludis-a1ec26f46462d86585850ef96cb691ff30f9300e.tar.xz
fmt colour_formatter
-rw-r--r--src/clients/cave/Makefile.am2
-rw-r--r--src/clients/cave/cmd_print_formats.cc2
-rw-r--r--src/clients/cave/colour_formatter-fmt.hh98
-rw-r--r--src/clients/cave/colour_formatter.cc78
-rw-r--r--src/clients/cave/formats.cc192
-rw-r--r--src/clients/cave/formats.hh48
6 files changed, 144 insertions, 276 deletions
diff --git a/src/clients/cave/Makefile.am b/src/clients/cave/Makefile.am
index bc31615..0a96015 100644
--- a/src/clients/cave/Makefile.am
+++ b/src/clients/cave/Makefile.am
@@ -106,7 +106,7 @@ noinst_LIBRARIES = libcave.a
# Also update command_MANS above when adding new commands here:
libcave_a_SOURCES = \
- colour_formatter.cc colour_formatter.hh \
+ colour_formatter.cc colour_formatter.hh colour_formatter-fmt.hh \
command.cc command.hh \
command_line.cc command_line.hh \
command_command_line.cc command_command_line.hh \
diff --git a/src/clients/cave/cmd_print_formats.cc b/src/clients/cave/cmd_print_formats.cc
index e2be9f4..b3a0c82 100644
--- a/src/clients/cave/cmd_print_formats.cc
+++ b/src/clients/cave/cmd_print_formats.cc
@@ -117,6 +117,8 @@ namespace
#include "cmd_sync-fmt.hh"
}{
#include "cmd_verify-fmt.hh"
+ }{
+#include "colour_formatter-fmt.hh"
}
}
};
diff --git a/src/clients/cave/colour_formatter-fmt.hh b/src/clients/cave/colour_formatter-fmt.hh
new file mode 100644
index 0000000..1ecaf90
--- /dev/null
+++ b/src/clients/cave/colour_formatter-fmt.hh
@@ -0,0 +1,98 @@
+/* vim: set sw=4 sts=4 et foldmethod=syntax : */
+
+const auto fs_format_keyword_name_plain = make_format_string_fetcher("format-keyword-name/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_keyword_name_accepted = make_format_string_fetcher("format-keyword-name/accepted", 1)
+ << c::green_or_pink() << param<'s'>() << c::normal();
+
+const auto fs_format_keyword_name_unaccepted = make_format_string_fetcher("format-keyword-name/unaccepted", 1)
+ << c::red() << param<'s'>() << c::normal();
+
+const auto fs_format_string_plain = make_format_string_fetcher("format-string/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_package_id_plain = make_format_string_fetcher("format-package-id/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_package_id_installed = make_format_string_fetcher("format-package-id/installed", 1)
+ << c::bold_green_or_pink() << param<'s'>() << c::normal();
+
+const auto fs_format_package_id_installable = make_format_string_fetcher("format-package-id/installable", 1)
+ << c::green_or_pink() << param<'s'>() << c::normal();
+
+const auto fs_format_license_dep_spec_plain = make_format_string_fetcher("format-license-dep-spec/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_license_dep_spec_accepted = make_format_string_fetcher("format-license-dep-spec/accepted", 1)
+ << c::green_or_pink() << param<'s'>() << c::normal();
+
+const auto fs_format_license_dep_spec_unaccepted = make_format_string_fetcher("format-license-dep-spec/unaccepted", 1)
+ << c::red() << param<'s'>() << c::normal();
+
+const auto fs_format_choice_value_plain = make_format_string_fetcher("format-choice-value/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_choice_value_enabled = make_format_string_fetcher("format-choice-value/enabled", 1)
+ << c::green_or_pink() << param<'k'>() << c::normal() << param<'v'>();
+
+const auto fs_format_choice_value_disabled = make_format_string_fetcher("format-choice-value/disabled", 1)
+ << c::red() << "-" << param<'s'>() << c::normal();
+
+const auto fs_format_choice_value_forced = make_format_string_fetcher("format-choice-value/forced", 1)
+ << c::green_or_pink() << "(" << param<'k'>() << param<'v'>() << ")" << c::normal();
+
+const auto fs_format_choice_value_masked = make_format_string_fetcher("format-choice-value/masked", 1)
+ << c::red() << "(-" << param<'s'>() << ")" << c::normal();
+
+const auto fs_format_conditional_dep_spec_plain = make_format_string_fetcher("format-conditional-dep-spec/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_conditional_dep_spec_enabled = make_format_string_fetcher("format-conditional-dep-spec/enabled", 1)
+ << c::green_or_pink() << param<'s'>() << c::normal();
+
+const auto fs_format_conditional_dep_spec_disabled = make_format_string_fetcher("format-conditional-dep-spec/disabled", 1)
+ << c::red() << param<'s'>() << c::normal();
+
+const auto fs_format_conditional_dep_spec_forced = make_format_string_fetcher("format-conditional-dep-spec/forced", 1)
+ << c::green_or_pink() << "(" << param<'s'>() << ")" << c::normal();
+
+const auto fs_format_conditional_dep_spec_masked = make_format_string_fetcher("format-conditional-dep-spec/masked", 1)
+ << c::red() << "(" << param<'s'>() << ")" << c::normal();
+
+const auto fs_format_plain_text_dep_spec_plain = make_format_string_fetcher("format-plain-text-dep-spec/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_simple_uri_dep_spec_plain = make_format_string_fetcher("format-simple-uri-dep-spec/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_fetchable_uri_dep_spec_plain = make_format_string_fetcher("format-fetchable-uri-dep-spec/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_uri_labels_dep_spec_plain = make_format_string_fetcher("format-uri-labels-dep-spec/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_package_dep_spec_plain = make_format_string_fetcher("format-package-dep-spec/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_package_dep_spec_installed = make_format_string_fetcher("format-package-dep-spec/installed", 1)
+ << c::bold_green_or_pink() << param<'s'>() << c::normal();
+
+const auto fs_format_package_dep_spec_installable = make_format_string_fetcher("format-package-dep-spec/installable", 1)
+ << c::green_or_pink() << param<'s'>() << c::normal();
+
+const auto fs_format_dependency_labels_dep_spec_plain = make_format_string_fetcher("format-dependency-labels-dep-spec/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_block_dep_spec_plain = make_format_string_fetcher("format-block-dep-spec/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_named_set_dep_spec_plain = make_format_string_fetcher("format-named-set-dep-spec/plain", 1)
+ << c::blue_or_pink() << param<'s'>() << c::normal();
+
+const auto fs_format_fsentry_plain = make_format_string_fetcher("format-fsentry/plain", 1)
+ << param<'s'>();
+
+const auto fs_format_indent = make_format_string_fetcher("format/indent", 1)
+ << "%{column 30}" << param<'i'>() << param<'i'>() << param<'i'>() << param<'i'>();
+
diff --git a/src/clients/cave/colour_formatter.cc b/src/clients/cave/colour_formatter.cc
index d8b74c1..d8aac9a 100644
--- a/src/clients/cave/colour_formatter.cc
+++ b/src/clients/cave/colour_formatter.cc
@@ -20,6 +20,7 @@
#include "colour_formatter.hh"
#include "formats.hh"
#include "format_general.hh"
+#include "format_user_config.hh"
#include <paludis/util/stringify.hh>
#include <paludis/name.hh>
#include <paludis/choice.hh>
@@ -32,36 +33,43 @@ ColourFormatter::ColourFormatter(const int initial_indent) :
{
}
+namespace
+{
+#include "colour_formatter-fmt.hh"
+}
+
std::string
ColourFormatter::format(const paludis::ChoiceValue & s, const paludis::format::Plain &) const
{
- return format_general_s(f::colour_formatter_choice_value_plain(), stringify(s.name_with_prefix()));
+ return fuc(fs_format_choice_value_plain(), fv<'s'>(stringify(s.name_with_prefix())));
}
std::string
ColourFormatter::format(const paludis::ChoiceValue & s, const paludis::format::Enabled &) const
{
- return format_general_kv(f::colour_formatter_choice_value_enabled(),
- stringify(s.unprefixed_name()), s.parameter().empty() ? "" : "=" + s.parameter());
+ return fuc(fs_format_choice_value_enabled(),
+ fv<'k'>(stringify(s.unprefixed_name())),
+ fv<'v'>(s.parameter().empty() ? "" : "=" + s.parameter()));
}
std::string
ColourFormatter::format(const paludis::ChoiceValue & s, const paludis::format::Disabled &) const
{
- return format_general_s(f::colour_formatter_choice_value_disabled(), stringify(s.unprefixed_name()));
+ return fuc(fs_format_choice_value_disabled(), fv<'s'>(stringify(s.unprefixed_name())));
}
std::string
ColourFormatter::format(const paludis::ChoiceValue & s, const paludis::format::Forced &) const
{
- return format_general_kv(f::colour_formatter_choice_value_forced(),
- stringify(s.unprefixed_name()), s.parameter().empty() ? "" : "=" + s.parameter());
+ return fuc(fs_format_choice_value_forced(),
+ fv<'k'>(stringify(s.unprefixed_name())),
+ fv<'v'>(s.parameter().empty() ? "" : "=" + s.parameter()));
}
std::string
ColourFormatter::format(const paludis::ChoiceValue & s, const paludis::format::Masked &) const
{
- return format_general_s(f::colour_formatter_choice_value_masked(), stringify(s.unprefixed_name()));
+ return fuc(fs_format_choice_value_masked(), fv<'s'>(stringify(s.unprefixed_name())));
}
std::string
@@ -79,91 +87,91 @@ ColourFormatter::decorate(const paludis::ChoiceValue &, const std::string & f, c
std::string
ColourFormatter::format(const KeywordName & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_keyword_name_plain(), stringify(s));
+ return fuc(fs_format_keyword_name_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const KeywordName & s, const format::Accepted &) const
{
- return format_general_s(f::colour_formatter_keyword_name_accepted(), stringify(s));
+ return fuc(fs_format_keyword_name_accepted(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const KeywordName & s, const format::Unaccepted &) const
{
- return format_general_s(f::colour_formatter_keyword_name_unaccepted(), stringify(s));
+ return fuc(fs_format_keyword_name_unaccepted(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const std::string & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_string_plain(), stringify(s));
+ return fuc(fs_format_string_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const PackageID & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_package_id_plain(), stringify(s));
+ return fuc(fs_format_package_id_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const PackageID & s, const format::Installed &) const
{
- return format_general_s(f::colour_formatter_package_id_installed(), stringify(s));
+ return fuc(fs_format_package_id_installed(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const PackageID & s, const format::Installable &) const
{
- return format_general_s(f::colour_formatter_package_id_installable(), stringify(s));
+ return fuc(fs_format_package_id_installable(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const LicenseDepSpec & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_license_dep_spec_plain(), stringify(s));
+ return fuc(fs_format_license_dep_spec_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const LicenseDepSpec & s, const format::Accepted &) const
{
- return format_general_s(f::colour_formatter_license_dep_spec_accepted(), stringify(s));
+ return fuc(fs_format_license_dep_spec_accepted(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const LicenseDepSpec & s, const format::Unaccepted &) const
{
- return format_general_s(f::colour_formatter_license_dep_spec_unaccepted(), stringify(s));
+ return fuc(fs_format_license_dep_spec_unaccepted(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const ConditionalDepSpec & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_conditional_dep_spec_plain(), stringify(s));
+ return fuc(fs_format_conditional_dep_spec_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const ConditionalDepSpec & s, const format::Enabled &) const
{
- return format_general_s(f::colour_formatter_conditional_dep_spec_enabled(), stringify(s));
+ return fuc(fs_format_conditional_dep_spec_enabled(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const ConditionalDepSpec & s, const format::Disabled &) const
{
- return format_general_s(f::colour_formatter_conditional_dep_spec_disabled(), stringify(s));
+ return fuc(fs_format_conditional_dep_spec_disabled(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const ConditionalDepSpec & s, const format::Forced &) const
{
- return format_general_s(f::colour_formatter_conditional_dep_spec_forced(), stringify(s));
+ return fuc(fs_format_conditional_dep_spec_forced(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const ConditionalDepSpec & s, const format::Masked &) const
{
- return format_general_s(f::colour_formatter_conditional_dep_spec_masked(), stringify(s));
+ return fuc(fs_format_conditional_dep_spec_masked(), fv<'s'>(stringify(s)));
}
std::string
@@ -181,74 +189,74 @@ ColourFormatter::decorate(const ConditionalDepSpec &, const std::string & s, con
std::string
ColourFormatter::format(const PlainTextDepSpec & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_plain_text_dep_spec_plain(), stringify(s));
+ return fuc(fs_format_plain_text_dep_spec_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const SimpleURIDepSpec & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_simple_uri_dep_spec_plain(), stringify(s));
+ return fuc(fs_format_simple_uri_dep_spec_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const FetchableURIDepSpec & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_fetchable_uri_dep_spec_plain(), stringify(s));
+ return fuc(fs_format_fetchable_uri_dep_spec_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const URILabelsDepSpec & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_uri_labels_dep_spec_plain(), stringify(s));
+ return fuc(fs_format_uri_labels_dep_spec_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const PlainTextLabelDepSpec & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_uri_labels_dep_spec_plain(), stringify(s));
+ return fuc(fs_format_uri_labels_dep_spec_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const PackageDepSpec & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_package_dep_spec_plain(), stringify(s));
+ return fuc(fs_format_package_dep_spec_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const PackageDepSpec & s, const format::Installed &) const
{
- return format_general_s(f::colour_formatter_package_dep_spec_installed(), stringify(s));
+ return fuc(fs_format_package_dep_spec_installed(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const PackageDepSpec & s, const format::Installable &) const
{
- return format_general_s(f::colour_formatter_package_dep_spec_installable(), stringify(s));
+ return fuc(fs_format_package_dep_spec_installable(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const DependenciesLabelsDepSpec & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_dependency_labels_dep_spec_plain(), stringify(s));
+ return fuc(fs_format_dependency_labels_dep_spec_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const BlockDepSpec & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_block_dep_spec_plain(), stringify(s));
+ return fuc(fs_format_block_dep_spec_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const NamedSetDepSpec & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_named_set_dep_spec_plain(), stringify(s));
+ return fuc(fs_format_named_set_dep_spec_plain(), fv<'s'>(stringify(s)));
}
std::string
ColourFormatter::format(const FSEntry & s, const format::Plain &) const
{
- return format_general_s(f::colour_formatter_fsentry_plain(), stringify(s));
+ return fuc(fs_format_fsentry_plain(), fv<'s'>(stringify(s)));
}
std::string
@@ -260,6 +268,6 @@ ColourFormatter::newline() const
std::string
ColourFormatter::indent(const int i) const
{
- return format_general_i(f::colour_formatter_indent(), i);
+ return fuc(fs_format_indent(), fv<'i'>(std::string(i, ' ')));
}
diff --git a/src/clients/cave/formats.cc b/src/clients/cave/formats.cc
index 6c80f15..54373d9 100644
--- a/src/clients/cave/formats.cc
+++ b/src/clients/cave/formats.cc
@@ -293,192 +293,6 @@ paludis::cave::f::show_package_id_masks_overridden()
}
const std::string
-paludis::cave::f::colour_formatter_keyword_name_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_keyword_name_accepted()
-{
- return c::green_or_pink() + "%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_keyword_name_unaccepted()
-{
- return c::red() + "%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_string_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_package_id_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_package_id_installed()
-{
- return c::bold_green_or_pink() + "%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_package_id_installable()
-{
- return c::green_or_pink() + "%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_license_dep_spec_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_license_dep_spec_accepted()
-{
- return c::green_or_pink() + "%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_license_dep_spec_unaccepted()
-{
- return c::red() + "%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_choice_value_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_choice_value_enabled()
-{
- return c::green_or_pink() + "%k" + c::normal() + "%v";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_choice_value_disabled()
-{
- return c::red() + "-%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_choice_value_forced()
-{
- return c::green_or_pink() + "(%k%v)" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_choice_value_masked()
-{
- return c::red() + "(-%s)" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_conditional_dep_spec_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_conditional_dep_spec_enabled()
-{
- return c::green_or_pink() + "%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_conditional_dep_spec_disabled()
-{
- return c::red() + "%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_conditional_dep_spec_forced()
-{
- return c::green_or_pink() + "(%s)" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_conditional_dep_spec_masked()
-{
- return c::red() + "(%s)" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_plain_text_dep_spec_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_simple_uri_dep_spec_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_fetchable_uri_dep_spec_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_uri_labels_dep_spec_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_package_dep_spec_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_package_dep_spec_installed()
-{
- return c::bold_green_or_pink() + "%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_package_dep_spec_installable()
-{
- return c::green_or_pink() + "%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_dependency_labels_dep_spec_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_block_dep_spec_plain()
-{
- return "%s";
-}
-
-const std::string
-paludis::cave::f::colour_formatter_named_set_dep_spec_plain()
-{
- return c::blue_or_pink() + "%s" + c::normal();
-}
-
-const std::string
-paludis::cave::f::colour_formatter_fsentry_plain()
-{
- return "%s";
-}
-
-const std::string
paludis::cave::f::show_contents_file()
{
return "%{if b}%{column 30}%{endif}%r%{if b}\\n%{else} %{endif}";
@@ -526,9 +340,3 @@ paludis::cave::f::show_choice_disabled()
return c::red() + "-%s" + c::normal() + "%r";
}
-const std::string
-paludis::cave::f::colour_formatter_indent()
-{
- return "%{column 30}%i%i%i%i";
-}
-
diff --git a/src/clients/cave/formats.hh b/src/clients/cave/formats.hh
index efa1f2c..a8aedbe 100644
--- a/src/clients/cave/formats.hh
+++ b/src/clients/cave/formats.hh
@@ -91,54 +91,6 @@ namespace paludis
const std::string show_choice_enabled();
const std::string show_choice_forced_disabled();
const std::string show_choice_disabled();
-
- const std::string colour_formatter_keyword_name_plain();
- const std::string colour_formatter_keyword_name_accepted();
- const std::string colour_formatter_keyword_name_unaccepted();
-
- const std::string colour_formatter_choice_value_plain();
- const std::string colour_formatter_choice_value_enabled();
- const std::string colour_formatter_choice_value_disabled();
- const std::string colour_formatter_choice_value_forced();
- const std::string colour_formatter_choice_value_masked();
-
- const std::string colour_formatter_string_plain();
-
- const std::string colour_formatter_package_id_plain();
- const std::string colour_formatter_package_id_installed();
- const std::string colour_formatter_package_id_installable();
-
- const std::string colour_formatter_license_dep_spec_plain();
- const std::string colour_formatter_license_dep_spec_accepted();
- const std::string colour_formatter_license_dep_spec_unaccepted();
-
- const std::string colour_formatter_conditional_dep_spec_plain();
- const std::string colour_formatter_conditional_dep_spec_enabled();
- const std::string colour_formatter_conditional_dep_spec_disabled();
- const std::string colour_formatter_conditional_dep_spec_forced();
- const std::string colour_formatter_conditional_dep_spec_masked();
-
- const std::string colour_formatter_plain_text_dep_spec_plain();
-
- const std::string colour_formatter_simple_uri_dep_spec_plain();
-
- const std::string colour_formatter_fetchable_uri_dep_spec_plain();
-
- const std::string colour_formatter_uri_labels_dep_spec_plain();
-
- const std::string colour_formatter_package_dep_spec_plain();
- const std::string colour_formatter_package_dep_spec_installed();
- const std::string colour_formatter_package_dep_spec_installable();
-
- const std::string colour_formatter_dependency_labels_dep_spec_plain();
-
- const std::string colour_formatter_block_dep_spec_plain();
-
- const std::string colour_formatter_named_set_dep_spec_plain();
-
- const std::string colour_formatter_fsentry_plain();
-
- const std::string colour_formatter_indent();
}
}
}