]> git.0d.be Git - empathy.git/blob - src/empathy-debug-window.h
5269bcfc52d9e4390e4f6add24ae823ad070be85
[empathy.git] / src / empathy-debug-window.h
1 /*
2 *  Copyright (C) 2009 Collabora Ltd.
3 *
4 *  This library is free software; you can redistribute it and/or
5 *  modify it under the terms of the GNU Lesser General Public
6 *  License as published by the Free Software Foundation; either
7 *  version 2.1 of the License, or (at your option) any later version.
8 *
9 *  This library is distributed in the hope that it will be useful,
10 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 *  Lesser General Public License for more details.
13 *
14 *  You should have received a copy of the GNU Lesser General Public
15 *  License along with this library; if not, write to the Free Software
16 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17 *
18 *  Authors: Jonny Lamb <jonny.lamb@collabora.co.uk>
19 */
20
21 #ifndef __EMPATHY_DEBUG_WINDOW_H__
22 #define __EMPATHY_DEBUG_WINDOW_H__
23
24 #include <glib-object.h>
25 #include <gtk/gtk.h>
26
27 G_BEGIN_DECLS
28
29 #define EMPATHY_TYPE_DEBUG_WINDOW (empathy_debug_window_get_type ())
30 #define EMPATHY_DEBUG_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST \
31         ((object), EMPATHY_TYPE_DEBUG_WINDOW, EmpathyDebugWindow))
32 #define EMPATHY_DEBUG_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
33         EMPATHY_TYPE_DEBUG_WINDOW, EmpathyDebugWindowClass))
34 #define EMPATHY_IS_DEBUG_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE \
35     ((object), EMPATHY_TYPE_DEBUG_WINDOW))
36 #define EMPATHY_IS_DEBUG_WINDOW_CLASS(klass) \
37     (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_DEBUG_WINDOW))
38 #define EMPATHY_DEBUG_WINDOW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS \
39     ((object), EMPATHY_TYPE_DEBUG_WINDOW, EmpathyDebugWindowClass))
40
41 #define DEBUG_OBJECT_PATH "/org/freedesktop/Telepathy/debug"
42
43 typedef struct _EmpathyDebugWindow EmpathyDebugWindow;
44 typedef struct _EmpathyDebugWindowClass EmpathyDebugWindowClass;
45 typedef struct _EmpathyDebugWindowPriv EmpathyDebugWindowPriv;
46
47 struct _EmpathyDebugWindow
48 {
49   GtkWindow parent;
50   EmpathyDebugWindowPriv *priv;
51 };
52
53 struct _EmpathyDebugWindowClass
54 {
55   GtkWindowClass parent_class;
56 };
57
58 GType empathy_debug_window_get_type (void) G_GNUC_CONST;
59
60 GtkWidget * empathy_debug_window_new (GtkWindow *parent);
61
62 void empathy_debug_window_show (EmpathyDebugWindow *self,
63   const gchar *name);
64
65 G_END_DECLS
66
67 #endif /* __EMPATHY_DEBUG_WINDOW_H__ */