Change-Id: Ic5a0f3969e53ed786a45855edfa42b10a230a077
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
using ttm::dbus::Command;
using ttm::dbus::RequestBroker;
-int ThemeParser::Commit(ThemeOperation operation,
+bool ThemeParser::Commit(ThemeOperation operation,
const loader::ThemeInfo& theme) {
tizen_base::Bundle theme_info = theme.Serialize();
tizen_base::Bundle reply;
reply = RequestBroker::GetInst().SendData(Command::REMOVE, theme_info);
break;
default:
- return -1;
+ return false;
}
- return 0;
+ return true;
}
} // namespace plugin
explicit ThemeParser(const std::string& path) : path_(path) {}
loader::ThemeInfo Inflate(const std::string id, const std::string pkgid,
uid_t uid);
- int Commit(ThemeOperation operation, const loader::ThemeInfo& theme);
+ bool Commit(ThemeOperation operation, const loader::ThemeInfo& theme);
private:
std::string path_;