remove released flag
[empathy-mirror.git] / src / empathy-chat-window.h
blob054469dfa9b10e619734b6db24e40b7f2cc86be6
1 /*
2 * Copyright (C) 2003-2007 Imendio AB
3 * Copyright (C) 2007-2012 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: Mikael Hallendal <micke@imendio.com>
21 * Richard Hult <richard@imendio.com>
22 * Martyn Russell <martyn@imendio.com>
23 * Geert-Jan Van den Bogaerde <geertjan@gnome.org>
24 * Xavier Claessens <xclaesse@gmail.com>
27 #ifndef __EMPATHY_CHAT_WINDOW_H__
28 #define __EMPATHY_CHAT_WINDOW_H__
30 #include <glib-object.h>
31 #include <gtk/gtk.h>
33 #include <telepathy-glib/telepathy-glib.h>
35 #include <libempathy-gtk/empathy-chat.h>
37 G_BEGIN_DECLS
39 #define EMPATHY_TYPE_CHAT_WINDOW \
40 (empathy_chat_window_get_type ())
41 #define EMPATHY_CHAT_WINDOW(obj) \
42 (G_TYPE_CHECK_INSTANCE_CAST((obj), \
43 EMPATHY_TYPE_CHAT_WINDOW, \
44 EmpathyChatWindow))
45 #define EMPATHY_CHAT_WINDOW_CLASS(klass) \
46 (G_TYPE_CHECK_CLASS_CAST((klass), \
47 EMPATHY_TYPE_CHAT_WINDOW, \
48 EmpathyChatWindowClass))
49 #define EMPATHY_IS_CHAT_WINDOW(obj) \
50 (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
51 EMPATHY_TYPE_CHAT_WINDOW))
52 #define EMPATHY_IS_CHAT_WINDOW_CLASS(klass) \
53 (G_TYPE_CHECK_CLASS_TYPE((klass), \
54 EMPATHY_TYPE_CHAT_WINDOW))
55 #define EMPATHY_CHAT_WINDOW_GET_CLASS(obj) \
56 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
57 EMPATHY_TYPE_CHAT_WINDOW, \
58 EmpathyChatWindowClass))
61 typedef struct _EmpathyChatWindow EmpathyChatWindow;
62 typedef struct _EmpathyChatWindowClass EmpathyChatWindowClass;
63 typedef struct _EmpathyChatWindowPriv EmpathyChatWindowPriv;
65 struct _EmpathyChatWindow
67 GObject parent;
68 EmpathyChatWindowPriv *priv;
71 struct _EmpathyChatWindowClass
73 GObjectClass parent_class;
76 GType empathy_chat_window_get_type (void);
78 EmpathyChat * empathy_chat_window_find_chat (TpAccount *account,
79 const gchar *id,
80 gboolean sms_channel);
82 EmpathyChatWindow * empathy_chat_window_present_chat (EmpathyChat *chat,
83 gint64 timestamp);
85 EmpathyIndividualManager * empathy_chat_window_get_individual_manager (
86 EmpathyChatWindow *self);
88 G_END_DECLS
90 #endif