Mailinglist Archive: zypp-devel (84 mails)
| < Previous | Next > |
Re: [zypp-devel] New ui::Selectable methods...
- From: Katarina Machalkova <kmachalkova@xxxxxxx>
- Date: Tue, 12 Aug 2008 13:10:17 +0200
- Message-id: <200808121310.18050.kmachalkova@xxxxxxx>
Ah, cool :) I'll be happy to use those in UI code.
Just a few questions:
Which current selectable status (S_.*) does this correspond to? Or is it
equivalent of 'update this selectable if newer version is available?'
... so if I decide to use this method, I have to check whether the selectable
is installed by myself ...
... and if I don't want to do so, it's better for me to use this method ... ?
The same basically with setInstalled, probably
B.
--
\\\\\ Katarina Machalkova
\\\\\\\__o YaST developer
__\\\\\\\'/_ & hedgehog painter
Just a few questions:
/** Take care the item gets installed if it is not, or is older. */
bool setUpToDate();
Which current selectable status (S_.*) does this correspond to? Or is it
equivalent of 'update this selectable if newer version is available?'
/** Set the item to be deleted (must be installed). */
bool setToDelete()
{ return setFate( TO_DELETE ); }
... so if I decide to use this method, I have to check whether the selectable
is installed by myself ...
/** Take care the item gets deleted if it is installed. */
bool setDeleted();
... and if I don't want to do so, it's better for me to use this method ... ?
The same basically with setInstalled, probably
B.
--
\\\\\ Katarina Machalkova
\\\\\\\__o YaST developer
__\\\\\\\'/_ & hedgehog painter
| < Previous | Next > |