rename Local Services to Plugin Services as discussed with Michael
[platform/upstream/libzypp.git] / zypp / repo / PluginServices.cc
similarity index 84%
rename from zypp/repo/LocalServices.cc
rename to zypp/repo/PluginServices.cc
index 34e66cb..5abb303 100644 (file)
@@ -14,7 +14,7 @@
 #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"
@@ -29,15 +29,15 @@ namespace zypp
   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;
@@ -58,24 +58,24 @@ namespace zypp
           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;
     }