summaryrefslogtreecommitdiff
path: root/apt-pkg/aptconfiguration.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-04-19 15:57:23 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2024-04-19 16:58:24 +0200
commit58ee0fabc9028fcdf86faab3bb9c1db2b27e3644 (patch)
treec437646c2a6e69f2d2d242369969f766f197816a /apt-pkg/aptconfiguration.h
parent633f6d67a28b375cf1f225f14d3c926e618d46af (diff)
Add APT::Configuration::color helper to colorize things
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
+
/*}}}*/
}
/*}}}*/