- gobject_class->finalize = g_dbus_method_invocation_finalize;
- gobject_class->set_property = g_dbus_method_invocation_set_property;
- gobject_class->get_property = g_dbus_method_invocation_get_property;
-
- /**
- * GDBusMethodInvocation:sender:
- *
- * The bus name that invoked the method or %NULL if the connection is not a bus connection.
- *
- * Since: 2.26
- */
- g_object_class_install_property (gobject_class,
- PROP_SENDER,
- g_param_spec_string ("sender",
- _("Sender"),
- _("The bus name that invoked the method."),
- NULL,
- G_PARAM_READABLE |
- G_PARAM_WRITABLE |
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_STATIC_NAME |
- G_PARAM_STATIC_BLURB |
- G_PARAM_STATIC_NICK));
-
- /**
- * GDBusMethodInvocation:object-path:
- *
- * The object path the method was invoked on.
- *
- * Since: 2.26
- */
- g_object_class_install_property (gobject_class,
- PROP_OBJECT_PATH,
- g_param_spec_string ("object-path",
- _("Object Path"),
- _("The object path the method was invoked on."),
- NULL,
- G_PARAM_READABLE |
- G_PARAM_WRITABLE |
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_STATIC_NAME |
- G_PARAM_STATIC_BLURB |
- G_PARAM_STATIC_NICK));
-
- /**
- * GDBusMethodInvocation:interface-name:
- *
- * The name of the D-Bus interface the method was invoked on.
- *
- * Since: 2.26
- */
- g_object_class_install_property (gobject_class,
- PROP_INTERFACE_NAME,
- g_param_spec_string ("interface-name",
- _("Interface Name"),
- _("The name of the D-Bus interface the method was invoked on."),
- NULL,
- G_PARAM_READABLE |
- G_PARAM_WRITABLE |
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_STATIC_NAME |
- G_PARAM_STATIC_BLURB |
- G_PARAM_STATIC_NICK));
-
- /**
- * GDBusMethodInvocation:method-name:
- *
- * The name of the method that was invoked.
- *
- * Since: 2.26
- */
- g_object_class_install_property (gobject_class,
- PROP_METHOD_NAME,
- g_param_spec_string ("method-name",
- _("Method Name"),
- _("The name of the method that was invoked."),
- NULL,
- G_PARAM_READABLE |
- G_PARAM_WRITABLE |
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_STATIC_NAME |
- G_PARAM_STATIC_BLURB |
- G_PARAM_STATIC_NICK));
-
- /**
- * GDBusMethodInvocation:method-info:
- *
- * Information about the method that was invoked, if any.
- *
- * Since: 2.26
- */
- g_object_class_install_property (gobject_class,
- PROP_METHOD_INFO,
- g_param_spec_boxed ("method-info",
- _("Method Info"),
- _("Information about the method that was invoked, if any."),
- G_TYPE_DBUS_METHOD_INFO,
- G_PARAM_READABLE |
- G_PARAM_WRITABLE |
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_STATIC_NAME |
- G_PARAM_STATIC_BLURB |
- G_PARAM_STATIC_NICK));
-
- /**
- * GDBusMethodInvocation:connection:
- *
- * The #GDBusConnection the method was invoked on.
- *
- * Since: 2.26
- */
- g_object_class_install_property (gobject_class,
- PROP_CONNECTION,
- g_param_spec_object ("connection",
- _("Connection"),
- _("The #GDBusConnection the method was invoked on."),
- G_TYPE_DBUS_CONNECTION,
- G_PARAM_READABLE |
- G_PARAM_WRITABLE |
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_STATIC_NAME |
- G_PARAM_STATIC_BLURB |
- G_PARAM_STATIC_NICK));
-
- /**
- * GDBusMethodInvocation:message:
- *
- * The D-Bus message.
- *
- * Since: 2.26
- */
- g_object_class_install_property (gobject_class,
- PROP_MESSAGE,
- g_param_spec_object ("message",
- _("Message"),
- _("The D-Bus Message."),
- G_TYPE_DBUS_MESSAGE,
- G_PARAM_READABLE |
- G_PARAM_WRITABLE |
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_STATIC_NAME |
- G_PARAM_STATIC_BLURB |
- G_PARAM_STATIC_NICK));
-
- /**
- * GDBusMethodInvocation:parameters:
- *
- * The parameters as a #GVariant tuple.
- *
- * Since: 2.26
- */
- g_object_class_install_property (gobject_class,
- PROP_PARAMETERS,
- g_param_spec_boxed ("parameters",
- _("Parameters"),
- _("The parameters as a #GVariant tuple."),
- G_TYPE_VARIANT,
- G_PARAM_READABLE |
- G_PARAM_WRITABLE |
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_STATIC_NAME |
- G_PARAM_STATIC_BLURB |
- G_PARAM_STATIC_NICK));
-
- /**
- * GDBusMethodInvocation:user-data:
- *
- * The @user_data #gpointer passed to g_dbus_connection_register_object().
- *
- * Since: 2.26
- */
- g_object_class_install_property (gobject_class,
- PROP_USER_DATA,
- g_param_spec_pointer ("user-data",
- _("User Data"),
- _("The gpointer passed to g_dbus_connection_register_object()."),
- G_PARAM_READABLE |
- G_PARAM_WRITABLE |
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_STATIC_NAME |
- G_PARAM_STATIC_BLURB |
- G_PARAM_STATIC_NICK));
-
- g_type_class_add_private (klass, sizeof (GDBusMethodInvocationPrivate));