pidgin/pidgintalkatu.h

Wed, 05 Feb 2020 02:01:25 -0600

author
Koosha Khajehmoogahi <koosha@posteo.de>
date
Wed, 05 Feb 2020 02:01:25 -0600
changeset 40288
b72d9137eca7
parent 39397
ed156296b47a
child 40360
e21f3bbcc2a5
permissions
-rw-r--r--

Fix whitespace

Signed-off-by: Richard Laager <rlaager@pidgin.im>

39223
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 /* pidgin
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2 *
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3 * Pidgin is the legal property of its developers, whose names are too numerous
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 * to list here. Please refer to the COPYRIGHT file distributed with this
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5 * source distribution.
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6 *
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 * This program is free software; you can redistribute it and/or modify
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
8 * it under the terms of the GNU General Public License as published by
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
9 * the Free Software Foundation; either version 2 of the License, or
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
10 * (at your option) any later version.
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
11 *
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
12 * This program is distributed in the hope that it will be useful,
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
15 * GNU General Public License for more details.
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
16 *
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
17 * You should have received a copy of the GNU General Public License
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
18 * along with this program; if not, write to the Free Software
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
20 */
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
22 #ifndef PIDGIN_TALKATU_H
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
23 #define PIDGIN_TALKATU_H
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
24
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
25 /**
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
26 * SECTION:pidgintalkatu
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
27 * @section_id: pidgin-talkatu
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
28 * @short_description: <filename>pidgintalkatu.h</filename>
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
29 * @title: Talkatu Helpers
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
30 */
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
31
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
32 #include <gtk/gtk.h>
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
33
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
34 #include <talkatu.h>
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
35
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
36 #include "connection.h"
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
37
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
38 G_BEGIN_DECLS
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
39
39394
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
40 /**
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
41 * pidgin_talkatu_editor_new_for_connection:
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
42 * @pc: The connection for which the editor should be created
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
43 *
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
44 * Creates a new #TalkatuEditor appropriate for use with @pc.
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
45 *
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
46 * Returns: (transfer full): the new #TalkatuEditor
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
47 */
39223
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
48 GtkWidget *pidgin_talkatu_editor_new_for_connection(PurpleConnection *pc);
39394
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
49
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
50 /**
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
51 * pidgin_talkatu_buffer_new_for_connection:
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
52 * @pc: The connection for which the buffer should be created
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
53 *
39397
ed156296b47a pidgin: Improve pidgin_talkatu_buffer_new_for_connection() docstring
Mike Ruprecht <cmaiku@gmail.com>
parents: 39394
diff changeset
54 * Creates a new #TalkatuBuffer. Depending on @pc's #PurpleConnectionFlags,
ed156296b47a pidgin: Improve pidgin_talkatu_buffer_new_for_connection() docstring
Mike Ruprecht <cmaiku@gmail.com>
parents: 39394
diff changeset
55 * it will create a plain, HTML, or markdown buffer.
39394
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
56 *
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
57 * Returns: (transfer full): the new #TalkatuBuffer
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
58 */
39223
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
59 GtkTextBuffer *pidgin_talkatu_buffer_new_for_connection(PurpleConnection *pc);
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
60
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
61 G_END_DECLS
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
62
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
63 #endif /* PIDGIN_TALKATU_H */

mercurial