Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

GTaskTaskPacket


Data Structures

struct  _GTaskTaskPacket
struct  _GTaskTaskPacketClass
struct  _GTaskTaskPacketPrivate

Defines

#define GTASK_TASK_PACKET_TYPE   (gtask_task_packet_get_type())
#define GTASK_TASK_PACKET(obj)
#define GTASK_TASK_PACKET_CLASS(klass)
#define GTASK_IS_TASK_PACKET(obj)
#define GTASK_IS_TASK_PACKET_CLASS(klass)
#define GTASK_TASK_PACKET_GET_CLASS(obj)

Typedefs

typedef _GTaskTaskPacket GTaskTaskPacket
typedef _GTaskTaskPacketPrivate GTaskTaskPacketPrivate
typedef _GTaskTaskPacketClass GTaskTaskPacketClass

Functions

void gtask_task_packet_class_init (GTaskTaskPacketClass *klass)
void gtask_task_packet_init (GTaskTaskPacket *packet, gpointer g_class)
void gtask_task_packet_dispose (GObject *obj)
void gtask_task_packet_finalize (GObject *obj)
gboolean gtask_task_packet_serialize_to (GTaskPacket *packet, GTaskConnection *conn)
 writes out the xml form of the passed in GTaskTaskPacket 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_task_packet_get_type (void)
GTaskTaskPacketgtask_task_packet_new_with_task (GTaskGenericTask *task)
 creates a new GTaskTaskPacket that holds the passed in task

GTaskGenericTaskgtask_task_packet_get_task (GTaskTaskPacket *packet)
 returns the task held by the packet


Variables

gpointer parent_class

Define Documentation

#define GTASK_IS_TASK_PACKET obj   ) 
 

Value:

(G_TYPE_CHECK_INSTANCE_TYPE( (obj), \
                                           GTASK_TASK_PACKET_TYPE ))
returns TRUE if the passed in object is a GTaskTaskPacket, FALSE otherwise

Definition at line 33 of file gtask-task-packet.h.

#define GTASK_IS_TASK_PACKET_CLASS klass   ) 
 

Value:

(G_TYPE_CHECK_CLASS_TYPE( (klass), \
                                           GTASK_TASK_PACKET_TYPE ))
returns TRUE if the passed in object is a GTaskTaskPacketClass, FALSE otherwise

Definition at line 40 of file gtask-task-packet.h.

#define GTASK_TASK_PACKET obj   ) 
 

Value:

(G_TYPE_CHECK_INSTANCE_CAST( (obj), \
                                           GTASK_TASK_PACKET_TYPE, \
                                           GTaskTaskPacket ))
casts the passed in object to a GTaskTaskPacket

Definition at line 20 of file gtask-task-packet.h.

#define GTASK_TASK_PACKET_CLASS klass   ) 
 

Value:

(G_TYPE_CHECK_CLASS_CAST( (klass), \
                                           GTASK_TASK_PACKET_TYPE, \
                                           GTaskTaskPacketClass ))
casts the passed in object to a GTaskTaskPacketClass

Definition at line 25 of file gtask-task-packet.h.

#define GTASK_TASK_PACKET_GET_CLASS obj   ) 
 

Value:

(G_TYPE_INSTANCE_GET_CLASS( (obj), \
                                           GTASK_TASK_PACKET_TYPE, \
                                           GTaskTaskPacketClass ))

Definition at line 43 of file gtask-task-packet.h.

#define GTASK_TASK_PACKET_TYPE   (gtask_task_packet_get_type())
 

returns the GType of GTaskTaskPacket

Definition at line 17 of file gtask-task-packet.h.


Typedef Documentation

typedef struct _GTaskTaskPacket GTaskTaskPacket
 

Definition at line 11 of file gtask-task-packet.h.

typedef struct _GTaskTaskPacketClass GTaskTaskPacketClass
 

Definition at line 13 of file gtask-task-packet.h.

typedef struct _GTaskTaskPacketPrivate GTaskTaskPacketPrivate
 

Definition at line 12 of file gtask-task-packet.h.


Function Documentation

void gtask_task_packet_class_init GTaskTaskPacketClass klass  )  [static]
 

Definition at line 51 of file gtask-task-packet.c.

void gtask_task_packet_dispose GObject *  obj  )  [static]
 

Todo:
do we have to chain up to our parent's dispose method too?

Definition at line 74 of file gtask-task-packet.c.

void gtask_task_packet_finalize GObject *  obj  )  [static]
 

Definition at line 94 of file gtask-task-packet.c.

GTaskGenericTask * gtask_task_packet_get_task GTaskTaskPacket packet  ) 
 

returns the task held by the packet

Attention:
This function will not increase the reference count of the GTaskGenericTask that is returned.
Author:
Michael Henson
Parameters:
packet a GTaskTaskPacket
Returns:
the GTaskGenericTask

Definition at line 163 of file gtask-task-packet.c.

GType gtask_task_packet_get_type void   ) 
 

Definition at line 25 of file gtask-task-packet.c.

void gtask_task_packet_init GTaskTaskPacket packet,
gpointer  g_class
[static]
 

Definition at line 64 of file gtask-task-packet.c.

GTaskTaskPacket * gtask_task_packet_new_with_task GTaskGenericTask task  ) 
 

creates a new GTaskTaskPacket that holds the passed in task

Attention:
This function will increase the reference count of the passed in GTaskGenericTask.
Parameters:
task a GTaskGenericTask
Returns:
the new GTaskTaskPacket

Definition at line 138 of file gtask-task-packet.c.

gboolean gtask_task_packet_serialize_to GTaskPacket packet,
GTaskConnection conn
[static]
 

writes out the xml form of the passed in GTaskTaskPacket 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.

Author:
Michael Henson
Parameters:
packet a GTaskTaskPacket
conn the connection to serialize to
Returns:
the success/failure of the operation

Definition at line 118 of file gtask-task-packet.c.


Variable Documentation

gpointer parent_class [static]
 

Definition at line 7 of file gtask-task-packet.c.


Generated on Mon Feb 2 21:26:18 2004 for libgtask by doxygen 1.3.4