void Resolver::addRequire (const Capability & capability)
{ _pimpl->addExtraCapability( capability ); }
void Resolver::addConflict (const Capability & capability)
- { _pimpl->addExtraConflict( capability ); }
+ { _pimpl->addExtraConflict( capability ); }
+ void Resolver::removeRequire (const Capability & capability)
+ { _pimpl->removeExtraCapability( capability ); }
+ void Resolver::removeConflict (const Capability & capability)
+ { _pimpl->removeExtraConflict( capability ); }
+ const CapSet Resolver::getRequire ()
+ { _pimpl->extraCapability();}
+ const CapSet Resolver::getConflict ()
+ { _pimpl->extraConflicts();}
std::list<PoolItem_Ref> Resolver::problematicUpdateItems( void ) const
{ return _pimpl->problematicUpdateItems(); }
void Resolver::setTimeout( int seconds )
* (More or less a 'single step' resolver call)
*
* returns false if requirements are not all fulfillable
- *
+ *
+ * Is obsolete; use resolvePool() instead
*/
bool transactResObject( ResObject::constPtr robj, bool install = true);
*
* returns false if any transactResObject() call returned false.
*
+ * Is obsolete; use resolvePool() instead
*/
bool transactResKind( Resolvable::Kind kind );
* It will only reset states which have an equal or
* lower causer
*
+ * Is obsolete; use resolvePool() instead
*/
void transactReset( ResStatus::TransactByValue causer );
* Adding additional conflict
*
*/
- void addConflict (const Capability & capability);
+ void addConflict (const Capability & capability);
+
+ /**
+ * Remove additional requirement
+ *
+ */
+ void removeRequire (const Capability & capability);
+
+ /**
+ * Remove additional conflict
+ *
+ */
+ void removeConflict (const Capability & capability);
+
+ /**
+ * Get additional requirement
+ *
+ */
+ const CapSet getRequire ();
+
+ /**
+ * Get additional conflict
+ *
+ */
+ const CapSet getConflict();
/**
* Setting solver timeout
}
-
void
Resolver::addExtraConflict (const Capability & capability)
{
}
+void
+Resolver::removeExtraConflict (const Capability & capability)
+{
+ _extra_conflicts.erase (capability);
+}
+
+
void
Resolver::addIgnoreConflict (const PoolItem_Ref item,
const Capability & capability)
void addExtraCapability (const Capability & capability);
void removeExtraCapability (const Capability & capability);
void addExtraConflict (const Capability & capability);
+ void removeExtraConflict (const Capability & capability);
const CapSet extraCapability () { return _extra_caps; }
const CapSet extraConflicts () { return _extra_conflicts; }