2 * Copyright (C) 2009 Collabora Ltd.
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.
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.
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
18 * Authors: Jonny Lamb <jonny.lamb@collabora.co.uk>
21 #ifndef __EMPATHY_DEBUG_WINDOW_H__
22 #define __EMPATHY_DEBUG_WINDOW_H__
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))
40 #define DEBUG_OBJECT_PATH "/org/freedesktop/Telepathy/debug"
42 typedef struct _EmpathyDebugWindow EmpathyDebugWindow
;
43 typedef struct _EmpathyDebugWindowClass EmpathyDebugWindowClass
;
44 typedef struct _EmpathyDebugWindowPriv EmpathyDebugWindowPriv
;
46 struct _EmpathyDebugWindow
49 EmpathyDebugWindowPriv
*priv
;
52 struct _EmpathyDebugWindowClass
54 GtkWindowClass parent_class
;
57 GType
empathy_debug_window_get_type (void) G_GNUC_CONST
;
59 GtkWidget
* empathy_debug_window_new (GtkWindow
*parent
);
61 void empathy_debug_window_show (EmpathyDebugWindow
*self
,
66 #endif /* __EMPATHY_DEBUG_WINDOW_H__ */