summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libzypp-bindings.changes5
-rw-r--r--swig/KeyRing.i6
-rw-r--r--swig/zypp.i1
3 files changed, 12 insertions, 0 deletions
diff --git a/package/libzypp-bindings.changes b/package/libzypp-bindings.changes
index 6c60324..3adc122 100644
--- a/package/libzypp-bindings.changes
+++ b/package/libzypp-bindings.changes
@@ -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
diff --git a/swig/KeyRing.i b/swig/KeyRing.i
index cad684c..a54b9b9 100644
--- a/swig/KeyRing.i
+++ b/swig/KeyRing.i
@@ -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>;
diff --git a/swig/zypp.i b/swig/zypp.i
index 7eb8e3a..896119c 100644
--- a/swig/zypp.i
+++ b/swig/zypp.i
@@ -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"