diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-09-04 14:49:41 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-09-04 14:49:41 +0200 |
commit | 89e95aee05c7f2fde7eb11261df9697a4896b49b (patch) | |
tree | 51ab3d569d8ab1c8d3b25de1452eeb767770e0e7 /apt-pkg/aptconfiguration.h | |
parent | d7bc74a4e44c4ff97e70f15e19f86761687f2ca5 (diff) | |
parent | 92f212774bebbff6aabd3081910f570a77180911 (diff) |
merged lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/aptconfiguration.h')
-rw-r--r-- | apt-pkg/aptconfiguration.h | 8 |
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 |