Merged pidgin/main into default
[pidgin-git.git] / pidgin / gtkdebug.h
blob74c009b3ce4301d72bdafa0efbe5798d6c598f70
1 /* pidgin
3 * Pidgin is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5 * source distribution.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
22 #ifndef _PIDGINDEBUG_H_
23 #define _PIDGINDEBUG_H_
24 /**
25 * SECTION:gtkdebug
26 * @section_id: pidgin-gtkdebug
27 * @short_description: <filename>gtkdebug.h</filename>
28 * @title: Debug API
31 #include "debug.h"
33 G_BEGIN_DECLS
35 /**
36 * pidgin_debug_init:
38 * Initializes the GTK+ debug system.
40 void pidgin_debug_init(void);
42 /**
43 * pidgin_debug_uninit:
45 * Uninitialized the GTK+ debug system.
47 void pidgin_debug_uninit(void);
49 /**
50 * pidgin_debug_get_handle:
52 * Get the handle for the GTK+ debug system.
54 * Returns: the handle to the debug system
56 void *pidgin_debug_get_handle(void);
58 /**
59 * pidgin_debug_window_show:
61 * Shows the debug window.
63 void pidgin_debug_window_show(void);
65 /**
66 * pidgin_debug_window_hide:
68 * Hides the debug window.
70 void pidgin_debug_window_hide(void);
72 /**
73 * pidgin_debug_get_ui_ops:
75 * Returns the UI operations structure for GTK+ debug output.
77 * Returns: The GTK+ UI debug operations structure.
79 PurpleDebugUiOps *pidgin_debug_get_ui_ops(void);
81 G_END_DECLS
83 #endif /* _PIDGINDEBUG_H_ */