- std::string appid_str(appid);
- g_app_list.addClient(appid_str, *lid, id, std::string(role));
+ string appid_str(appid);
+ g_app_list.addClient(appid_str, *lid, id, string(role));
- std::string appid_str(appid);
- g_app_list.addClient(appid_str, *lid, sid, std::string(role));
+ string appid_str(appid);
+ g_app_list.addClient(appid_str, *lid, sid, string(role));
unsigned current_req = g_app_list.currentRequestNumber();
bool result = g_app_list.setEndDrawFinished(current_req, id, role);
unsigned current_req = g_app_list.currentRequestNumber();
bool result = g_app_list.setEndDrawFinished(current_req, id, role);
{
HMI_DEBUG("Remove clinet %s from list", appid.c_str());
g_app_list.removeClient(appid);
{
HMI_DEBUG("Remove clinet %s from list", appid.c_str());
g_app_list.removeClient(appid);
this->send_event(kListEventName[Event_SyncDraw], label, area, x, y, w, h);
}
this->send_event(kListEventName[Event_SyncDraw], label, area, x, y, w, h);
}
{
compositor::rect rect = this->layers.getAreaSize(area);
this->send_event(kListEventName[Event_SyncDraw],
{
compositor::rect rect = this->layers.getAreaSize(area);
this->send_event(kListEventName[Event_SyncDraw],
-WMError WindowManager::setRequest(const std::string& appid, const std::string &role, const std::string &area,
+WMError WindowManager::setRequest(const string& appid, const string &role, const string &area,
Task task, unsigned* req_num)
{
if (!g_app_list.contains(appid))
Task task, unsigned* req_num)
{
if (!g_app_list.contains(appid))
// TODO: application requests by old role,
// so convert role new to old for emitting event
// TODO: application requests by old role,
// so convert role new to old for emitting event
this->emit_syncdraw(old_role, action.area);
/* TODO: emit event for app not subscriber
this->emit_syncdraw(old_role, action.area);
/* TODO: emit event for app not subscriber
{
// TODO: application requests by old role,
// so convert role new to old for emitting event
{
// TODO: application requests by old role,
// so convert role new to old for emitting event
char const *afm_app_install_dir = getenv("AFM_APP_INSTALL_DIR");
HMI_DEBUG("afm_app_install_dir:%s", afm_app_install_dir);
char const *afm_app_install_dir = getenv("AFM_APP_INSTALL_DIR");
HMI_DEBUG("afm_app_install_dir:%s", afm_app_install_dir);