Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / Resolver.h
index aaeffbe..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
@@ -253,22 +247,22 @@ namespace zypp
     //@{
     /** dup mode: allow to downgrade installed solvable */
     void dupSetAllowDowngrade( bool yesno_r );
-    void dupSetDefaultAllowDowngrade();                // Set back to default (in zypp.conf)
+    void dupSetDefaultAllowDowngrade();        // Set back to default
     bool dupAllowDowngrade() const;
 
     /** dup mode: allow to change name of installed solvable */
     void dupSetAllowNameChange( bool yesno_r );
-    void dupSetDefaultAllowNameChange();       // Set back to default (in zypp.conf)
+    void dupSetDefaultAllowNameChange();       // Set back to default
     bool dupAllowNameChange() const;
 
     /** dup mode: allow to change architecture of installed solvables */
     void dupSetAllowArchChange( bool yesno_r );
-    void dupSetDefaultAllowArchChange();       // Set back to default (in zypp.conf)
+    void dupSetDefaultAllowArchChange();       // Set back to default
     bool dupAllowArchChange() const;
 
     /**  dup mode: allow to change vendor of installed solvables*/
     void dupSetAllowVendorChange( bool yesno_r );
-    void dupSetDefaultAllowVendorChange();     // Set back to default (in zypp.conf)
+    void dupSetDefaultAllowVendorChange();     // Set back to default
     bool dupAllowVendorChange() const;
     //@}
 
@@ -418,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;
   };
   ///////////////////////////////////////////////////////////////////