Data Structures | |
struct | _GTaskErrorPacket |
struct | _GTaskErrorPacketClass |
struct | _GTaskErrorPacketPrivate |
Defines | |
#define | GTASK_ERROR_PACKET_TYPE (gtask_error_packet_get_type()) |
#define | GTASK_ERROR_PACKET(obj) |
#define | GTASK_ERROR_PACKET_CLASS(klass) |
#define | GTASK_IS_ERROR_PACKET(obj) |
#define | GTASK_IS_ERROR_PACKET_CLASS(klass) |
#define | GTASK_ERROR_PACKET_GET_CLASS(obj) |
Typedefs | |
typedef _GTaskErrorPacket | GTaskErrorPacket |
typedef _GTaskErrorPacketPrivate | GTaskErrorPacketPrivate |
typedef _GTaskErrorPacketClass | GTaskErrorPacketClass |
Enumerations | |
enum | GTaskErrorType { GTASK_ERROR_NONE, GTASK_ERROR_UNDEFINED } |
Functions | |
void | gtask_error_packet_class_init (GTaskErrorPacketClass *klass) |
void | gtask_error_packet_init (GTaskErrorPacket *packet, gpointer g_class) |
void | gtask_error_packet_finalize (GObject *obj) |
gboolean | gtask_error_packet_serialize_to (GTaskPacket *packet, GTaskConnection *conn) |
writes out the xml form of the passed in GTaskErrorPacket to the passed in GTaskConnection. In general this function should never be called, except from within the library. To serialize any packet call gtask_packet_serialize( GTaskPacket * ) instead. | |
GType | gtask_error_packet_get_type (void) |
GTaskErrorPacket * | gtask_error_packet_new () |
creates a new GTaskErrorPacket | |
GTaskErrorType | gtask_error_packet_get_error_type (GTaskErrorPacket *packet) |
returns the error type of the passed in GTaskErrorPacket | |
void | gtask_error_packet_set_error_type (GTaskErrorPacket *packet, GTaskErrorType error) |
sets the error type of the passed in GTaskErrorPacket | |
const char * | gtask_error_packet_get_error_message (GTaskErrorPacket *packet) |
returns a readable error message for the type of error | |
void | gtask_error_packet_set_error_message (GTaskErrorPacket *packet, const char *error_msg) |
sets the readable error message for the type of error | |
Variables | |
gpointer | parent_class |
|
Value: (G_TYPE_CHECK_INSTANCE_CAST( (obj), \ GTASK_ERROR_PACKET_TYPE, \ GTaskErrorPacket )) Definition at line 19 of file gtask-error-packet.h. |
|
Value: (G_TYPE_CHECK_CLASS_CAST( (klass), \ GTASK_ERROR_PACKET_TYPE, \ GTaskErrorPacketClass )) Definition at line 24 of file gtask-error-packet.h. |
|
Value: (G_TYPE_INSTANCE_GET_CLASS( (obj), \ GTASK_ERROR_PACKET_TYPE, \ GTaskErrorPacketClass )) Definition at line 42 of file gtask-error-packet.h. |
|
returns the GType of GTaskErrorPacket Definition at line 16 of file gtask-error-packet.h. |
|
Value: (G_TYPE_CHECK_INSTANCE_TYPE( (obj), \ GTASK_ERROR_PACKET_TYPE )) Definition at line 32 of file gtask-error-packet.h. |
|
Value: (G_TYPE_CHECK_CLASS_TYPE( (klass), \ GTASK_ERROR_PACKET_TYPE )) Definition at line 39 of file gtask-error-packet.h. |
|
Definition at line 10 of file gtask-error-packet.h. |
|
Definition at line 12 of file gtask-error-packet.h. |
|
Definition at line 11 of file gtask-error-packet.h. |
|
Definition at line 46 of file gtask-error-packet.h. |
|
Definition at line 48 of file gtask-error-packet.c. |
|
Definition at line 70 of file gtask-error-packet.c. |
|
returns a readable error message for the type of error
Definition at line 199 of file gtask-error-packet.c. |
|
returns the error type of the passed in GTaskErrorPacket
Definition at line 166 of file gtask-error-packet.c. |
|
Definition at line 22 of file gtask-error-packet.c. |
|
Definition at line 60 of file gtask-error-packet.c. |
|
creates a new GTaskErrorPacket
Definition at line 152 of file gtask-error-packet.c. |
|
writes out the xml form of the passed in GTaskErrorPacket to the passed in GTaskConnection. In general this function should never be called, except from within the library. To serialize any packet call gtask_packet_serialize( GTaskPacket * ) instead.
Definition at line 97 of file gtask-error-packet.c. |
|
sets the readable error message for the type of error
Definition at line 214 of file gtask-error-packet.c. |
|
sets the error type of the passed in GTaskErrorPacket
Definition at line 181 of file gtask-error-packet.c. |
|
Definition at line 7 of file gtask-error-packet.c. |