Signal
PhoshDBusMountOperationHandler::handle-ask-question
Declaration
gboolean
handle_ask_question (
PhoshDBusMountOperationHandler* self,
GDBusMethodInvocation* invocation,
gchar* arg_object_id,
gchar* arg_message,
gchar* arg_icon_name,
char** arg_choices,
gpointer user_data
)
Description [src]
Signal emitted when a remote caller is invoking the AskQuestion() D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call phosh_dbus_mount_operation_handler_complete_ask_question()
or e.g. g_dbus_method_invocation_return_error()
on it) and no other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
Default handler: The default handler is called after the handlers added via |
Parameters
invocation
-
Type:
GDBusMethodInvocation
A
GDBusMethodInvocation
.The data is owned by the caller of the function. arg_object_id
-
Type:
gchar*
Argument passed by remote caller.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. arg_message
-
Type:
gchar*
Argument passed by remote caller.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. arg_icon_name
-
Type:
gchar*
Argument passed by remote caller.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. arg_choices
-
Type: An array of
utf8
Argument passed by remote caller.
The array must be NULL
-terminated.The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string.