From 6ae353226247e56d6c9d5286c9cf97138b07177c Mon Sep 17 00:00:00 2001 From: Stanislav Visnovsky Date: Mon, 13 Feb 2006 17:25:22 +0000 Subject: [PATCH] forgotten --- zypp/Product.cc | 2 +- zypp/source/susetags/SuseTagsProductImpl.h | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/zypp/Product.cc b/zypp/Product.cc index ae7e55e..12d797d 100644 --- a/zypp/Product.cc +++ b/zypp/Product.cc @@ -50,7 +50,7 @@ namespace zypp Label Product::vendor() const { return pimpl().vendor(); } - TranslatedText Product::displayName() const + Label Product::displayName() const { return pimpl().displayName(); } diff --git a/zypp/source/susetags/SuseTagsProductImpl.h b/zypp/source/susetags/SuseTagsProductImpl.h index 62e65a2..59408a0 100644 --- a/zypp/source/susetags/SuseTagsProductImpl.h +++ b/zypp/source/susetags/SuseTagsProductImpl.h @@ -13,6 +13,7 @@ #define ZYPP_DETAIL_SUSETAGS_PRODUCTIMPL_H #include "zypp/detail/ProductImplIf.h" +#include "zypp/Source.h" /////////////////////////////////////////////////////////////////// namespace zypp @@ -37,7 +38,8 @@ namespace zypp virtual std::string category() const; virtual Label vendor() const; - virtual TranslatedText displayName() const; + virtual Label displayName( const Locale & locale_r = Locale() ) const; + virtual Source_Ref source() const; std::string _category; @@ -62,6 +64,8 @@ namespace zypp std::list _flags; std::string _language; std::string _timezone; + + Source_Ref _source; }; /////////////////////////////////////////////////////////////////// -- 2.7.4