Top |
Service-side Channel Dispatch Operation interfaceService-side Channel Dispatch Operation interface — GInterface for Telepathy ChannelDispatchOperation object |
This interface (auto-generated from the Telepathy spec) makes it easier to export an object implementing the Telepathy ChannelDispatchOperation interface, with the correct method and signal signatures, and emit signals from that object in a type-safe way.
You don't need these interfaces unless you're implementing a Telepathy ChannelDispatcher, such as Mission Control.
void
tp_svc_channel_dispatch_operation_return_from_claim
(GDBusMethodInvocation *invocation
);
Return successfully by calling g_dbus_method_invocation_return_value()
.
void (*tp_svc_channel_dispatch_operation_claim_impl) (TpSvcChannelDispatchOperation *self
,GDBusMethodInvocation *invocation
);
The signature of an implementation of the D-Bus method Claim on interface im.telepathy.v1.ChannelDispatchOperation.
void tp_svc_channel_dispatch_operation_implement_claim (TpSvcChannelDispatchOperationClass *klass
,tp_svc_channel_dispatch_operation_claim_impl impl
);
Register an implementation for the Claim method in the vtable of an implementation of this interface. To be called from the interface init function.
void
tp_svc_channel_dispatch_operation_return_from_handle_with
(GDBusMethodInvocation *invocation
);
Return successfully by calling g_dbus_method_invocation_return_value()
.
void (*tp_svc_channel_dispatch_operation_handle_with_impl) (TpSvcChannelDispatchOperation *self
,const gchar *in_Handler
,gint64 in_UserActionTime
,GDBusMethodInvocation *invocation
);
The signature of an implementation of the D-Bus method HandleWith on interface im.telepathy.v1.ChannelDispatchOperation.
void tp_svc_channel_dispatch_operation_implement_handle_with (TpSvcChannelDispatchOperationClass *klass
,tp_svc_channel_dispatch_operation_handle_with_impl impl
);
Register an implementation for the HandleWith method in the vtable of an implementation of this interface. To be called from the interface init function.
typedef struct _TpSvcChannelDispatchOperation TpSvcChannelDispatchOperation;
Dummy typedef representing any implementation of this interface.
typedef struct _TpSvcChannelDispatchOperationClass TpSvcChannelDispatchOperationClass;
The class of TpSvcChannelDispatchOperation.
In a full implementation of this interface (i.e. all
methods implemented), the interface initialization
function used in G_IMPLEMENT_INTERFACE()
would
typically look like this:
static void implement_channel_dispatch_operation (gpointer klass, gpointer unused G_GNUC_UNUSED) { #define IMPLEMENT(x) tp_svc_channel_dispatch_operation_implement_##x (\ klass, my_object_##x) IMPLEMENT (handle_with); IMPLEMENT (claim); #undef IMPLEMENT }
“finished”
signalvoid user_function (TpSvcChannelDispatchOperation *self, gchar *arg_Error, gchar *arg_Message, gpointer user_data)
The Finished D-Bus signal is emitted whenever this GObject signal is.
self |
an object |
|
arg_Error |
const gchar * (FIXME, generate documentation) |
|
arg_Message |
const gchar * (FIXME, generate documentation) |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details