Change pkgname to appid and add package id PART 1.
[framework/web/wrt-commons.git] / modules / widget_dao / include / dpl / wrt-dao-ro / vconf_config.h
index a30a84d..e90e737 100644 (file)
 
 namespace WrtDB {
 namespace VconfConfig {
-inline std::string GetVconfKeyRootPath(DPL::String pkgName)
+inline std::string GetVconfKeyRootPath(DPL::String tzPkgId)
 {
     return PathBuilder()
                .Append(GlobalConfig::GetVconfKeyPrefixPath())
-               .Append(DPL::ToUTF8String(pkgName))
+               .Append(DPL::ToUTF8String(tzPkgId))
                .GetFullPath();
 }
 
-inline std::string GetVconfKeyPopupUsage(DPL::String pkgName)
+inline std::string GetVconfKeyPopupUsage(DPL::String tzPkgId)
 {
     return PathBuilder()
                .Append(GlobalConfig::GetVconfKeyPrefixPath())
-               .Append(DPL::ToUTF8String(pkgName))
+               .Append(DPL::ToUTF8String(tzPkgId))
                .Concat(GlobalConfig::GetVconfKeyPopupUsagePath())
                .GetFullPath();
 }
 
-inline std::string GetVconfKeyGeolocationUsage(DPL::String pkgName)
+inline std::string GetVconfKeyGeolocationUsage(DPL::String tzPkgId)
 {
     return PathBuilder()
                .Append(GlobalConfig::GetVconfKeyPrefixPath())
-               .Append(DPL::ToUTF8String(pkgName))
+               .Append(DPL::ToUTF8String(tzPkgId))
                .Concat(GlobalConfig::GetVconfKeyGeolocationUsagePath())
                .GetFullPath();
 }
 
-inline std::string GetVconfKeyWebNotificationUsage(DPL::String pkgName)
+inline std::string GetVconfKeyWebNotificationUsage(DPL::String tzPkgId)
 {
     return PathBuilder()
                .Append(GlobalConfig::GetVconfKeyPrefixPath())
-               .Append(DPL::ToUTF8String(pkgName))
+               .Append(DPL::ToUTF8String(tzPkgId))
                .Concat(GlobalConfig::GetVconfKeyWebNotificationUsagePath())
                .GetFullPath();
 }
 
-inline std::string GetVconfKeyWebDatabaseUsage(DPL::String pkgName)
+inline std::string GetVconfKeyWebDatabaseUsage(DPL::String tzPkgId)
 {
     return PathBuilder()
                .Append(GlobalConfig::GetVconfKeyPrefixPath())
-               .Append(DPL::ToUTF8String(pkgName))
+               .Append(DPL::ToUTF8String(tzPkgId))
                .Concat(GlobalConfig::GetVconfKeyWebDatabaseUsagePath())
                .GetFullPath();
 }
 
-inline std::string GetVconfKeyFilesystemUsage(DPL::String pkgName)
+inline std::string GetVconfKeyFilesystemUsage(DPL::String tzPkgId)
 {
     return PathBuilder()
                .Append(GlobalConfig::GetVconfKeyPrefixPath())
-               .Append(DPL::ToUTF8String(pkgName))
+               .Append(DPL::ToUTF8String(tzPkgId))
                .Concat(GlobalConfig::GetVconfKeyFilesystemUsagePath())
                .GetFullPath();
 }
 
-inline std::string GetVconfKeyMemorySavingMode(DPL::String pkgName)
+inline std::string GetVconfKeyMemorySavingMode(DPL::String tzPkgId)
 {
     return PathBuilder()
                .Append(GlobalConfig::GetVconfKeyPrefixPath())
-               .Append(DPL::ToUTF8String(pkgName))
+               .Append(DPL::ToUTF8String(tzPkgId))
                .Concat(GlobalConfig::GetVconfKeyMemorySavingModePath())
                .GetFullPath();
 }