summaryrefslogtreecommitdiff
path: root/swig/Package.i
diff options
context:
space:
mode:
Diffstat (limited to 'swig/Package.i')
-rw-r--r--swig/Package.i58
1 files changed, 2 insertions, 56 deletions
diff --git a/swig/Package.i b/swig/Package.i
index 433977d..699c386 100644
--- a/swig/Package.i
+++ b/swig/Package.i
@@ -1,57 +1,3 @@
-
-class Package : public ResObject
-{
-
- public:
- typedef detail::PackageImplIf Impl;
- typedef Package Self;
- typedef ResTraits<Self> TraitsType;
- typedef TraitsType::PtrType Ptr;
- typedef TraitsType::constPtrType constPtr;
-
- public:
-
- /** Get the package change log */
- Changelog changelog() const;
- /** */
- std::string buildhost() const;
- /** */
- std::string distribution() const;
- /** */
- Label license() const;
- /** */
- std::string packager() const;
- /** */
- PackageGroup group() const;
- /** Don't ship it as class Url, because it might be
- * in fact anything but a legal Url. */
- std::string url() const;
- /** */
- std::string os() const;
- /** */
- Text prein() const;
- /** */
- Text postin() const;
- /** */
- Text preun() const;
- /** */
- Text postun() const;
- /** */
- zypp::ByteCount sourcesize() const;
- /** */
- std::list<std::string> authors() const;
- /** */
- std::list<std::string> filenames() const;
-
- /** Disk usage per directory */
- //DiskUsage diskusage() const;
-
- /** location in source */
- OnMediaLocation location() const;
-
- protected:
- Package( const NVRAD & nvrad_r );
- /** Dtor */
- virtual ~Package();
-};
+%ignore Package::checksum();
+%include <zypp/Package.h>