Data Structures | |
struct | _GTaskRolePacket |
struct | _GTaskRolePacketClass |
struct | _GTaskRolePacketPrivate |
Defines | |
#define | GTASK_ROLE_PACKET_TYPE (gtask_role_packet_get_type()) |
#define | GTASK_ROLE_PACKET(obj) |
#define | GTASK_ROLE_PACKET_CLASS(klass) |
#define | GTASK_IS_ROLE_PACKET(obj) |
#define | GTASK_IS_ROLE_PACKET_CLASS(klass) |
#define | GTASK_ROLE_PACKET_GET_CLASS(obj) |
#define | GTASK_ROLE_TYPE (gtask_role_get_type()) |
Typedefs | |
typedef _GTaskRolePacket | GTaskRolePacket |
typedef _GTaskRolePacketPrivate | GTaskRolePacketPrivate |
typedef _GTaskRolePacketClass | GTaskRolePacketClass |
Enumerations | |
enum | GTaskRole { GTASK_ROLE_NONE, GTASK_ROLE_PROXY, GTASK_ROLE_REPORTER, GTASK_ROLE_PROVIDER } |
Functions | |
void | gtask_role_packet_class_init (GTaskRolePacketClass *klass) |
void | gtask_role_packet_init (GTaskRolePacket *packet, gpointer g_class) |
void | gtask_role_packet_finalize (GObject *obj) |
gboolean | gtask_role_packet_serialize_to (GTaskPacket *packet, GTaskConnection *conn) |
writes out the xml form of the passed in GTaskRolePacket 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_activity_state_get_type () |
GType | gtask_role_packet_get_type (void) |
GTaskRolePacket * | gtask_role_packet_new (void) |
creates a new GTaskRolePacket with a role set to NO_ROLE | |
GTaskRolePacket * | gtask_role_packet_new_with_role (GTaskRole role) |
creates a new GTaskRolePacket with the passed in role | |
GTaskRole | gtask_role_packet_get_role (GTaskRolePacket *packet) |
returns the role of passed in GTaskRolePacket | |
void | gtask_role_packet_set_role (GTaskRolePacket *packet, GTaskRole role) |
sets the role of the passed in GTaskRolePacket | |
void | gtask_role_packet_set_role_from_name (GTaskRolePacket *packet, const char *name) |
sets the role of the passed in GTaskRolePacket based upon the passed in character string | |
const char * | gtask_role_packet_get_role_name (GTaskRolePacket *packet) |
returns the string representation of the role | |
GTaskRole | gtask_role_from_name (const char *name) |
attempts to determine the role from the passed in string. Unrecognized roles default to NO_ROLE | |
const char * | gtask_role_name (GTaskRole role) |
returns the string representation of the passed in role | |
GType | gtask_role_get_type (void) |
Variables | |
gpointer | parent_class = NULL |
|
Value: (G_TYPE_CHECK_INSTANCE_TYPE( (obj), \ GTASK_ROLE_PACKET_TYPE )) Definition at line 32 of file gtask-role-packet.h. |
|
Value: (G_TYPE_CHECK_CLASS_TYPE( (klass), \ GTASK_ROLE_PACKET_TYPE )) Definition at line 39 of file gtask-role-packet.h. |
|
Value: (G_TYPE_CHECK_INSTANCE_CAST( (obj), \ GTASK_ROLE_PACKET_TYPE, \ GTaskRolePacket )) Definition at line 19 of file gtask-role-packet.h. |
|
Value: (G_TYPE_CHECK_CLASS_CAST( (klass), \ GTASK_ROLE_PACKET_TYPE, \ GTaskRolePacketClass )) Definition at line 24 of file gtask-role-packet.h. |
|
Value: (G_TYPE_INSTANCE_GET_CLASS( (obj), \ GTASK_ROLE_PACKET_TYPE, \ GTaskRolePacketClass )) Definition at line 42 of file gtask-role-packet.h. |
|
returns the GType of GTaskRolePacket Definition at line 16 of file gtask-role-packet.h. |
|
Definition at line 53 of file gtask-role-packet.h. |
|
Definition at line 10 of file gtask-role-packet.h. |
|
Definition at line 12 of file gtask-role-packet.h. |
|
Definition at line 11 of file gtask-role-packet.h. |
|
Definition at line 46 of file gtask-role-packet.h. |
|
Definition at line 37 of file gtask-role-packet.c. |
|
attempts to determine the role from the passed in string. Unrecognized roles default to NO_ROLE
Definition at line 290 of file gtask-role-packet.c. |
|
Definition at line 56 of file gtask-connection.c. |
|
returns the string representation of the passed in role
Definition at line 314 of file gtask-role-packet.c. |
|
Definition at line 82 of file gtask-role-packet.c. |
|
Definition at line 105 of file gtask-role-packet.c. |
|
returns the role of passed in GTaskRolePacket
Definition at line 220 of file gtask-role-packet.c. |
|
returns the string representation of the role
Definition at line 273 of file gtask-role-packet.c. |
|
Definition at line 56 of file gtask-role-packet.c. |
|
Definition at line 98 of file gtask-role-packet.c. |
|
creates a new GTaskRolePacket with a role set to NO_ROLE
Definition at line 186 of file gtask-role-packet.c. |
|
creates a new GTaskRolePacket with the passed in role
Definition at line 202 of file gtask-role-packet.c. |
|
writes out the xml form of the passed in GTaskRolePacket 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 129 of file gtask-role-packet.c. |
|
sets the role of the passed in GTaskRolePacket
Definition at line 235 of file gtask-role-packet.c. |
|
sets the role of the passed in GTaskRolePacket based upon the passed in character string
Definition at line 254 of file gtask-role-packet.c. |
|
Definition at line 8 of file gtask-role-packet.c. |