+void HomescreenHandler::hideWindow(QString application_id)
+{
+ mp_qhs->hideWindow(application_id.section('@', 0, 0).toStdString().c_str());
+}
+
+void HomescreenHandler::registerShortcut(QString shortcut_id, QString shortcut_name, QString position)
+{
+// struct json_object* j_obj = json_object_new_object();
+// struct json_object* val_id = json_object_new_string(shortcut_id.toStdString().c_str());
+// struct json_object* val_name = json_object_new_string(shortcut_name.toStdString().c_str());
+// struct json_object* val_position = json_object_new_string(position.toStdString().c_str());
+// json_object_object_add(j_obj, "shortcut_id", val_id);
+// json_object_object_add(j_obj, "shortcut_name", val_name);
+// json_object_object_add(j_obj, "position", val_position);
+
+ mp_qhs->registerShortcut(shortcut_id, shortcut_name, position);
+}
+
+int HomescreenHandler::uninstallApplication(QString application_id)
+{
+ int result = -1;
+ HMI_DEBUG("launcher","Application uninstall %s.", application_id.toStdString().c_str());
+
+ result = afm_user_daemon_proxy->uninstall(application_id).value().toInt();
+ HMI_DEBUG("launcher","ApplicationUninstall pid: %d.", result);
+
+// QProcess *process = new QProcess();
+// QString command = "/usr/bin/pkill " + application_id.section('@', 0, 0);
+// HMI_DEBUG("launcher", "command is %s", command.toStdString().c_str());
+// process->start(command);
+
+ return result;
+}
+
+void HomescreenHandler::sendAppToMeter(QString application_id)
+{
+ HMI_DEBUG("Launcher","sendAppToMeter %s", application_id.toStdString().c_str());
+ struct json_object* j_json = json_object_new_object();
+ struct json_object* value;
+ value = json_object_new_string("master.split.sub");
+ json_object_object_add(j_json, "area", value);
+
+ mp_qhs->showWindow(application_id.section('@', 0, 0).toStdString().c_str(), j_json);
+}
+