summaryrefslogtreecommitdiff
path: root/apt-pkg/aptconfiguration.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2024-04-19 17:20:31 +0000
committerJulian Andres Klode <jak@debian.org>2024-04-19 17:20:31 +0000
commit70103339b017a42ea71a56c27c221a79ccc3116f (patch)
treea1797800fb7ebeb1bdd8833d3bcc2503438de4f4 /apt-pkg/aptconfiguration.h
parent633f6d67a28b375cf1f225f14d3c926e618d46af (diff)
parent28ec28746d8633b9c4b67cd6d1b603a1da57f436 (diff)
Merge branch 'color-framework' into 'main'
Introduce APT::Configuration::Color, --color option and documentation for color. See merge request apt-team/apt!342
Diffstat (limited to 'apt-pkg/aptconfiguration.h')
-rw-r--r--apt-pkg/aptconfiguration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/aptconfiguration.h b/apt-pkg/aptconfiguration.h
index 3e2636edc..58c925b7f 100644
--- a/apt-pkg/aptconfiguration.h
+++ b/apt-pkg/aptconfiguration.h
@@ -130,7 +130,9 @@ namespace Configuration { /*{{{*/
APT_PUBLIC bool isChroot();
/** \return Check usr is merged or produce error. */
APT_PUBLIC bool checkUsrMerged();
+ APT_PUBLIC std::string color(std::string const &colorName, std::string const &content = "");
#endif
+
/*}}}*/
}
/*}}}*/