From bd560d58004ff8b33c8180529fe469879d98059a Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Wed, 5 Dec 2007 16:06:40 +0000 Subject: missing resolvable types added --- swig/zypp.i | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'swig/zypp.i') 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 #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: -- cgit v1.2.3