Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdbusmethodinvocation.h File Reference
#include <gio/giotypes.h>

Go to the source code of this file.

Macros

#define G_TYPE_DBUS_METHOD_INVOCATION   (g_dbus_method_invocation_get_type ())
 
#define G_DBUS_METHOD_INVOCATION(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_METHOD_INVOCATION, GDBusMethodInvocation))
 
#define G_IS_DBUS_METHOD_INVOCATION(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_METHOD_INVOCATION))
 
#define G_DBUS_METHOD_INVOCATION_HANDLED   TRUE GIO_AVAILABLE_MACRO_IN_2_68
 
#define G_DBUS_METHOD_INVOCATION_UNHANDLED   FALSE GIO_AVAILABLE_MACRO_IN_2_68
 

Functions

GIO_AVAILABLE_IN_ALL GType g_dbus_method_invocation_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_ALL const gcharg_dbus_method_invocation_get_sender (GDBusMethodInvocation *invocation)
 
GIO_AVAILABLE_IN_ALL const gcharg_dbus_method_invocation_get_object_path (GDBusMethodInvocation *invocation)
 
GIO_AVAILABLE_IN_ALL const gcharg_dbus_method_invocation_get_interface_name (GDBusMethodInvocation *invocation)
 
GIO_AVAILABLE_IN_ALL const gcharg_dbus_method_invocation_get_method_name (GDBusMethodInvocation *invocation)
 
GIO_AVAILABLE_IN_ALL const GDBusMethodInfog_dbus_method_invocation_get_method_info (GDBusMethodInvocation *invocation)
 
GIO_AVAILABLE_IN_2_38 const GDBusPropertyInfog_dbus_method_invocation_get_property_info (GDBusMethodInvocation *invocation)
 
GIO_AVAILABLE_IN_ALL GDBusConnectiong_dbus_method_invocation_get_connection (GDBusMethodInvocation *invocation)
 
GIO_AVAILABLE_IN_ALL GDBusMessageg_dbus_method_invocation_get_message (GDBusMethodInvocation *invocation)
 
GIO_AVAILABLE_IN_ALL GVariantg_dbus_method_invocation_get_parameters (GDBusMethodInvocation *invocation)
 
GIO_AVAILABLE_IN_ALL gpointer g_dbus_method_invocation_get_user_data (GDBusMethodInvocation *invocation)
 
GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_value (GDBusMethodInvocation *invocation, GVariant *parameters)
 
GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_value_with_unix_fd_list (GDBusMethodInvocation *invocation, GVariant *parameters, GUnixFDList *fd_list)
 
GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_error (GDBusMethodInvocation *invocation, GQuark domain, gint code, const gchar *format,...) G_GNUC_PRINTF(4
 
GIO_AVAILABLE_IN_ALL void GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_error_valist (GDBusMethodInvocation *invocation, GQuark domain, gint code, const gchar *format, va_list var_args) G_GNUC_PRINTF(4
 
GIO_AVAILABLE_IN_ALL void GIO_AVAILABLE_IN_ALL void GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_error_literal (GDBusMethodInvocation *invocation, GQuark domain, gint code, const gchar *message)
 
GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_gerror (GDBusMethodInvocation *invocation, const GError *error)
 
GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_take_error (GDBusMethodInvocation *invocation, GError *error)
 
GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_dbus_error (GDBusMethodInvocation *invocation, const gchar *error_name, const gchar *error_message)
 

Macro Definition Documentation

◆ G_DBUS_METHOD_INVOCATION

#define G_DBUS_METHOD_INVOCATION ( o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_METHOD_INVOCATION, GDBusMethodInvocation))

Definition at line 35 of file gdbusmethodinvocation.h.

◆ G_DBUS_METHOD_INVOCATION_HANDLED

#define G_DBUS_METHOD_INVOCATION_HANDLED   TRUE GIO_AVAILABLE_MACRO_IN_2_68

G_DBUS_METHOD_INVOCATION_HANDLED:

The value returned by handlers of the signals generated by the gdbus-codegen tool to indicate that a method call has been handled by an implementation. It is equal to TRUE, but using this macro is sometimes more readable.

In code that needs to be backwards-compatible with older GLib, use TRUE instead, often written like this:

|[ g_dbus_method_invocation_return_error (invocation, ...); return TRUE; // handled ]|

Since: 2.68

Definition at line 56 of file gdbusmethodinvocation.h.

◆ G_DBUS_METHOD_INVOCATION_UNHANDLED

#define G_DBUS_METHOD_INVOCATION_UNHANDLED   FALSE GIO_AVAILABLE_MACRO_IN_2_68

G_DBUS_METHOD_INVOCATION_UNHANDLED:

The value returned by handlers of the signals generated by the gdbus-codegen tool to indicate that a method call has not been handled by an implementation. It is equal to FALSE, but using this macro is sometimes more readable.

In code that needs to be backwards-compatible with older GLib, use FALSE instead.

Since: 2.68

Definition at line 71 of file gdbusmethodinvocation.h.

◆ G_IS_DBUS_METHOD_INVOCATION

#define G_IS_DBUS_METHOD_INVOCATION ( o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_METHOD_INVOCATION))

Definition at line 36 of file gdbusmethodinvocation.h.

◆ G_TYPE_DBUS_METHOD_INVOCATION

#define G_TYPE_DBUS_METHOD_INVOCATION   (g_dbus_method_invocation_get_type ())

Definition at line 34 of file gdbusmethodinvocation.h.

Function Documentation

◆ g_dbus_method_invocation_get_connection()

GIO_AVAILABLE_IN_ALL GDBusConnection * g_dbus_method_invocation_get_connection ( GDBusMethodInvocation * invocation)

◆ g_dbus_method_invocation_get_interface_name()

GIO_AVAILABLE_IN_ALL const gchar * g_dbus_method_invocation_get_interface_name ( GDBusMethodInvocation * invocation)

◆ g_dbus_method_invocation_get_message()

GIO_AVAILABLE_IN_ALL GDBusMessage * g_dbus_method_invocation_get_message ( GDBusMethodInvocation * invocation)

◆ g_dbus_method_invocation_get_method_info()

GIO_AVAILABLE_IN_ALL const GDBusMethodInfo * g_dbus_method_invocation_get_method_info ( GDBusMethodInvocation * invocation)

◆ g_dbus_method_invocation_get_method_name()

GIO_AVAILABLE_IN_ALL const gchar * g_dbus_method_invocation_get_method_name ( GDBusMethodInvocation * invocation)

◆ g_dbus_method_invocation_get_object_path()

GIO_AVAILABLE_IN_ALL const gchar * g_dbus_method_invocation_get_object_path ( GDBusMethodInvocation * invocation)

◆ g_dbus_method_invocation_get_parameters()

GIO_AVAILABLE_IN_ALL GVariant * g_dbus_method_invocation_get_parameters ( GDBusMethodInvocation * invocation)

◆ g_dbus_method_invocation_get_property_info()

GIO_AVAILABLE_IN_2_38 const GDBusPropertyInfo * g_dbus_method_invocation_get_property_info ( GDBusMethodInvocation * invocation)

◆ g_dbus_method_invocation_get_sender()

GIO_AVAILABLE_IN_ALL const gchar * g_dbus_method_invocation_get_sender ( GDBusMethodInvocation * invocation)

◆ g_dbus_method_invocation_get_type()

GIO_AVAILABLE_IN_ALL GType g_dbus_method_invocation_get_type ( void )

◆ g_dbus_method_invocation_get_user_data()

GIO_AVAILABLE_IN_ALL gpointer g_dbus_method_invocation_get_user_data ( GDBusMethodInvocation * invocation)

◆ g_dbus_method_invocation_return_dbus_error()

GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_dbus_error ( GDBusMethodInvocation * invocation,
const gchar * error_name,
const gchar * error_message )

◆ g_dbus_method_invocation_return_error()

GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_error ( GDBusMethodInvocation * invocation,
GQuark domain,
gint code,
const gchar * format,
... )

◆ g_dbus_method_invocation_return_error_literal()

GIO_AVAILABLE_IN_ALL void GIO_AVAILABLE_IN_ALL void GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_error_literal ( GDBusMethodInvocation * invocation,
GQuark domain,
gint code,
const gchar * message )

◆ g_dbus_method_invocation_return_error_valist()

GIO_AVAILABLE_IN_ALL void GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_error_valist ( GDBusMethodInvocation * invocation,
GQuark domain,
gint code,
const gchar * format,
va_list var_args )

◆ g_dbus_method_invocation_return_gerror()

GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_gerror ( GDBusMethodInvocation * invocation,
const GError * error )

◆ g_dbus_method_invocation_return_value()

GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_value ( GDBusMethodInvocation * invocation,
GVariant * parameters )

◆ g_dbus_method_invocation_return_value_with_unix_fd_list()

GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_return_value_with_unix_fd_list ( GDBusMethodInvocation * invocation,
GVariant * parameters,
GUnixFDList * fd_list )

◆ g_dbus_method_invocation_take_error()

GIO_AVAILABLE_IN_ALL void g_dbus_method_invocation_take_error ( GDBusMethodInvocation * invocation,
GError * error )