~bcurtiswx/ubuntu/precise/empathy/3.4.2.3-0ubuntu1

« back to all changes in this revision

Viewing changes to libempathy/empathy-contact-list.h

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-12-21 15:12:56 UTC
  • mfrom: (1.1.84)
  • Revision ID: package-import@ubuntu.com-20111221151256-9b1pny75wphfmqd6
Tags: 3.3.3-0ubuntu1
* New upstream version
  - Require folks >= 0.6.6 (LP: #907501)
* debian/control
  - bump build depends for folks to >= 0.6.6
* debian/watch
  - use the .xz file

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#define EMPATHY_IS_CONTACT_LIST(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_CONTACT_LIST))
35
35
#define EMPATHY_CONTACT_LIST_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), EMPATHY_TYPE_CONTACT_LIST, EmpathyContactListIface))
36
36
 
37
 
typedef enum {
38
 
        EMPATHY_CONTACT_LIST_CAN_ADD            = 1 << 0,
39
 
        EMPATHY_CONTACT_LIST_CAN_REMOVE         = 1 << 1,
40
 
        EMPATHY_CONTACT_LIST_CAN_ALIAS          = 1 << 2,
41
 
        EMPATHY_CONTACT_LIST_CAN_GROUP          = 1 << 3,
42
 
        EMPATHY_CONTACT_LIST_MESSAGE_ADD        = 1 << 4,
43
 
} EmpathyContactListFlags;
44
 
 
45
37
typedef struct _EmpathyContactListIface EmpathyContactListIface;
46
38
 
47
39
struct _EmpathyContactListIface {
56
48
                                               const gchar        *message);
57
49
        GList *          (*get_members)       (EmpathyContactList *list);
58
50
        GList *          (*get_pendings)      (EmpathyContactList *list);
59
 
        GList *          (*get_all_groups)    (EmpathyContactList *list);
60
51
        GList *          (*get_groups)        (EmpathyContactList *list,
61
52
                                               EmpathyContact     *contact);
62
53
        void             (*add_to_group)      (EmpathyContactList *list,
70
61
                                               const gchar        *new_group);
71
62
        void             (*remove_group)      (EmpathyContactList *list,
72
63
                                               const gchar        *group);
73
 
        EmpathyContactListFlags
74
 
                         (*get_flags)         (EmpathyContactList *list);
75
64
};
76
65
 
77
66
GType    empathy_contact_list_get_type          (void) G_GNUC_CONST;
83
72
                                                 const gchar        *message);
84
73
GList *  empathy_contact_list_get_members       (EmpathyContactList *list);
85
74
GList *  empathy_contact_list_get_pendings      (EmpathyContactList *list);
86
 
GList *  empathy_contact_list_get_all_groups    (EmpathyContactList *list);
87
75
GList *  empathy_contact_list_get_groups        (EmpathyContactList *list,
88
76
                                                 EmpathyContact     *contact);
89
77
void     empathy_contact_list_add_to_group      (EmpathyContactList *list,
98
86
void     empathy_contact_list_remove_group      (EmpathyContactList *list,
99
87
                                                 const gchar        *group);
100
88
 
101
 
EmpathyContactListFlags
102
 
         empathy_contact_list_get_flags         (EmpathyContactList *list);
103
 
 
104
89
G_END_DECLS
105
90
 
106
91
#endif /* __EMPATHY_CONTACT_LIST_H__ */