pidgin/pidgintalkatu.h

Mon, 14 Sep 2020 20:49:00 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 14 Sep 2020 20:49:00 -0500
changeset 40530
ac5c0a85971e
parent 40502
875489636847
child 41124
95555046173e
permissions
-rw-r--r--

Cleanup pidginabout.[ch] and add the plugin searchs paths to it

Clean up the about dialog and add the plugin search paths to it.

Testing Done:
Compiled, ran, viewed the about dialog.

Reviewed at https://reviews.imfreedom.org/r/96/

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
40502
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40360
diff changeset
22 #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION)
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40360
diff changeset
23 # error "only <pidgin.h> may be included directly"
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40360
diff changeset
24 #endif
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40360
diff changeset
25
39223
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
26 #ifndef PIDGIN_TALKATU_H
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
27 #define PIDGIN_TALKATU_H
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
28
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
29 /**
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
30 * SECTION:pidgintalkatu
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
31 * @section_id: pidgin-talkatu
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
32 * @short_description: <filename>pidgintalkatu.h</filename>
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
33 * @title: Talkatu Helpers
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
34 */
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 <gtk/gtk.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 #include <talkatu.h>
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
39
40360
e21f3bbcc2a5 Update all of the pidgin code to include purple.h
Gary Kramlich <grim@reaperworld.com>
parents: 39397
diff changeset
40 #include <purple.h>
39223
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
41
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
42 G_BEGIN_DECLS
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
43
39394
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
44 /**
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
45 * pidgin_talkatu_editor_new_for_connection:
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
46 * @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
47 *
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
48 * 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
49 *
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
50 * Returns: (transfer full): the new #TalkatuEditor
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
51 */
39223
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
52 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
53
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
54 /**
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
55 * pidgin_talkatu_buffer_new_for_connection:
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
56 * @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
57 *
39397
ed156296b47a pidgin: Improve pidgin_talkatu_buffer_new_for_connection() docstring
Mike Ruprecht <cmaiku@gmail.com>
parents: 39394
diff changeset
58 * 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
59 * 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
60 *
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
61 * Returns: (transfer full): the new #TalkatuBuffer
837a999f0ee3 pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents: 39223
diff changeset
62 */
39223
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
63 GtkTextBuffer *pidgin_talkatu_buffer_new_for_connection(PurpleConnection *pc);
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
64
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
65 G_END_DECLS
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
66
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
67 #endif /* PIDGIN_TALKATU_H */

mercurial