]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-groups-widget.h
Updated Swedish translation
[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 #include <folks/folks.h>
27
28 G_BEGIN_DECLS
29
30 #define EMPATHY_TYPE_GROUPS_WIDGET (empathy_groups_widget_get_type ())
31 #define EMPATHY_GROUPS_WIDGET(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
32     EMPATHY_TYPE_GROUPS_WIDGET, EmpathyGroupsWidget))
33 #define EMPATHY_GROUPS_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
34     EMPATHY_TYPE_GROUPS_WIDGET, EmpathyGroupsWidgetClass))
35 #define EMPATHY_IS_GROUPS_WIDGET(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
36     EMPATHY_TYPE_GROUPS_WIDGET))
37 #define EMPATHY_IS_GROUPS_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
38     EMPATHY_TYPE_GROUPS_WIDGET))
39 #define EMPATHY_GROUPS_WIDGET_GET_CLASS(o) ( \
40     G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_GROUPS_WIDGET, \
41         EmpathyGroupsWidgetClass))
42
43 typedef struct {
44         GtkBox parent;
45
46         /*<private>*/
47         gpointer priv;
48 } EmpathyGroupsWidget;
49
50 typedef struct {
51         GtkBoxClass parent_class;
52 } EmpathyGroupsWidgetClass;
53
54 GType empathy_groups_widget_get_type (void) G_GNUC_CONST;
55
56 GtkWidget * empathy_groups_widget_new (FolksGroupDetails *group_details);
57
58 FolksGroupDetails * empathy_groups_widget_get_group_details (
59     EmpathyGroupsWidget *self);
60 void empathy_groups_widget_set_group_details (EmpathyGroupsWidget *self,
61     FolksGroupDetails *group_details);
62
63 G_END_DECLS
64
65 #endif /*  __EMPATHY_GROUPS_WIDGET_H__ */