Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / Resolver.h
index f83d779..f2ef092 100644 (file)
 #include "zypp/base/PtrTypes.h"
 
 #include "zypp/ResPool.h"
-#include "zypp/PoolItem.h"
-#include "zypp/Capabilities.h"
-#include "zypp/Capability.h"
-
-#include "zypp/solver/detail/Types.h"
-
+#include "zypp/solver/detail/Resolver.h"
+#include "zypp/solver/detail/SolverQueueItem.h"
 #include "zypp/ProblemTypes.h"
-#include "zypp/ResolverProblem.h"
-#include "zypp/ProblemSolution.h"
 
 ///////////////////////////////////////////////////////////////////
 namespace zypp
@@ -286,6 +280,11 @@ namespace zypp
     void addUpgradeRepo( Repository repo_r );
 
     /**
+     * Whether there is at least one \c UpgradeRepo request pending
+     */
+    bool upgradingRepos() const;
+
+    /**
      * Whether there is an \c UpgradeRepo request pending for this repo.
      */
     bool upgradingRepo( Repository repo_r ) const;
@@ -413,7 +412,9 @@ namespace zypp
 
   private:
     friend std::ostream & operator<<( std::ostream & str, const Resolver & obj );
-    zypp::RW_pointer<solver::detail::ResolverInternal> _pimpl;
+
+    typedef solver::detail::Resolver Impl;
+    zypp::RW_pointer<Impl,rw_pointer::Intrusive<Impl> > _pimpl;
   };
   ///////////////////////////////////////////////////////////////////