summaryrefslogtreecommitdiff
path: root/apt-pkg/cacheiterators.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2016-11-29 22:55:57 -0800
committerSam Bingner <sam@bingner.com>2019-08-17 12:29:11 -1000
commit44cf45b356578c70a9b580d65ea33dab4cfa9306 (patch)
treeec9ac3f25afe8b4783ce0e8bb9273c27bfea4710 /apt-pkg/cacheiterators.h
parent28b6166f80db429fc04ad9c8821ec7d0c54714b0 (diff)
Most interfaces (Maemo) need a high-level name :/.
Diffstat (limited to 'apt-pkg/cacheiterators.h')
-rw-r--r--apt-pkg/cacheiterators.h1
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;}