]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-log-window.h
f8f76905af9d356db55c358a39f2a13c25398dec
[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 <telepathy-glib/telepathy-glib.h>
29
30 G_BEGIN_DECLS
31
32 #define EMPATHY_TYPE_LOG_WINDOW (empathy_log_window_get_type ())
33 #define EMPATHY_LOG_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_LOG_WINDOW, EmpathyLogWindow))
34 #define EMPATHY_LOG_WINDOW_CLASS(obj)   (G_TYPE_CHECK_CLASS_CAST ((obj), EMPATHY_TYPE_LOG_WINDOW, EmpathyLogWindowClass))
35 #define EMPATHY_IS_LOG_WINDOW(obj)      (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_LOG_WINDOW))
36 #define EMPATHY_IS_LOG_WINDOW_CLASS(obj)        (G_TYPE_CHECK_CLASS_TYPE ((obj), EMPATHY_TYPE_LOG_WINDOW))
37 #define EMPATHY_LOG_WINDOW_GET_CLASS(obj)       (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_LOG_WINDOW, EmpathyLogWindowClass))
38
39 typedef struct _EmpathyLogWindow EmpathyLogWindow;
40 typedef struct _EmpathyLogWindowPriv EmpathyLogWindowPriv;
41 typedef struct _EmpathyLogWindowClass EmpathyLogWindowClass;
42
43 struct _EmpathyLogWindow
44 {
45   GtkDialog parent;
46
47   EmpathyLogWindowPriv *priv;
48 };
49
50 struct _EmpathyLogWindowClass
51 {
52   GtkDialogClass parent_class;
53 };
54
55 GType empathy_log_window_get_type (void);
56
57 GtkWidget * empathy_log_window_show (TpAccount *account,
58     const gchar *chat_id,
59     gboolean chatroom,
60     GtkWindow *parent);
61
62 G_END_DECLS
63
64 #endif /* __EMPATHY_LOG_WINDOW_H__ */