argsToCaps(kind);
}
+// ---------------------------------------------------------------------------
+
void PackageArgs::preprocess(const vector<string> & args)
{
vector<string>::size_type argc = args.size();
DBG << endl;
}
+// ---------------------------------------------------------------------------
+
void PackageArgs::argsToCaps(const zypp::ResKind & kind)
{
bool dont;
{ return _dont_caps; }
protected:
+ /** join arguments at comparison operators ('=', '>=', and the like) */
void preprocess(const std::vector<std::string> & args);
void argsToCaps(const zypp::ResKind & kind);
}
};
-class SaveBetterEditionArch
-{
-public:
- PoolItem best;
-
- bool operator()(PoolItem provider)
- {
- if (!provider.status().isLocked() // is not locked (taboo)
- && (!best // first match
- // or a better architecture
- || best->arch().compare(provider->arch()) < 0
- // or a better edition than so-far-found
- || best->edition().compare(provider->edition()) < 0))
- {
- best = provider;
- }
- return true;
- }
-};
-
// ----------------------------------------------------------------------------
/**