- /**
- * Callback definition.
- * First parameter is a \ref OnMediaLocation object with the resource
- * second parameter is the resource type.
- */
- typedef function< bool(
- const OnMediaLocation &,
- const repo::yum::ResourceType &)>
- ProcessResource;
+ /** Callbacl taking \ref OnMediaLocation and \ref repo::yum::ResourceType */
+ typedef function< bool( const OnMediaLocation &, const repo::yum::ResourceType & )> ProcessResource;
+
+ /** Alternate callback also receiving the ResourceType as string. */
+ typedef function< bool( const OnMediaLocation &, const repo::yum::ResourceType &, const std::string & )> ProcessResource2;