case QUEUE_ITEM_TYPE_GROUP: os << "group"; break;
case QUEUE_ITEM_TYPE_CONFLICT: os << "conflict"; break;
case QUEUE_ITEM_TYPE_UNINSTALL: os << "uninstall"; break;
+ case QUEUE_ITEM_TYPE_ESTABLISH: os << "establish"; break;
case QUEUE_ITEM_TYPE_LAST: os << "last"; break;
default: os << "?queueitem?"; break;
}
QUEUE_ITEM_TYPE_GROUP,
QUEUE_ITEM_TYPE_CONFLICT,
QUEUE_ITEM_TYPE_UNINSTALL,
+ QUEUE_ITEM_TYPE_ESTABLISH,
QUEUE_ITEM_TYPE_LAST
} QueueItemType;
bool isInstall (void) const { return _type == QUEUE_ITEM_TYPE_INSTALL; }
bool isRequire (void) const { return _type == QUEUE_ITEM_TYPE_REQUIRE; }
bool isUninstall (void) const { return _type == QUEUE_ITEM_TYPE_UNINSTALL; }
+ bool isEstablish (void) const { return _type == QUEUE_ITEM_TYPE_ESTABLISH; }
virtual bool process (ResolverContext_Ptr context, QueueItemList & qil) = 0;
virtual QueueItem_Ptr copy (void) const = 0;
//---------------------------------------------------------------------------
QueueItemEstablish::QueueItemEstablish (const ResPool & pool, PoolItem_Ref item)
- : QueueItem (QUEUE_ITEM_TYPE_INSTALL, pool)
+ : QueueItem (QUEUE_ITEM_TYPE_ESTABLISH, pool)
, _item(item)
, _channel_priority (0)
, _other_penalty (0)