- Add KeyRing::DefautAccept
authorMichael Andres <ma@suse.de>
Fri, 19 Sep 2008 12:08:47 +0000 (12:08 +0000)
committerMichael Andres <ma@suse.de>
Fri, 19 Sep 2008 12:08:47 +0000 (12:08 +0000)
package/libzypp-bindings.changes
swig/KeyRing.i
swig/zypp.i

index 6c60324..3adc122 100644 (file)
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Fri Sep 19 14:07:15 CEST 2008 - ma@suse.de
+
+- Add KeyRing::DefautAccept
+
+-------------------------------------------------------------------
 Tue Sep 16 11:03:12 CEST 2008 - dmacvicar@suse.de
 
 - add ZConfig 
index cad684c..a54b9b9 100644 (file)
@@ -3,10 +3,16 @@
 %ignore zypp::KeyRingSignals;
 
 %include <zypp/KeyRing.h>
+%extend zypp::KeyRing
+{
+  typedef zypp::base::Flags<::DefautAcceptBits> DefautAccept;
+  %template(DefautAccept) zypp::base::Flags<::DefautAcceptBits>;
+}
 
 namespace zypp
 {
   typedef intrusive_ptr<KeyRing> KeyRing_Ptr;
   %template(KeyRing_Ptr) intrusive_ptr<KeyRing>;
 }
+
 %template(List_PublicKey) std::list<zypp::PublicKey>;
index 7eb8e3a..896119c 100644 (file)
@@ -94,6 +94,7 @@ namespace zypp {
 %import <boost/weak_ptr.hpp>
 %import <boost/intrusive_ptr.hpp>
 %import <zypp/base/PtrTypes.h>
+%import <zypp/base/Flags.h>
 
 %include "IdStringType.i"
 %include "Pathname.i"