forceResolve for ZMD
authorStefan Schubert <schubi@suse.de>
Sat, 11 Feb 2006 16:40:52 +0000 (16:40 +0000)
committerStefan Schubert <schubi@suse.de>
Sat, 11 Feb 2006 16:40:52 +0000 (16:40 +0000)
zypp/Resolver.cc
zypp/Resolver.h

index c335453..4f82d72 100644 (file)
@@ -76,6 +76,10 @@ namespace zypp
   { return _pimpl->architecture(); }
   void Resolver::setArchitecture( const Arch & arch )
   { _pimpl->setArchitecture( arch ); }
+  void Resolver::setForceResolve( const bool force )
+  { _pimpl->setForceResolve( force ); }
+  const bool Resolver::forceResolve()
+  { return _pimpl->forceResolve(); }
 
   /////////////////////////////////////////////////////////////////
 } // namespace zypp
index 9f81ffb..e6f56d0 100644 (file)
@@ -120,6 +120,14 @@ namespace zypp
     Arch architecture() const;
     void setArchitecture( const Arch & arch);
 
+    /**      
+     * Remove resolvables which are conflicts with others or
+     * have unfulfilled requirements.
+     * This behaviour is favourited by ZMD.
+     **/
+    void setForceResolve (const bool force);
+    const bool forceResolve();
+
   protected:
 
   private: