From: saerome.kim Date: Mon, 22 Jan 2018 12:22:38 +0000 (+0900) Subject: demo: change message color when callback function is called X-Git-Tag: submit/tizen/20190131.065036~175 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc209f0aedab1516cc200fafc92040c11d24e53b;p=platform%2Fcore%2Fapi%2Fmulti-device-group.git demo: change message color when callback function is called Signed-off-by: saerome.kim --- diff --git a/capi/demo/comp-manager.c b/capi/demo/comp-manager.c index aa30db4..21baffb 100644 --- a/capi/demo/comp-manager.c +++ b/capi/demo/comp-manager.c @@ -61,7 +61,7 @@ int run_get_my_id(MManager *mm, struct menu_data *menu) void _device_eject_result_cb(int result, void *user_data) { - msg("Eject Device Complete [%s]", comp_error_to_string(result) ); + msgp("Eject Device Complete [%s]", comp_error_to_string(result) ); } static int run_device_eject(MManager *mm, struct menu_data *menu) @@ -117,7 +117,7 @@ static int run_device_eject(MManager *mm, struct menu_data *menu) void _device_invite_result_cb(int result, void *user_data) { - msg("Invite Device Finished [%s]", comp_error_to_string(result) ); + msgp("Invite Device Finished [%s]", comp_error_to_string(result) ); } static int run_device_invite(MManager *mm, struct menu_data *menu) @@ -396,7 +396,7 @@ int run_device_get_found(MManager *mm, struct menu_data *menu) void _device_finish_cb(int num_of_devs, void *user_data) { - msgb("%d Device(s) Found", num_of_devs); + msgp("%d Device(s) Found", num_of_devs); } bool _device_found_cb(companion_device_h device, void *user_data) @@ -593,7 +593,7 @@ static int run_group_show(MManager *mm, struct menu_data *menu) static void _group_join_finish_cb(int result, void *user_data) { - msgb("join operation finished"); + msgp("join operation finished"); } static int run_group_join(MManager *mm, struct menu_data *menu) @@ -664,7 +664,7 @@ bool _group_found_cb(companion_group_type_e type, companion_group_h group, void companion_group_information_get_uri_path(group, &uri_path); msg(""); - msgb("found group type : %d, uri : %s", type, uri_path); + msgp("found group type : %d, uri : %s", type, uri_path); found_group_list = g_list_prepend(found_group_list, group); @@ -724,7 +724,7 @@ void _send_data_finish_cb(int result, char *resp_data, void *user_data) { msgb("Find Send Data Finished = %d", result); if (resp_data != NULL && strlen(resp_data) > 0) { - msgb("Response Data = %s", resp_data); + msgp("Response Data = %s", resp_data); } }