-------------------------------------------------------------------
+Wed Jul 16 14:39:50 CEST 2008 - ma@suse.de
+
+- Add ui::Selectable::isNeeded to indicate patch relevance (bnc #409150)
+- revision 10595
+
+-------------------------------------------------------------------
Wed Jul 16 01:10:37 CEST 2008 - ma@suse.de
- Remove Atom, Script, Message and other obsolete classes.
bool Selectable::isUnmaintained() const
{ return _pimpl->isUnmaintained(); }
+ bool Selectable::isNeeded() const
+ { return _pimpl->isNeeded(); }
+
ResStatus::TransactByValue Selectable::modifiedBy() const
{ return _pimpl->modifiedBy(); }
*/
bool isUnmaintained() const;
+ /** Whether the item is relevant but has broken requirements.
+ * A 'needed' Patch should be installed, while an 'unneeded' one
+ * is either applied or not relevant for the system.
+ */
+ bool isNeeded() const;
+
public:
/** \name Query objects fate in case of commit.
*/
/** Set LicenceConfirmed bit. */
void setLicenceConfirmed( bool val_r = true );
+
+
//@}
public:
bool isUnmaintained() const
{ return availableEmpty(); }
+ bool isNeeded() const
+ {
+ PoolItem cand( candidateObj() );
+ return cand && cand.isBroken();
+ }
+
/** Return who caused the modification. */
ResStatus::TransactByValue modifiedBy() const;