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

gtask-remove-watch-packet.h

Go to the documentation of this file.
00001 #ifndef GTASK_REMOVE_WATCH_PACKET_H
00002 #define GTASK_REMOVE_WATCH_PACKET_H
00003 
00004 #include <gtask/gtask-packet.h>
00005 #include <gtask/gtask-connection.h>
00006 
00009 /* @{ */
00010 
00011 typedef struct _GTaskRemoveWatchPacket        GTaskRemoveWatchPacket;
00012 typedef struct _GTaskRemoveWatchPacketPrivate GTaskRemoveWatchPacketPrivate;
00013 typedef struct _GTaskRemoveWatchPacketClass   GTaskRemoveWatchPacketClass;
00014 
00015 
00017 #define GTASK_REMOVE_WATCH_PACKET_TYPE    (gtask_remove_watch_packet_get_type())
00018 
00020 #define GTASK_REMOVE_WATCH_PACKET(obj)     (G_TYPE_CHECK_INSTANCE_CAST( (obj), \
00021                                             GTASK_REMOVE_WATCH_PACKET_TYPE, \
00022                                             GTaskRemoveWatchPacket ))
00023 
00025 #define GTASK_REMOVE_WATCH_PACKET_CLASS(klass) \
00026                                            (G_TYPE_CHECK_CLASS_CAST( (klass), \
00027                                             GTASK_REMOVE_WATCH_PACKET_TYPE, \
00028                                             GTaskRemoveWatchPacketClass ))
00029 
00034 #define GTASK_IS_REMOVE_WATCH_PACKET(obj)  (G_TYPE_CHECK_INSTANCE_TYPE( (obj), \
00035                                             GTASK_REMOVE_WATCH_PACKET_TYPE ))
00036 
00041 #define GTASK_IS_REMOVE_WATCH_PACKET_CLASS(klass) \
00042                                            (G_TYPE_CHECK_CLASS_TYPE( (klass), \
00043                                             GTASK_REMOVE_WATCH_PACKET_TYPE ))
00044 
00045 #define GTASK_REMOVE_WATCH_PACKET_GET_CLASS(obj) \
00046                                            (G_TYPE_INSTANCE_GET_CLASS( (obj), \
00047                                             GTASK_REMOVE_WATCH_PACKET_TYPE, \
00048                                             GTaskRemoveWatchPacketClass ))
00049 
00050 struct _GTaskRemoveWatchPacket {
00051     GTaskPacket                    parent;
00052     GTaskRemoveWatchPacketPrivate *private;
00053 };
00054 
00055 struct _GTaskRemoveWatchPacketPrivate {
00056     GString *watch_id;
00057 };
00058 
00059 struct _GTaskRemoveWatchPacketClass {
00060     GTaskPacketClass parent;
00061 };
00062 
00063 GType gtask_remove_watch_packet_get_type( void );
00064 
00065 GTaskRemoveWatchPacket *
00066 gtask_remove_watch_packet_new( void );
00067 
00068 GTaskRemoveWatchPacket *
00069 gtask_remove_watch_packet_new_with_watch_id( const char *watch_id );
00070 
00071 const char *
00072 gtask_remove_watch_packet_get_watch_id( GTaskRemoveWatchPacket *packet );
00073 
00074 void 
00075 gtask_remove_watch_packet_set_watch_id( GTaskRemoveWatchPacket *packet,
00076                                         const char *watch_id );
00077 
00078 /* @} */
00079 
00080 #endif

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