Label Product::vendor() const
{ return pimpl().vendor(); }
- Label Product::displayName() const
+ TranslatedText Product::displayName() const
{ return pimpl().displayName(); }
Label vendor() const;
/** Get the name of the product to be presented to user */
- Label displayName() const;
+ TranslatedText displayName() const;
protected:
/** Ctor */
{ return Label(); }
/** Get the name of the product to be presented to user */
- Label ProductImplIf::displayName() const
- { return Label(); }
+ TranslatedText ProductImplIf::displayName() const
+ { return TranslatedText(); }
///////////////////////////////////////////////////////////////////
virtual Label vendor() const PURE_VIRTUAL;
/** Get the name of the product to be presented to user */
- virtual Label displayName() const PURE_VIRTUAL;
+ virtual TranslatedText displayName() const PURE_VIRTUAL;
};
///////////////////////////////////////////////////////////////////
Label SuseTagsProductImpl::vendor() const
{ return _vendor; }
- Label SuseTagsProductImpl::displayName() const
- { return _displayName; }
+ TranslatedText SuseTagsProductImpl::displayName() const
+ { return _label; }
/////////////////////////////////////////////////////////////////
} // namespace detail
virtual std::string category() const;
virtual Label vendor() const;
- virtual Label displayName() const;
+ virtual TranslatedText displayName() const;
- //std::string _vendor;
std::string _category;
- std::string _displayName;
std::string _name;
std::string _version;
Label YUMProductImpl::vendor() const
{ return _vendor; }
- Label YUMProductImpl::displayName() const
+ TranslatedText YUMProductImpl::displayName() const
{ return _displayname; }
TranslatedText YUMProductImpl::summary() const
);
std::string category() const;
Label vendor() const;
- Label displayName() const;
+ TranslatedText displayName() const;
TranslatedText summary() const;
TranslatedText description() const;
Text insnotify() const;
protected:
std::string _category;
Label _vendor;
- Label _displayname;
+ TranslatedText _displayname;
TranslatedText _description;