]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-groups-widget.h
individual_view_drag_end: remove the auto scroll
[empathy.git] / libempathy-gtk / empathy-groups-widget.h
1 /*
2  * Copyright (C) 2007-2010 Collabora Ltd.
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17  *
18  * Authors: Xavier Claessens <xclaesse@gmail.com>
19  *          Philip Withnall <philip.withnall@collabora.co.uk>
20  */
21
22 #ifndef __EMPATHY_GROUPS_WIDGET_H__
23 #define __EMPATHY_GROUPS_WIDGET_H__
24
25 #include <gtk/gtk.h>
26
27 #include <folks/folks.h>
28
29 G_BEGIN_DECLS
30
31 #define EMPATHY_TYPE_GROUPS_WIDGET (empathy_groups_widget_get_type ())
32 #define EMPATHY_GROUPS_WIDGET(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
33     EMPATHY_TYPE_GROUPS_WIDGET, EmpathyGroupsWidget))
34 #define EMPATHY_GROUPS_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
35     EMPATHY_TYPE_GROUPS_WIDGET, EmpathyGroupsWidgetClass))
36 #define EMPATHY_IS_GROUPS_WIDGET(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
37     EMPATHY_TYPE_GROUPS_WIDGET))
38 #define EMPATHY_IS_GROUPS_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
39     EMPATHY_TYPE_GROUPS_WIDGET))
40 #define EMPATHY_GROUPS_WIDGET_GET_CLASS(o) ( \
41     G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_GROUPS_WIDGET, \
42         EmpathyGroupsWidgetClass))
43
44 typedef struct {
45         GtkBox parent;
46
47         /*<private>*/
48         gpointer priv;
49 } EmpathyGroupsWidget;
50
51 typedef struct {
52         GtkBoxClass parent_class;
53 } EmpathyGroupsWidgetClass;
54
55 GType empathy_groups_widget_get_type (void) G_GNUC_CONST;
56
57 GtkWidget * empathy_groups_widget_new (FolksGroupDetails *group_details);
58
59 FolksGroupDetails * empathy_groups_widget_get_group_details (
60     EmpathyGroupsWidget *self);
61 void empathy_groups_widget_set_group_details (EmpathyGroupsWidget *self,
62     FolksGroupDetails *group_details);
63
64 G_END_DECLS
65
66 #endif /*  __EMPATHY_GROUPS_WIDGET_H__ */