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: [EMAIL PROTECTED]
-------------------------------------------------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to