Ê×Ò³ | Êý¾Ý½á¹¹ | ÎļþÁбí | Êý¾Ý×Ö¶Î | È«¾Ö¶¨Òå

group.h

ä¯ÀÀ¸ÃÎļþµÄÎĵµ¡£
00001 
00023 // START OF FILE
00024 /*****************************************************************************/
00025 #ifndef _QQ_GROUP_H_
00026 #define _QQ_GROUP_H_
00027 
00028 #include <glib.h>
00029 #include "account.h"
00030 #include "connection.h"         // GaimConnection
00031 #include "roomlist.h"           // GaimRoomlist
00032 #include "qq.h"                 // qq_data
00033 
00034 #define GAIM_GROUP_QQ_QUN         "QQ 群"
00035 
00036 typedef enum {
00037         QQ_GROUP_MEMBER_STATUS_NOT_MEMBER = 0x00,       // default 0x00 means not member
00038         QQ_GROUP_MEMBER_STATUS_IS_MEMBER,
00039         QQ_GROUP_MEMBER_STATUS_APPLYING,
00040         QQ_GROUP_MEMBER_STATUS_IS_ADMIN,
00041 } qq_group_member_status;
00042 
00043 typedef struct _qq_group {
00044         // all these will be saved when exit GAIM
00045         qq_group_member_status my_status;       // my status for this group
00046         gchar *my_status_desc;  // my status description
00047         guint32 internal_group_id;
00048         guint32 external_group_id;
00049         guint8 group_type;      // permanent or temporory
00050         guint32 creator_uid;
00051         guint32 group_category;
00052         guint8 auth_type;
00053         gchar *group_name_utf8;
00054         gchar *group_desc_utf8;
00055         // all these will loaded from netowrk only
00056         gchar *notice_utf8;     // group notice by admin
00057         GList *members;         // those evert appear in the group
00058 } qq_group;
00059 
00060 GList *qq_chat_info(GaimConnection * gc);
00061 
00062 void qq_group_init(GaimConnection * gc);
00063 
00064 GaimRoomlist *qq_roomlist_get_list(GaimConnection * gc);
00065 
00066 void qq_roomlist_cancel(GaimRoomlist * list);
00067 
00068 #endif
00069 /*****************************************************************************/
00070 // END OF FILE

Generated at Mon May 8 15:41:23 2006 for OpenQ by  doxygen 1.4.4