return _timestamp;
}
- const TranslatedText & PatchImpl::summary() const
+ TranslatedText PatchImpl::summary() const
{
return _summary;
}
- const TranslatedText & PatchImpl::description() const
+ TranslatedText PatchImpl::description() const
{
return _description;
}
/** Patch time stamp */
unsigned int timestamp() const;
/** Patch summary */
- const TranslatedText & summary() const;
+ TranslatedText summary() const;
/** Patch description */
- const TranslatedText & description() const;
+ TranslatedText description() const;
/** Patch category (recommended, security,...) */
std::string category() const;
/** Does the system need to reboot to finish the update process? */
// as far as resonable.
/////////////////////////////////////////////////////////////////
- const TranslatedText & ResObjectImplIf::summary() const
+ TranslatedText ResObjectImplIf::summary() const
{ return TranslatedText::notext; }
- const TranslatedText & ResObjectImplIf::description() const
+ TranslatedText ResObjectImplIf::description() const
{ return TranslatedText::notext; }
Text ResObjectImplIf::insnotify() const
*/
//@{
/** Short label. */
- virtual const TranslatedText & summary() const PURE_VIRTUAL;
+ virtual TranslatedText summary() const PURE_VIRTUAL;
/** Long description */
- virtual const TranslatedText & description() const PURE_VIRTUAL;
+ virtual TranslatedText description() const PURE_VIRTUAL;
/** \todo well define! */
virtual Text insnotify() const PURE_VIRTUAL;
// as far as resonable.
/////////////////////////////////////////////////////////////////
- const TranslatedText & SelectionImplIf::summary() const
+ TranslatedText SelectionImplIf::summary() const
{ return TranslatedText::notext; }
- const TranslatedText & SelectionImplIf::description() const
+ TranslatedText SelectionImplIf::description() const
{ return TranslatedText::notext; }
Label SelectionImplIf::category() const
public:
/** */
- virtual const TranslatedText & summary() const = 0;
+ virtual TranslatedText summary() const = 0;
/** */
- virtual const TranslatedText & description() const = 0;
+ virtual TranslatedText description() const = 0;
/** */
virtual Label category() const = 0;