summaryrefslogtreecommitdiff
path: root/swig/zypp.i
diff options
context:
space:
mode:
authorMichael Andres <ma@suse.de>2007-12-05 16:06:40 +0000
committerMichael Andres <ma@suse.de>2007-12-05 16:06:40 +0000
commitbd560d58004ff8b33c8180529fe469879d98059a (patch)
treec9858701ae7897e8ae1ac471a1029f69a8492757 /swig/zypp.i
parentf6208345c58add73cc8038b62c77b6a97cf2a3e9 (diff)
downloadlibzypp-bindings-bd560d58004ff8b33c8180529fe469879d98059a.tar.gz
libzypp-bindings-bd560d58004ff8b33c8180529fe469879d98059a.tar.bz2
libzypp-bindings-bd560d58004ff8b33c8180529fe469879d98059a.zip
missing resolvable types added
Diffstat (limited to 'swig/zypp.i')
-rw-r--r--swig/zypp.i24
1 files changed, 24 insertions, 0 deletions
diff --git a/swig/zypp.i b/swig/zypp.i
index 72ed0e6..0ee203b 100644
--- a/swig/zypp.i
+++ b/swig/zypp.i
@@ -12,6 +12,7 @@
%{
/* Includes the header in the wrapper code */
+#include <sstream>
#include "zypp/base/PtrTypes.h"
#include "zypp/Edition.h"
#include "zypp/ResTraits.h"
@@ -28,6 +29,14 @@
#include "zypp/TranslatedText.h"
#include "zypp/CapFactory.h"
#include "zypp/Package.h"
+#include "zypp/Patch.h"
+#include "zypp/Atom.h"
+#include "zypp/SrcPackage.h"
+#include "zypp/Script.h"
+#include "zypp/Message.h"
+#include "zypp/Pattern.h"
+#include "zypp/Language.h"
+#include "zypp/Product.h"
#include "zypp/ResFilters.h"
#include "zypp/OnMediaLocation.h"
#include "zypp/Repository.h"
@@ -113,6 +122,13 @@ class intrusive_ptr {
%include "NVRAD.i"
%include "Package.i"
%include "Patch.i"
+%include "Atom.i"
+%include "SrcPackage.i"
+%include "Script.i"
+%include "Message.i"
+%include "Pattern.i"
+%include "Language.i"
+%include "Product.i"
%include "PublicKey.i"
%include "KeyRing.i"
%include "Target.i"
@@ -172,6 +188,14 @@ class ZYpp
Arch architecture() const;
void setArchitecture( const Arch & arch );
+ /**
+ * \short Apply persistant locks to current pool.
+ * Call this before solving
+ *
+ * \returns Number of items locked
+ */
+ int applyLocks();
+
protected:
virtual ~ZYpp();
private: