summaryrefslogtreecommitdiff
path: root/apt-pkg/aptconfiguration.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-09-04 14:49:41 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-09-04 14:49:41 +0200
commit89e95aee05c7f2fde7eb11261df9697a4896b49b (patch)
tree51ab3d569d8ab1c8d3b25de1452eeb767770e0e7 /apt-pkg/aptconfiguration.h
parentd7bc74a4e44c4ff97e70f15e19f86761687f2ca5 (diff)
parent92f212774bebbff6aabd3081910f570a77180911 (diff)
merged lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/aptconfiguration.h')
-rw-r--r--apt-pkg/aptconfiguration.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apt-pkg/aptconfiguration.h b/apt-pkg/aptconfiguration.h
index e098d0fd6..516f451d9 100644
--- a/apt-pkg/aptconfiguration.h
+++ b/apt-pkg/aptconfiguration.h
@@ -67,6 +67,14 @@ public: /*{{{*/
std::vector<std::string> static const getLanguages(bool const &All = false,
bool const &Cached = true, char const ** const Locale = 0);
+ /** \brief Are we interested in the given Language?
+ *
+ * \param Lang is the language we want to check
+ * \param All defines if we check against all codes or only against used codes
+ * \return true if we are interested, false otherwise
+ */
+ bool static const Configuration::checkLanguage(std::string Lang, bool const All = false);
+
/** \brief Returns a vector of Architectures we support
*
* \param Cached saves the result so we need to calculated it only once