]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-log-window.h
Merge branch 'gnome-3-8'
[empathy.git] / libempathy-gtk / empathy-log-window.h
1 /*
2  * Copyright (C) 2006-2007 Imendio AB
3  * Copyright (C) 2007-2011 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: Martyn Russell <martyn@imendio.com>
21  *          Xavier Claessens <xclaesse@gmail.com>
22  *          Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
23  */
24
25 #ifndef __EMPATHY_LOG_WINDOW_H__
26 #define __EMPATHY_LOG_WINDOW_H__
27
28 #include <gtk/gtk.h>
29 #include <telepathy-glib/telepathy-glib.h>
30
31 G_BEGIN_DECLS
32
33 #define EMPATHY_TYPE_LOG_WINDOW (empathy_log_window_get_type ())
34 #define EMPATHY_LOG_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_LOG_WINDOW, EmpathyLogWindow))
35 #define EMPATHY_LOG_WINDOW_CLASS(obj)   (G_TYPE_CHECK_CLASS_CAST ((obj), EMPATHY_TYPE_LOG_WINDOW, EmpathyLogWindowClass))
36 #define EMPATHY_IS_LOG_WINDOW(obj)      (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_LOG_WINDOW))
37 #define EMPATHY_IS_LOG_WINDOW_CLASS(obj)        (G_TYPE_CHECK_CLASS_TYPE ((obj), EMPATHY_TYPE_LOG_WINDOW))
38 #define EMPATHY_LOG_WINDOW_GET_CLASS(obj)       (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_LOG_WINDOW, EmpathyLogWindowClass))
39
40 typedef struct _EmpathyLogWindow EmpathyLogWindow;
41 typedef struct _EmpathyLogWindowPriv EmpathyLogWindowPriv;
42 typedef struct _EmpathyLogWindowClass EmpathyLogWindowClass;
43
44 struct _EmpathyLogWindow
45 {
46   GtkDialog parent;
47
48   EmpathyLogWindowPriv *priv;
49 };
50
51 struct _EmpathyLogWindowClass
52 {
53   GtkDialogClass parent_class;
54 };
55
56 GType empathy_log_window_get_type (void);
57
58 GtkWidget * empathy_log_window_show (TpAccount *account,
59     const gchar *chat_id,
60     gboolean chatroom,
61     GtkWindow *parent);
62
63 G_END_DECLS
64
65 #endif /* __EMPATHY_LOG_WINDOW_H__ */