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

GTaskWatchPacket


Data Structures

struct  _GTaskWatchPacket
struct  _GTaskWatchPacketClass
struct  _GTaskWatchPacketPrivate

Defines

#define GTASK_WATCH_PACKET_TYPE   (gtask_watch_packet_get_type())
#define GTASK_WATCH_PACKET(obj)
#define GTASK_WATCH_PACKET_CLASS(klass)
#define GTASK_IS_WATCH_PACKET(obj)
#define GTASK_IS_WATCH_PACKET_CLASS(klass)
#define GTASK_WATCH_PACKET_GET_CLASS(obj)

Typedefs

typedef _GTaskWatchPacket GTaskWatchPacket
typedef _GTaskWatchPacketPrivate GTaskWatchPacketPrivate
typedef _GTaskWatchPacketClass GTaskWatchPacketClass

Functions

void gtask_watch_packet_class_init (GTaskWatchPacketClass *klass)
void gtask_watch_packet_init (GTaskWatchPacket *packet, gpointer g_class)
void gtask_watch_packet_finalize (GObject *packet)
gboolean gtask_watch_packet_serialize_to (GTaskPacket *packet, GTaskConnection *conn)
 writes out the xml form of the passed in GTaskWatchPacket 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_watch_packet_get_type (void)
GTaskWatchPacketgtask_watch_packet_new ()
 creates a new GTaskWatchPacket

GTaskWatchPacketgtask_watch_packet_new_with_watch_id (const char *watch_id)
 creates a new GTaskWatchPacket with the passed in watch_id

const char * gtask_watch_packet_get_watch_id (GTaskWatchPacket *packet)
 returns the watch id held by the passed in GTaskWatchPacket

void gtask_watch_packet_set_watch_id (GTaskWatchPacket *packet, const char *watch_id)
 sets the watch id of the passed GTaskWatchPacket


Variables

gpointer parent_class

Define Documentation

#define GTASK_IS_WATCH_PACKET obj   ) 
 

Value:

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

Definition at line 32 of file gtask-watch-packet.h.

#define GTASK_IS_WATCH_PACKET_CLASS klass   ) 
 

Value:

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

Definition at line 39 of file gtask-watch-packet.h.

#define GTASK_WATCH_PACKET obj   ) 
 

Value:

(G_TYPE_CHECK_INSTANCE_CAST( (obj), \
                                            GTASK_WATCH_PACKET_TYPE, \
                                            GTaskWatchPacket ))
casts the passed in object to a GTaskWatchPacket

Definition at line 19 of file gtask-watch-packet.h.

#define GTASK_WATCH_PACKET_CLASS klass   ) 
 

Value:

(G_TYPE_CHECK_CLASS_CAST( (klass), \
                                            GTASK_WATCH_PACKET_TYPE, \
                                            GTaskWatchPacketClass ))
casts the passed in object to a GTaskWatchPacketClass

Definition at line 24 of file gtask-watch-packet.h.

#define GTASK_WATCH_PACKET_GET_CLASS obj   ) 
 

Value:

(G_TYPE_INSTANCE_GET_CLASS( (obj), \
                                            GTASK_WATCH_PACKET_TYPE, \
                                            GTaskWatchPacketClass ))

Definition at line 42 of file gtask-watch-packet.h.

#define GTASK_WATCH_PACKET_TYPE   (gtask_watch_packet_get_type())
 

returns the GType of GTaskWatchPacket

Definition at line 16 of file gtask-watch-packet.h.


Typedef Documentation

typedef struct _GTaskWatchPacket GTaskWatchPacket
 

Definition at line 10 of file gtask-watch-packet.h.

typedef struct _GTaskWatchPacketClass GTaskWatchPacketClass
 

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

typedef struct _GTaskWatchPacketPrivate GTaskWatchPacketPrivate
 

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


Function Documentation

void gtask_watch_packet_class_init GTaskWatchPacketClass klass  )  [static]
 

Definition at line 49 of file gtask-watch-packet.c.

void gtask_watch_packet_finalize GObject *  packet  )  [static]
 

Definition at line 68 of file gtask-watch-packet.c.

GType gtask_watch_packet_get_type void   ) 
 

Definition at line 23 of file gtask-watch-packet.c.

const char * gtask_watch_packet_get_watch_id GTaskWatchPacket packet  ) 
 

returns the watch id held by the passed in GTaskWatchPacket

Author:
Michael Henson
Parameters:
packet a GTaskWatchPacket
Returns:
the watch id

Definition at line 179 of file gtask-watch-packet.c.

void gtask_watch_packet_init GTaskWatchPacket packet,
gpointer  g_class
[static]
 

Definition at line 61 of file gtask-watch-packet.c.

GTaskWatchPacket * gtask_watch_packet_new void   ) 
 

creates a new GTaskWatchPacket

Author:
Michael Henson
Returns:
the new GTaskWatchPacket

Definition at line 147 of file gtask-watch-packet.c.

GTaskWatchPacket * gtask_watch_packet_new_with_watch_id const char *  watch_id  ) 
 

creates a new GTaskWatchPacket with the passed in watch_id

Author:
Michael Henson
Parameters:
watch_id the watch id
Returns:
the new GTaskWatchPacket

Definition at line 161 of file gtask-watch-packet.c.

gboolean gtask_watch_packet_serialize_to GTaskPacket packet,
GTaskConnection conn
[static]
 

writes out the xml form of the passed in GTaskWatchPacket 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 GTaskRolePacket
conn the connection to serialize to
Returns:
the success/failure of the operation

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

void gtask_watch_packet_set_watch_id GTaskWatchPacket packet,
const char *  watch_id
 

sets the watch id of the passed GTaskWatchPacket

Author:
Michael Henson
Parameters:
packet a GTaskWatchPacket
watch_id the new watch id
Todo:
implement me

Definition at line 194 of file gtask-watch-packet.c.


Variable Documentation

gpointer parent_class
 

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


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