rename Local Services to Plugin Services as discussed with Michael
[platform/upstream/libzypp.git] / zypp / repo / ServiceType.cc
index 33077d5..d677936 100644 (file)
@@ -22,7 +22,7 @@ namespace zypp
 
   const ServiceType ServiceType::RIS(ServiceType::RIS_e);
   const ServiceType ServiceType::NONE(ServiceType::NONE_e);
-  const ServiceType ServiceType::LOCAL(ServiceType::LOCAL_e);
+  const ServiceType ServiceType::PLUGIN(ServiceType::PLUGIN_e);
 
   ServiceType::ServiceType(const std::string & strval_r)
     : _type(parse(strval_r))
@@ -37,8 +37,8 @@ namespace zypp
       _table["RIS"] = ServiceType::RIS_e;
       _table["nu"] = ServiceType::RIS_e;
       _table["NU"] = ServiceType::RIS_e;
-      _table["local"] = ServiceType::LOCAL_e;
-      _table["LOCAL"] = ServiceType::LOCAL_e;
+      _table["plugin"] = ServiceType::PLUGIN_e;
+      _table["PLUGIN"] = ServiceType::PLUGIN_e;
       _table["NONE"] = _table["none"] = ServiceType::NONE_e;
     }
 
@@ -60,7 +60,7 @@ namespace zypp
     {
       // initialize it
       _table[RIS_e]  = "ris";
-      _table[LOCAL_e]  = "local";
+      _table[PLUGIN_e]  = "plugin";
       _table[NONE_e] = "NONE";
     }
     return _table[_type];