#include "zypp/base/InputStream.h"
#include "zypp/base/UserRequestException.h"
-#include "zypp/repo/LocalServices.h"
+#include "zypp/repo/PluginServices.h"
#include "zypp/ServiceInfo.h"
#include "zypp/RepoInfo.h"
#include "zypp/PathInfo.h"
namespace repo
{ /////////////////////////////////////////////////////////////////
- class LocalServices::Impl
+ class PluginServices::Impl
{
public:
static void loadServices( const Pathname &path,
- const LocalServices::ProcessService &callback );
+ const PluginServices::ProcessService &callback );
};
- void LocalServices::Impl::loadServices( const Pathname &path,
- const LocalServices::ProcessService & callback/*,
+ void PluginServices::Impl::loadServices( const Pathname &path,
+ const PluginServices::ProcessService & callback/*,
const ProgressData::ReceiverFnc &progress*/ )
{
std::list<Pathname> entries;
url.setPathName((*it).asString());
url.setScheme("file");
service_info.setUrl(url);
- service_info.setType(ServiceType::LOCAL);
+ service_info.setType(ServiceType::PLUGIN);
callback(service_info);
}
}
}
- LocalServices::LocalServices( const Pathname &path,
+ PluginServices::PluginServices( const Pathname &path,
const ProcessService & callback/*,
const ProgressData::ReceiverFnc &progress */)
{
Impl::loadServices(path, callback/*, progress*/);
}
- LocalServices::~LocalServices()
+ PluginServices::~PluginServices()
{}
- std::ostream & operator<<( std::ostream & str, const LocalServices & obj )
+ std::ostream & operator<<( std::ostream & str, const PluginServices & obj )
{
return str;
}