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