summaryrefslogtreecommitdiffstats
path: root/app/eventhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/eventhandler.cpp')
-rw-r--r--app/eventhandler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/eventhandler.cpp b/app/eventhandler.cpp
index 9ffd6bb..dfa0a12 100644
--- a/app/eventhandler.cpp
+++ b/app/eventhandler.cpp
@@ -164,7 +164,7 @@ void EventHandler::activateWindow(const char *role, const char *area)
HMI_DEBUG(APP_ID, "EventHandler::activateWindow()");
mp_wm->activateWindow(role, area);
#endif
- fprintf(stdout, "EventHandler::activateWindow() role %s, area %s\n",
+ fprintf(stderr, "EventHandler::activateWindow() role %s, area %s\n",
role, area);
}
@@ -184,21 +184,21 @@ void EventHandler::deactivateWindow()
}
#endif
int display_status = getDisplayStatus();
- fprintf(stdout, "EventHandler::deactivateWindow(), "
+ fprintf(stderr, "EventHandler::deactivateWindow(), "
"display_status %d\n", display_status);
}
void EventHandler::onScreenReply(const QString &ons_title, const QString &btn_name)
{
-#if 0
- HMI_DEBUG(APP_ID, "ons_title=%s btn_name=%s", ons_title.toStdString().c_str(), btn_name.toStdString().c_str());
+ fprintf(stderr, "ons_title=%s btn_name=%s\n", ons_title.toStdString().c_str(), btn_name.toStdString().c_str());
emit this->hideOnScreen();
+#if 0
struct json_object* j_param = json_object_new_object();
json_object_object_add(j_param, _onscreen_title, json_object_new_string(ons_title.toStdString().c_str()));
json_object_object_add(j_param, _button_name, json_object_new_string(btn_name.toStdString().c_str()));
mp_hs->replyShowWindow(m_dsp.first.toStdString().c_str(), j_param);
#endif
- fprintf(stdout, "EventHandler::onScreenReply with ons_title %s, btn_name %s\n",
+ fprintf(stderr, "EventHandler::onScreenReply with ons_title %s, btn_name %s\n",
ons_title.toStdString().c_str(), btn_name.toStdString().c_str());
}