replace name of result_cb to mmi_result_cb
[platform/core/uifw/mmi-framework.git] / src / mmi-client.c
index 2685017..b363e32 100644 (file)
@@ -57,7 +57,7 @@ int mmi_client_destroy(void)
        mmi_ipc_shutdown();
 
        GList *iter = NULL;
-       result_cb_s *data = NULL;
+       mmi_result_cb_s *data = NULL;
 
        if (g_list_length(mmi_h->result_cb_list) > 0) {
                iter = g_list_first(mmi_h->result_cb_list);
@@ -82,7 +82,7 @@ int mmi_client_destroy(void)
        return MMI_ERROR_NONE;
 }
 
-int mmi_client_set_result_cb(int input_event_type, result_cb callback, void* user_data)
+int mmi_client_set_result_cb(int input_event_type, mmi_result_cb callback, void* user_data)
 {
        LOGI("Set result cb about input event type(%d) to client", input_event_type);
 
@@ -91,7 +91,7 @@ int mmi_client_set_result_cb(int input_event_type, result_cb callback, void* use
                return MMI_ERROR_INVALID_PARAMETER;
        }
 
-       result_cb_s* input_result_callback = (result_cb_s*)calloc(1, sizeof(result_cb_s));
+       mmi_result_cb_s* input_result_callback = (mmi_result_cb_s*)calloc(1, sizeof(mmi_result_cb_s));
        if (input_result_callback == NULL) {
                LOGE("[ERROR] Fail to allocate memory");
                return MMI_ERROR_OUT_OF_MEMORY;