[zypp-commit] r9307 - /trunk/libzypp-bindings/swig/ResStatus.i
Author: coolo Date: Sun Mar 30 13:03:10 2008 New Revision: 9307 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9307&view=rev Log: remove non-compiling functions Modified: trunk/libzypp-bindings/swig/ResStatus.i Modified: trunk/libzypp-bindings/swig/ResStatus.i URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-bindings/swig/ResStatus.i?rev=9307&r1=9306&r2=9307&view=diff ============================================================================== --- trunk/libzypp-bindings/swig/ResStatus.i (original) +++ trunk/libzypp-bindings/swig/ResStatus.i Sun Mar 30 13:03:10 2008 @@ -211,9 +211,6 @@ bool isToBeUninstalledDueToObsolete () const { return isToBeUninstalled() && fieldValueIs<TransactDetailField>( DUE_TO_OBSOLETE ); } - bool isToBeUninstalledDueToUnlink() const - { return isToBeUninstalled() && fieldValueIs<TransactDetailField>( DUE_TO_UNLINK ); } - bool isToBeUninstalledDueToUpgrade() const { return isToBeUninstalled() && fieldValueIs<TransactDetailField>( DUE_TO_UPGRADE ); } @@ -246,7 +243,6 @@ bool maySetToBeInstalled (TransactByValue causer); bool setToBeUninstalled (TransactByValue causer); bool maySetToBeUninstalled (TransactByValue causer); - bool setToBeUninstalledDueToUnlink ( ); bool setToBeUninstalledDueToObsolete ( ); bool setToBeUninstalledDueToUpgrade ( TransactByValue causer ); bool setToBeInstalledSoft ( ); @@ -297,21 +293,12 @@ bool isSeen () const { return fieldValueIs<SolverStateField>( SEEN ); } - bool isImpossible () const - { return fieldValueIs<SolverStateField>( IMPOSSIBLE ); } - bool setSeen (bool value) { fieldValueAssign<SolverStateField>( value ? SEEN : NORMAL ); return true; } - bool setImpossible (bool value) - { - fieldValueAssign<SolverStateField>( value ? IMPOSSIBLE : NORMAL ); - return true; - } - bool setStatus( ResStatus newStatus_r ) { // State field is immutable! @@ -342,7 +329,6 @@ static const ResStatus unneeded; // uninstalled, unneeded static const ResStatus needed; // uninstalled, incomplete static const ResStatus incomplete; // installed, incomplete - static const ResStatus impossible; // uninstallable //@} private: -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
coolo@svn.opensuse.org