diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2016-11-29 22:55:57 -0800 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2020-07-17 00:22:23 -1000 |
commit | 5d4b12c21032486d7f1d71bbbed9c543e8a15aa3 (patch) | |
tree | 14ac2585c79da62ca741df21698895a652fb39d4 /apt-pkg/cacheiterators.h | |
parent | 1c17882edec3cd95aa6a33cf3219ddce5dca89db (diff) |
Most interfaces (Maemo) need a high-level name :/.
Diffstat (limited to 'apt-pkg/cacheiterators.h')
-rw-r--r-- | apt-pkg/cacheiterators.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index 22e5574c9..fdebbdee4 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -216,6 +216,7 @@ class pkgCache::VerIterator : public Iterator<Version, VerIterator> { // Accessors inline const char *VerStr() const {return S->VerStr == 0?0:Owner->StrP + S->VerStr;} inline const char *Section() const {return S->Section == 0?0:Owner->StrP + S->Section;} + inline const char *Display() const {return S->Display == 0?0:Owner->StrP + S->Display;} /** \brief source package name this version comes from Always contains the name, even if it is the same as the binary name */ inline const char *SourcePkgName() const {return Owner->StrP + S->SourcePkgName;} |