static void handle_method_play_file_start_with_stream_info(GDBusMethodInvocation* invocation);
static void handle_method_play_file_stop(GDBusMethodInvocation* invocation);
static void handle_method_play_dtmf_with_stream_info(GDBusMethodInvocation* invocation);
-#ifdef FOCUS_INTEGRATION
-static void handle_method_clear_focus(GDBusMethodInvocation* invocation);
-#endif
static void handle_method_test(GDBusMethodInvocation* invocation);
/* Currently , Just using method's name and handler */
debug_fleave();
}
-#ifdef FOCUS_INTEGRATION
-static void handle_method_clear_focus(GDBusMethodInvocation* invocation)
-{
- int ret = MM_ERROR_NONE;
- int pid = 0;
- GVariant *params = NULL;
-
- debug_fenter();
-
- if (!(params = g_dbus_method_invocation_get_parameters(invocation))) {
- debug_error("Parameter for Method is NULL");
- ret = MM_ERROR_SOUND_INTERNAL;
- goto send_reply;
- }
-
- g_variant_get(params, "(i)", &pid);
- ret = _MMSoundMgrIpcClearFocus(pid);
-
-send_reply:
- if (ret == MM_ERROR_NONE)
- _method_call_return_value(invocation, g_variant_new("()"));
- else
- _method_call_return_error(invocation, ret);
-
- debug_fleave();
-}
-#endif
-
static void handle_method_call(GDBusConnection *connection,
const gchar *sender,
const gchar *object_path,