addService( ServiceInfo(alias, url) );
}
+
void RepoManager::addService( const ServiceInfo & service )
{
// check if service already exists
return; //FIXME ZYPP_THROW(RepoAlreadyExistsException(service.name()));
//this is need to save location to correct service
- const ServiceInfo & savedService = *(_pimpl->services.insert( service )).first;
+ const ServiceInfo & savedService =
+ *(_pimpl->services.insert( service )).first;
- cout << "adde service " << savedService.alias() << endl;
+ MIL << "added service " << savedService.alias() << endl;
_pimpl->saveService( savedService );
}
+
void RepoManager::removeService( const string & alias)
{
MIL << "Going to delete repo " << alias << endl;