bool Resolver::verifySystem ()
{ return _pimpl->verifySystem(); }
- void Resolver::establishPool ()
- { _pimpl->establishPool(); }
+ bool Resolver::establishPool ()
+ { return _pimpl->establishPool(); }
bool Resolver::resolvePool ()
{ return _pimpl->resolvePool (); }
void Resolver::undo()
* Must be called when dealing with non-package resolvables,
* like Patches, Patterns, and Products
*
+ * Must be called with a 'plain' pool, e.g. no additonal
+ * transacts set.
+ *
+ * return true if it was successful
+ * return false if not (this will only happen if other
+ * transactions are in the pool which will lead to
+ * no solution)
**/
- void establishPool (void);
+ bool establishPool (void);
/**
* Resolve package dependencies:
}
-void
+bool
Resolver::establishPool ()
{
establishState (); // establish !
}
else {
ERR << "establishState did not return a bestContext" << endl;
+ return false;
}
- return;
+ return true;
}
//---------------------------------------------------------------------------
bool verifySystem (void);
void establishState (const ResolverContext_Ptr context = NULL);
- void establishPool (void);
+ bool establishPool (void);
bool resolveDependencies (const ResolverContext_Ptr context = NULL);
bool resolvePool (void);