Mailinglist Archive: zypp-devel (227 mails)

< Previous Next >
Re: [zypp-devel] new PoolItem/ResObject call isRelevant()
  • From: Stefan Schubert <schubi@xxxxxxx>
  • Date: Thu, 10 Apr 2008 12:11:22 +0200
  • Message-id: <47FDE7CA.9090304@xxxxxxx>
Michl has convinced me to add an additional call :-) :

/** Check if the solvable is satisfied,broken or not relevant
* (not important, so it can be ignored)
* \return BROKEN, SATISFIED, NOTRELEVANT
*/

ValidValue validate() const;

So take this call if you need the information if the patch is relevant
AND e.g. broken.
It is faster :-)

Greetings
Stefan


Stefan Schubert schrieb:
Hi,
this is interesting for all UIs concerning package handling.
This call gives an answer to "Is this PoolItem/ResObject interesting for
user and
should it be shown ?"


/** Returns true if the solvable is relevant which means e.G. for patches
* that at least one package of the patch is installed.
*/
bool isRelevant() const;

Greetings
Stefan





--
*******************************************************************************
Stefan Schubert
SUSE LINUX GmbH - Maxfeldstrasse 5 - D-90409 Nuernberg, Germany
e-mail: schubi@xxxxxxx
-------------------------------------------------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)


--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
References