Ah, cool :) I'll be happy to use those in UI code. 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