Updated Friulian translation
[empathy-mirror.git] / libempathy-gtk / empathy-log-window.h
blob48554fc3eafb637e9c2866febd2f610227c2ec86
1 /*
2 * Copyright (C) 2006-2007 Imendio AB
3 * Copyright (C) 2007-2011 Collabora Ltd.
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.
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.
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
20 * Authors: Martyn Russell <martyn@imendio.com>
21 * Xavier Claessens <xclaesse@gmail.com>
22 * Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
25 #ifndef __EMPATHY_LOG_WINDOW_H__
26 #define __EMPATHY_LOG_WINDOW_H__
28 #include <gtk/gtk.h>
29 #include <telepathy-glib/telepathy-glib.h>
31 G_BEGIN_DECLS
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))
40 typedef struct _EmpathyLogWindow EmpathyLogWindow;
41 typedef struct _EmpathyLogWindowPriv EmpathyLogWindowPriv;
42 typedef struct _EmpathyLogWindowClass EmpathyLogWindowClass;
44 struct _EmpathyLogWindow
46 GtkDialog parent;
48 EmpathyLogWindowPriv *priv;
51 struct _EmpathyLogWindowClass
53 GtkDialogClass parent_class;
56 GType empathy_log_window_get_type (void);
58 GtkWidget * empathy_log_window_show (TpAccount *account,
59 const gchar *chat_id,
60 gboolean chatroom,
61 GtkWindow *parent);
63 G_END_DECLS
65 #endif /* __EMPATHY_LOG_WINDOW_H__ */