]> git.0d.be Git - empathy.git/blob - src/empathy-debug-window.h
Updated Swedish translation
[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 <gtk/gtk.h>
25
26 G_BEGIN_DECLS
27
28 #define EMPATHY_TYPE_DEBUG_WINDOW (empathy_debug_window_get_type ())
29 #define EMPATHY_DEBUG_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST \
30         ((object), EMPATHY_TYPE_DEBUG_WINDOW, EmpathyDebugWindow))
31 #define EMPATHY_DEBUG_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
32         EMPATHY_TYPE_DEBUG_WINDOW, EmpathyDebugWindowClass))
33 #define EMPATHY_IS_DEBUG_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE \
34     ((object), EMPATHY_TYPE_DEBUG_WINDOW))
35 #define EMPATHY_IS_DEBUG_WINDOW_CLASS(klass) \
36     (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_DEBUG_WINDOW))
37 #define EMPATHY_DEBUG_WINDOW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS \
38     ((object), EMPATHY_TYPE_DEBUG_WINDOW, EmpathyDebugWindowClass))
39
40 #define DEBUG_OBJECT_PATH "/org/freedesktop/Telepathy/debug"
41
42 typedef struct _EmpathyDebugWindow EmpathyDebugWindow;
43 typedef struct _EmpathyDebugWindowClass EmpathyDebugWindowClass;
44 typedef struct _EmpathyDebugWindowPriv EmpathyDebugWindowPriv;
45
46 struct _EmpathyDebugWindow
47 {
48   GtkWindow parent;
49   EmpathyDebugWindowPriv *priv;
50 };
51
52 struct _EmpathyDebugWindowClass
53 {
54   GtkWindowClass parent_class;
55 };
56
57 GType empathy_debug_window_get_type (void) G_GNUC_CONST;
58
59 GtkWidget * empathy_debug_window_new (GtkWindow *parent);
60
61 void empathy_debug_window_show (EmpathyDebugWindow *self,
62   const gchar *name);
63
64 G_END_DECLS
65
66 #endif /* __EMPATHY_DEBUG_WINDOW_H__ */