summaryrefslogtreecommitdiff
path: root/swig
diff options
context:
space:
mode:
authorStefan Schubert <schubi@suse.de>2008-04-11 15:00:47 +0000
committerStefan Schubert <schubi@suse.de>2008-04-11 15:00:47 +0000
commit0b6d3e7a18f365143bbf3872020945ad313a5f9a (patch)
tree63944fc4e8bf8a7840b1a000a81e395cc6ef293a /swig
parentd8946d190df6700d265175bb806af7dfbd7d3f0a (diff)
downloadlibzypp-bindings-0b6d3e7a18f365143bbf3872020945ad313a5f9a.tar.gz
libzypp-bindings-0b6d3e7a18f365143bbf3872020945ad313a5f9a.tar.bz2
libzypp-bindings-0b6d3e7a18f365143bbf3872020945ad313a5f9a.zip
taking satisfied/broken state from ResStatus
Diffstat (limited to 'swig')
-rw-r--r--swig/ResStatus.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/swig/ResStatus.i b/swig/ResStatus.i
index c2551e4..de546fd 100644
--- a/swig/ResStatus.i
+++ b/swig/ResStatus.i
@@ -163,6 +163,9 @@ class ResStatus
bool isUndetermined() const
{ return fieldValueIs<ValidateField>( UNDETERMINED ); }
+ ValidateValue validate() const
+ { return (ValidateValue)_bitfield.value<ValidateField>(); }
+
bool isSatisfied() const
{ return fieldValueIs<ValidateField>( SATISFIED ); }