Author: schubi2
Date: Mon Mar 3 13:45:56 2008
New Revision: 8981
URL: http://svn.opensuse.org/viewcvs/zypp?rev=8981&view=rev
Log:
sat/repo moved to repository
Modified:
trunk/libzypp-bindings/swig/Repository.i
Modified: trunk/libzypp-bindings/swig/Repository.i
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-bindings/swig/Repository.i?rev=8981&r1=8980&r2=8981&view=diff
==============================================================================
--- trunk/libzypp-bindings/swig/Repository.i (original)
+++ trunk/libzypp-bindings/swig/Repository.i Mon Mar 3 13:45:56 2008
@@ -1,62 +1,92 @@
-
- class Repository : private base::SafeBool<Repository>
- {
- public:
- typedef repo::RepositoryImpl Impl;
- typedef repo::RepositoryImpl_Ptr Impl_Ptr;
-
- public:
-
- /**
- * \short Default ctor: noRepository.
- * \see RepoManager::createFromCache.
- */
- Repository();
-
- /** \short Factory ctor taking a RepositoryImpl.
- * This is quite low level. You usually want to use RepoManager to
- * manage the repositories.
- * \see RepoManager
- */
- explicit
- Repository( const Impl_Ptr & impl_r );
-
- /** \short Factory ctor taking a RepositoryImpl.
- */
- explicit
- Repository( const RepoInfo & info_r );
-
- /**
- * A dummy Repository (Id \c 0) providing nothing, doing nothing.
- */
- static const Repository noRepository;
-
- /** Validate Repository in a boolean context.
- * \c FALSE iff == noRepository.
- */
- //using base::SafeBool<Repository>::operator bool_type;
-
- public:
- typedef unsigned long NumericId;
-
- /** Runtime unique numeric Repository Id. */
- NumericId numericId() const;
-
- /**
- * \short Repository info used to create this repository
- */
- const RepoInfo & info() const;
-
- /**
- * \short Patch RPMs the repository provides
- */
- const std::listpackagedelta::PatchRpm & patchRpms() const;
-
- /**
- * \short Delta RPMs the repository provides
- */
- const std::listpackagedelta::DeltaRpm & deltaRpms() const;
-
- };
-
-
\ No newline at end of file
+#if 1
+ ///////////////////////////////////////////////////////////////////
+ //
+ // CLASS NAME : Repository
+ //
+ /** */
+ class Repository : protected sat::detail::PoolMember,
+ private base::SafeBool<Repository>
+ {
+ public:
+ typedef filter_iterator