diff options
author | Klaus Kaempf <kkaempf@suse.de> | 2008-08-07 13:52:46 +0000 |
---|---|---|
committer | Klaus Kaempf <kkaempf@suse.de> | 2008-08-07 13:52:46 +0000 |
commit | 334bb2590d07674b79fc81b85f1b39993b732edc (patch) | |
tree | 7bc7a5a22a1905cd490a5040b35513842dad8355 /swig/zypp.i | |
parent | 05fe38f57a532ee59ec7dbf80615a41dd7ce760c (diff) | |
download | libzypp-bindings-334bb2590d07674b79fc81b85f1b39993b732edc.tar.gz libzypp-bindings-334bb2590d07674b79fc81b85f1b39993b732edc.tar.bz2 libzypp-bindings-334bb2590d07674b79fc81b85f1b39993b732edc.zip |
make the bindings compile
cleanup of CMakeLists.txt
add 'tests' subdir for Perl, Python, Ruby
add 'loading' test
Diffstat (limited to 'swig/zypp.i')
-rw-r--r-- | swig/zypp.i | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/swig/zypp.i b/swig/zypp.i index e8751c5..0a7b7fb 100644 --- a/swig/zypp.i +++ b/swig/zypp.i @@ -27,7 +27,7 @@ #include "zypp/ResTraits.h" #include "zypp/ZYppFactory.h" #include "zypp/ZYpp.h" -#include "zypp/ProductInfo.h" + #include "zypp/ResObjects.h" #include "zypp/Target.h" #include "zypp/target/TargetImpl.h" @@ -41,6 +41,9 @@ #include "zypp/TmpPath.h" #include "zypp/Resolver.h" +#include "zypp/Product.h" +#include "zypp/ProductInfo.h" + using namespace boost; using namespace zypp; using namespace zypp::repo; @@ -117,11 +120,11 @@ namespace zypp { %include "Patch.i" %include "Pattern.i" %include "Product.i" -%include "ProductInfo.i" + %include "SrcPackage.i" %include "RepoType.i" -%include "RepoInfo.i" -%include "ServiceInfo.i" + + %include "Repository.i" %include "RepoStatus.i" %include "RepoManager.i" @@ -139,5 +142,15 @@ namespace zypp { %include "python/callbacks.i" #endif +%ignore zypp::ZYpp::setTextLocale; +%ignore zypp::ZYpp::getTextLocale; +%ignore zypp::ZYpp::setRequestedLocales; +%ignore zypp::ZYpp::getRequestedLocales; +%ignore zypp::ZYpp::getAvailableLocales; +%ignore zypp::ZYpp::architecture; +%ignore zypp::ZYpp::setArchitecture; +%ignore zypp::ZYpp::applyLocks; + %include <zypp/ZYpp.h> + %include "ZYppFactory.i" |