Top |
Service-side Debug base interfaceService-side Debug base interface — GInterface for Telepathy Debug objects |
void | (*tp_svc_debug1_get_messages_impl) () |
void | tp_svc_debug1_implement_get_messages () |
void | tp_svc_debug1_return_from_get_messages () |
void | tp_svc_debug1_emit_new_debug_message () |
This interface (auto-generated from the Telepathy spec) makes it easier to export objects implementing the Telepathy Debug interface.
TpDebugSender provides a reference implementation of the Debug object.
void (*tp_svc_debug1_get_messages_impl) (TpSvcDebug1 *self
,GDBusMethodInvocation *invocation
);
The signature of an implementation of the D-Bus method GetMessages on interface im.telepathy.v1.Debug1.
void tp_svc_debug1_implement_get_messages (TpSvcDebug1Class *klass
,tp_svc_debug1_get_messages_impl impl
);
Register an implementation for the GetMessages method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_debug1_return_from_get_messages (GDBusMethodInvocation *invocation
,const GPtrArray *out_Messages
);
Return successfully by calling g_dbus_method_invocation_return_value()
.
typedef struct _TpSvcDebug1 TpSvcDebug1;
Dummy typedef representing any implementation of this interface.
typedef struct _TpSvcDebug1Class TpSvcDebug1Class;
The class of TpSvcDebug1.
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_debug1 (gpointer klass, gpointer unused G_GNUC_UNUSED) { #define IMPLEMENT(x) tp_svc_debug1_implement_##x (\ klass, my_object_##x) IMPLEMENT (get_messages); #undef IMPLEMENT }
“new-debug-message”
signalvoid user_function (TpSvcDebug1 *self, gdouble arg_time, gchar *arg_domain, guint arg_level, gchar *arg_message, gpointer user_data)
The NewDebugMessage D-Bus signal is emitted whenever this GObject signal is.
self |
an object |
|
arg_time |
gdouble (FIXME, generate documentation) |
|
arg_domain |
const gchar * (FIXME, generate documentation) |
|
arg_level |
guint (FIXME, generate documentation) |
|
arg_message |
const gchar * (FIXME, generate documentation) |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details