summaryrefslogtreecommitdiff
path: root/swig/SrcPackage.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/SrcPackage.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/SrcPackage.i')
-rw-r--r--swig/SrcPackage.i25
1 files changed, 25 insertions, 0 deletions
diff --git a/swig/SrcPackage.i b/swig/SrcPackage.i
new file mode 100644
index 0000000..c60ccfb
--- /dev/null
+++ b/swig/SrcPackage.i
@@ -0,0 +1,25 @@
+ class SrcPackage : public ResObject
+ {
+
+ public:
+ typedef detail::SrcPackageImplIf Impl;
+ typedef SrcPackage Self;
+ typedef ResTraits<Self> TraitsType;
+ typedef TraitsType::PtrType Ptr;
+ typedef TraitsType::constPtrType constPtr;
+
+ public:
+ /** location of resolvable in repo */
+ OnMediaLocation location() const;
+
+ protected:
+ SrcPackage( const NVRAD & nvrad_r );
+ /** Dtor */
+ virtual ~SrcPackage();
+
+ private:
+ /** Access implementation */
+ virtual Impl & pimpl() = 0;
+ /** Access implementation */
+ virtual const Impl & pimpl() const = 0;
+ };