]> git.0d.be Git - empathy.git/blob - src/empathy-roster-window.h
roster-window: use self->priv pattern
[empathy.git] / src / empathy-roster-window.h
1 /*
2  * Copyright (C) 2002-2007 Imendio AB
3  * Copyright (C) 2007-2008 Collabora Ltd.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of the
8  * License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this program; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA  02110-1301  USA
19  *
20  * Authors: Xavier Claessens <xclaesse@gmail.com>
21  *          Danielle Madeley <danielle.madeley@collabora.co.uk>
22  */
23
24 #ifndef __EMPATHY_ROSTER_WINDOW_H__
25 #define __EMPATHY_ROSTER_WINDOW_H__
26
27 #include <gtk/gtk.h>
28
29 G_BEGIN_DECLS
30
31 #define EMPATHY_TYPE_ROSTER_WINDOW         (empathy_roster_window_get_type ())
32 #define EMPATHY_ROSTER_WINDOW(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_ROSTER_WINDOW, EmpathyRosterWindow))
33 #define EMPATHY_ROSTER_WINDOW_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST ((k), EMPATHY_TYPE_ROSTER_WINDOW, EmpathyRosterWindowClass))
34 #define EMPATHY_IS_ROSTER_WINDOW(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_ROSTER_WINDOW))
35 #define EMPATHY_IS_ROSTER_WINDOW_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_ROSTER_WINDOW))
36 #define EMPATHY_ROSTER_WINDOW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_ROSTER_WINDOW, EmpathyRosterWindowClass))
37
38 typedef struct _EmpathyRosterWindow EmpathyRosterWindow;
39 typedef struct _EmpathyRosterWindowClass EmpathyRosterWindowClass;
40 typedef struct _EmpathyRosterWindowPriv EmpathyRosterWindowPriv;
41
42 struct _EmpathyRosterWindow
43 {
44   GtkWindow parent;
45   EmpathyRosterWindowPriv *priv;
46 };
47
48 struct _EmpathyRosterWindowClass
49 {
50   GtkWindowClass parent_class;
51 };
52
53 GType empathy_roster_window_get_type (void);
54
55 GtkWidget *empathy_roster_window_dup (void);
56
57 void empathy_roster_window_show_preferences (EmpathyRosterWindow *self,
58     const gchar *tab);
59
60 void empathy_roster_window_set_shell_running (EmpathyRosterWindow *self,
61     gboolean shell_running);
62
63 G_END_DECLS
64
65 #endif /* __EMPATHY_ROSTER_WINDOW_H__ */