From 50a853f136b82042cc8b3875b5ae9892c6f5c500 Mon Sep 17 00:00:00 2001 From: Stanislav Visnovsky Date: Sun, 12 Feb 2006 20:03:42 +0000 Subject: [PATCH] propagate product info to the public interface --- zypp/Product.cc | 7 +++++++ zypp/Product.h | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/zypp/Product.cc b/zypp/Product.cc index ec39335..1f78da1 100644 --- a/zypp/Product.cc +++ b/zypp/Product.cc @@ -45,6 +45,13 @@ namespace zypp std::string Product::category() const { return pimpl().category(); } + Label Product::vendor() const + { return pimpl().vendor(); } + + Label Product::displayName() const + { return pimpl().displayName(); } + + ///////////////////////////////////////////////////////////////// } // namespace zypp /////////////////////////////////////////////////////////////////// diff --git a/zypp/Product.h b/zypp/Product.h index 8069b0a..3d3b5a1 100644 --- a/zypp/Product.h +++ b/zypp/Product.h @@ -38,6 +38,12 @@ namespace zypp /** Get the product categoty (base, add-on) */ std::string category() const; + /** Get the vendor of the product */ + Label vendor() const; + + /** Get the name of the product to be presented to user */ + Label displayName() const; + protected: /** Ctor */ Product( const NVRAD & nvrad_r ); -- 2.7.4