Replace functions which called once with their bodies
[pidgin-git.git] / pidgin / pidgintalkatu.h
blobbf7ce19ca8e2ca04b28a79e8ce4d9235f6d5af07
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_TALKATU_H
23 #define PIDGIN_TALKATU_H
25 /**
26 * SECTION:pidgintalkatu
27 * @section_id: pidgin-talkatu
28 * @short_description: <filename>pidgintalkatu.h</filename>
29 * @title: Talkatu Helpers
32 #include <gtk/gtk.h>
34 #include <talkatu.h>
36 #include "connection.h"
38 G_BEGIN_DECLS
40 /**
41 * pidgin_talkatu_editor_new_for_connection:
42 * @pc: The connection for which the editor should be created
44 * Creates a new #TalkatuEditor appropriate for use with @pc.
46 * Returns: (transfer full): the new #TalkatuEditor
48 GtkWidget *pidgin_talkatu_editor_new_for_connection(PurpleConnection *pc);
50 /**
51 * pidgin_talkatu_buffer_new_for_connection:
52 * @pc: The connection for which the buffer should be created
54 * Creates a new #TalkatuBuffer. Depending on @pc's #PurpleConnectionFlags,
55 * it will create a plain, HTML, or markdown buffer.
57 * Returns: (transfer full): the new #TalkatuBuffer
59 GtkTextBuffer *pidgin_talkatu_buffer_new_for_connection(PurpleConnection *pc);
61 G_END_DECLS
63 #endif /* PIDGIN_TALKATU_H */