Convert UI ops to PurpleBuddyListClass methods.
[pidgin-git.git] / pidgin / pidgindebug.h
blob1723c2fb18babe3f552c6bfffacf56be07876fa8
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 PIDGIN_DEBUG_H
23 #define PIDGIN_DEBUG_H
24 /**
25 * SECTION:pidgindebug
26 * @section_id: pidgin-pidgindebug
27 * @short_description: <filename>pidgindebug.h</filename>
28 * @title: Debug API
31 #include "debug.h"
33 G_BEGIN_DECLS
35 #define PIDGIN_TYPE_DEBUG_UI (pidgin_debug_ui_get_type())
36 #define PIDGIN_TYPE_DEBUG_WINDOW (pidgin_debug_window_get_type())
37 G_DECLARE_FINAL_TYPE(PidginDebugUi, pidgin_debug_ui, PIDGIN, DEBUG_UI, GObject)
38 G_DECLARE_FINAL_TYPE(PidginDebugWindow, pidgin_debug_window, PIDGIN, DEBUG_WINDOW, GtkWindow)
40 /**
41 * pidgin_debug_ui_new:
43 * Initializes the GTK+ debug system.
45 PidginDebugUi *pidgin_debug_ui_new(void);
47 /**
48 * pidgin_debug_get_handle:
50 * Get the handle for the GTK+ debug system.
52 * Returns: the handle to the debug system
54 void *pidgin_debug_get_handle(void);
56 /**
57 * pidgin_debug_window_show:
59 * Shows the debug window.
61 void pidgin_debug_window_show(void);
63 /**
64 * pidgin_debug_window_hide:
66 * Hides the debug window.
68 void pidgin_debug_window_hide(void);
70 G_END_DECLS
72 #endif /* PIDGIN_DEBUG_H */