projects
/
platform
/
core
/
appfw
/
tizen-theme-manager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add uid attribute of ThemeInfo
[platform/core/appfw/tizen-theme-manager.git]
/
src
/
theme
/
loader
/
theme_info.cc
diff --git
a/src/theme/loader/theme_info.cc
b/src/theme/loader/theme_info.cc
index
4f7ccb6
..
3f54a27
100644
(file)
--- a/
src/theme/loader/theme_info.cc
+++ b/
src/theme/loader/theme_info.cc
@@
-33,6
+33,11
@@
std::string ThemeInfo::GetPkgid() const {
return bundle_.GetString("pkgid");
}
+uid_t ThemeInfo::GetUid() const {
+ std::string uid_str = bundle_.GetString("uid");
+ return std::stoi(uid_str);
+}
+
std::string ThemeInfo::GetVersion() const {
return bundle_.GetString("version");
}