diff options
author | 2020-04-09 16:57:30 +0300 | |
---|---|---|
committer | 2020-04-09 16:59:04 +0300 | |
commit | 4c726723f80661a2cc7ca44c5aa5373acbf920bc (patch) | |
tree | 5cee7407d353433f670ad34c2014ba559794e7e4 | |
parent | fd5d8797728f8efc8368d4c685839e79bbf65bba (diff) |
pws: Compiler warnings and more debug about the name app_id
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Idc2ae5f66b9af58770f49f04af85eb31f66e5437
-rw-r--r-- | homescreen/src/applicationlauncher.cpp | 1 | ||||
-rw-r--r-- | pws/pws.cpp | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/homescreen/src/applicationlauncher.cpp b/homescreen/src/applicationlauncher.cpp index bb9f646..cb9c9b3 100644 --- a/homescreen/src/applicationlauncher.cpp +++ b/homescreen/src/applicationlauncher.cpp @@ -52,6 +52,7 @@ int ApplicationLauncher::launch(const QString &application) int result = -1; HMI_DEBUG("HomeScreen","ApplicationLauncher launch %s.", application.toStdString().c_str()); + fprintf(stdout, "ApplicationLauncher::launch with %s\n", application.toStdString().c_str()); if (m_launcher->connection_is_set()) result = m_launcher->start(application); diff --git a/pws/pws.cpp b/pws/pws.cpp index 3818dc7..78796cb 100644 --- a/pws/pws.cpp +++ b/pws/pws.cpp @@ -344,6 +344,8 @@ int pws_start_process(struct pws_data_source *pws, const char *afm_name) { int rid = -1; + + fprintf(stdout, "pws_start_process() with afm_name %s\n", afm_name); if (pws_do_call(pws, "start", afm_name) < 0) return -1; @@ -485,7 +487,7 @@ pws_get_list_runnables(struct pws_data_source *pws, struct json_object **json) JSON_C_TO_STRING_PRETTY | JSON_C_TO_STRING_NOSLASHESCAPE)); #endif if (items == 0) { - fprintf(stdout, "pws_get_list_runnables() turn items %d, bails sooner\n", items); + fprintf(stdout, "pws_get_list_runnables() turn items %ld, bails sooner\n", items); *json = NULL; return items; } @@ -494,6 +496,6 @@ pws_get_list_runnables(struct pws_data_source *pws, struct json_object **json) *json = result; } - fprintf(stdout, "pws_get_list_runnables() turn items %d\n", items); + fprintf(stdout, "pws_get_list_runnables() turn items %ld\n", items); return items; } |