Thu, 19 Nov 2020 20:07:44 -0600
Clean up a bunch doc issues.
Testing Done:
Built the docs a million times verifying the fixes.
Reviewed at https://reviews.imfreedom.org/r/229/
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
1 | /* purple |
| 2417 | 2 | * |
| 15884 | 3 | * Purple is the legal property of its developers, whose names are too numerous |
| 8046 | 4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 5 | * source distribution. | |
|
6612
aac6af649208
[gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents:
6314
diff
changeset
|
6 | * |
| 2417 | 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. | |
| 11 | * | |
| 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. | |
| 16 | * | |
| 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 | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
18606
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 2417 | 20 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35460
diff
changeset
|
21 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40312
diff
changeset
|
22 | #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40312
diff
changeset
|
23 | # error "only <purple.h> may be included directly" |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40312
diff
changeset
|
24 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40312
diff
changeset
|
25 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39286
diff
changeset
|
26 | #ifndef PURPLE_CORE_H |
|
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39286
diff
changeset
|
27 | #define PURPLE_CORE_H |
|
35437
1f82cf8c8378
Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents:
35418
diff
changeset
|
28 | /** |
|
1f82cf8c8378
Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents:
35418
diff
changeset
|
29 | * SECTION:core |
|
1f82cf8c8378
Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents:
35418
diff
changeset
|
30 | * @section_id: libpurple-core |
|
1f82cf8c8378
Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents:
35418
diff
changeset
|
31 | * @short_description: <filename>core.h</filename> |
| 35444 | 32 | * @title: Startup and Shutdown of libpurple |
|
35437
1f82cf8c8378
Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents:
35418
diff
changeset
|
33 | * @see_also: <link linkend="chapter-signals-core">Core signals</link> |
|
28422
d866502c9a96
Make the doxygen docs easier to navigate. It was either this or a main page that says "Click on 'Modules'".
Paul Aurich <darkrain42@pidgin.im>
parents:
27408
diff
changeset
|
34 | */ |
|
d866502c9a96
Make the doxygen docs easier to navigate. It was either this or a main page that says "Click on 'Modules'".
Paul Aurich <darkrain42@pidgin.im>
parents:
27408
diff
changeset
|
35 | |
| 34896 | 36 | #include <glib.h> |
| 35572 | 37 | #include <glib-object.h> |
| 38 | ||
|
40312
956745ff3ee8
Replace the ui info GHashTable with a gobject.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
39 | #include <libpurple/purpleuiinfo.h> |
|
956745ff3ee8
Replace the ui info GHashTable with a gobject.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
40 | |
| 35572 | 41 | #define PURPLE_TYPE_CORE_UI_OPS (purple_core_ui_ops_get_type()) |
| 34896 | 42 | |
| 15884 | 43 | typedef struct PurpleCore PurpleCore; |
|
35460
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
44 | typedef struct _PurpleCoreUiOps PurpleCoreUiOps; |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
45 | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
46 | /** |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
47 | * PurpleCoreUiOps: |
|
35460
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
48 | * @ui_prefs_init: Called just after the preferences subsystem is initialized; |
|
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
49 | * the UI could use this callback to add some preferences it |
|
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
50 | * needs to be in place when other subsystems are initialized. |
|
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
51 | * @debug_ui_init: Called just after the debug subsystem is initialized, but |
|
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
52 | * before just about every other component's initialization. The |
|
40243
474bc477bda8
Remove doc references to deleted UI ops.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40188
diff
changeset
|
53 | * UI should use this hook to call purple_debug_set_ui() so |
|
35460
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
54 | * that debugging information for other components can be logged |
|
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
55 | * during their initialization. |
|
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
56 | * @ui_init: Called after all of libpurple has been initialized. The UI |
|
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
57 | * should use this hook to set all other necessary |
|
40613
55230eededd8
Clean up a bunch doc issues.
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
58 | * <link linkend="chapter-ui-ops"><literal>UiOps structures</literal></link>. |
|
35460
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
59 | * @quit: Called after most of libpurple has been uninitialized. |
|
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
60 | * @get_ui_info: Called by purple_core_get_ui_info(); should return the |
|
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
61 | * information documented there. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
62 | * |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
63 | * Callbacks that fire at different points of the initialization and teardown |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
64 | * of libpurple, along with a hook to return descriptive information about the |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
65 | * UI. |
|
23511
650ebfc167ab
Document PurpleCoreUiOps and purple_core_get_ui_info(), tweaking other core
Will Thompson <resiak@pidgin.im>
parents:
22107
diff
changeset
|
66 | */ |
|
35460
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
67 | struct _PurpleCoreUiOps |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
68 | { |
|
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
69 | void (*ui_prefs_init)(void); |
|
23511
650ebfc167ab
Document PurpleCoreUiOps and purple_core_get_ui_info(), tweaking other core
Will Thompson <resiak@pidgin.im>
parents:
22107
diff
changeset
|
70 | void (*debug_ui_init)(void); |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
71 | void (*ui_init)(void); |
|
35460
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
72 | |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
73 | void (*quit)(void); |
|
23511
650ebfc167ab
Document PurpleCoreUiOps and purple_core_get_ui_info(), tweaking other core
Will Thompson <resiak@pidgin.im>
parents:
22107
diff
changeset
|
74 | |
|
40312
956745ff3ee8
Replace the ui info GHashTable with a gobject.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
75 | PurpleUiInfo *(*get_ui_info)(void); |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
76 | |
|
35024
eb3afb7643ce
Added /*< private >*/ for padding members, clean them up and add missing ones
Ankit Vani <a@nevitus.org>
parents:
34896
diff
changeset
|
77 | /*< private >*/ |
|
40312
956745ff3ee8
Replace the ui info GHashTable with a gobject.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
78 | gpointer reserved[4]; |
|
35460
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
79 | }; |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
80 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32438
diff
changeset
|
81 | G_BEGIN_DECLS |
|
6314
25bba03c42cd
[gaim-migrate @ 6813]
Christian Hammond <chipx86@chipx86.com>
parents:
6182
diff
changeset
|
82 | |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
83 | /** |
| 35572 | 84 | * purple_core_ui_ops_get_type: |
| 85 | * | |
| 86 | * Returns: The #GType for the #PurpleCoreUiOps boxed structure. | |
| 87 | */ | |
| 88 | GType purple_core_ui_ops_get_type(void); | |
| 89 | ||
| 90 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
91 | * purple_core_init: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
92 | * @ui: The ID of the UI using the core. This should be a |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
93 | * unique ID, registered with the purple team. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
94 | * |
| 15884 | 95 | * Initializes the core of purple. |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
96 | * |
|
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
97 | * This will setup preferences for all the core subsystems. |
|
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
98 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
99 | * Returns: %TRUE if successful, or %FALSE otherwise. |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
100 | */ |
| 15884 | 101 | gboolean purple_core_init(const char *ui); |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
102 | |
|
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
103 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
104 | * purple_core_quit: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
105 | * |
| 15884 | 106 | * Quits the core of purple, which, depending on the UI, may quit the |
| 107 | * application using the purple core. | |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
108 | */ |
| 15884 | 109 | void purple_core_quit(void); |
| 2417 | 110 | |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
111 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
112 | * purple_core_quit_cb: |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40243
diff
changeset
|
113 | * @unused: This argument is for consistency with a timeout callback. It is |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40243
diff
changeset
|
114 | * otherwise unused. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
115 | * |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40243
diff
changeset
|
116 | * Calls purple_core_quit(). This can be used as the function passed to |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40243
diff
changeset
|
117 | * g_timeout_add() when you want to shutdown Purple in a specified amount of |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40243
diff
changeset
|
118 | * time. When shutting down Purple from a plugin, you must use this instead of |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40243
diff
changeset
|
119 | * purple_core_quit(); for an immediate exit, use a timeout value of 0: |
|
23511
650ebfc167ab
Document PurpleCoreUiOps and purple_core_get_ui_info(), tweaking other core
Will Thompson <resiak@pidgin.im>
parents:
22107
diff
changeset
|
120 | * |
| 35404 | 121 | * <programlisting> |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40243
diff
changeset
|
122 | * g_timeout_add(0, purple_core_quit_cb, NULL) |
| 35404 | 123 | * </programlisting> |
|
23511
650ebfc167ab
Document PurpleCoreUiOps and purple_core_get_ui_info(), tweaking other core
Will Thompson <resiak@pidgin.im>
parents:
22107
diff
changeset
|
124 | * |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40243
diff
changeset
|
125 | * This ensures that code from your plugin is not being executed when |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40243
diff
changeset
|
126 | * purple_core_quit() is called. If the plugin called purple_core_quit() |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40243
diff
changeset
|
127 | * directly, you would get a core dump after purple_core_quit() executes and |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40243
diff
changeset
|
128 | * control returns to your plugin because purple_core_quit() frees all plugins. |
|
7646
6806a6893ac0
[gaim-migrate @ 8289]
Mark Doliner <markdoliner@pidgin.im>
parents:
7082
diff
changeset
|
129 | */ |
| 15884 | 130 | gboolean purple_core_quit_cb(gpointer unused); |
|
7646
6806a6893ac0
[gaim-migrate @ 8289]
Mark Doliner <markdoliner@pidgin.im>
parents:
7082
diff
changeset
|
131 | |
|
6806a6893ac0
[gaim-migrate @ 8289]
Mark Doliner <markdoliner@pidgin.im>
parents:
7082
diff
changeset
|
132 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
133 | * purple_core_get_version: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
134 | * |
|
6612
aac6af649208
[gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents:
6314
diff
changeset
|
135 | * Returns the version of the core library. |
|
aac6af649208
[gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents:
6314
diff
changeset
|
136 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
137 | * Returns: The version of the core library. |
|
6612
aac6af649208
[gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents:
6314
diff
changeset
|
138 | */ |
| 15884 | 139 | const char *purple_core_get_version(void); |
|
6612
aac6af649208
[gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents:
6314
diff
changeset
|
140 | |
|
aac6af649208
[gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents:
6314
diff
changeset
|
141 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
142 | * purple_core_get_ui: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
143 | * |
|
23511
650ebfc167ab
Document PurpleCoreUiOps and purple_core_get_ui_info(), tweaking other core
Will Thompson <resiak@pidgin.im>
parents:
22107
diff
changeset
|
144 | * Returns the ID of the UI that is using the core, as passed to |
|
650ebfc167ab
Document PurpleCoreUiOps and purple_core_get_ui_info(), tweaking other core
Will Thompson <resiak@pidgin.im>
parents:
22107
diff
changeset
|
145 | * purple_core_init(). |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
146 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
147 | * Returns: The ID of the UI that is currently using the core. |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
148 | */ |
| 15884 | 149 | const char *purple_core_get_ui(void); |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
150 | |
|
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
151 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
152 | * purple_get_core: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
153 | * |
|
35460
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
154 | * This is used to connect to |
|
96946e21fce5
Fix some more gtk-doc warnings till dnssrv
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
155 | * <link linkend="chapter-signals-core">core signals</link>. |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
156 | * |
| 40188 | 157 | * Returns: (transfer none): A handle to the purple core. |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
158 | */ |
| 15884 | 159 | PurpleCore *purple_get_core(void); |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
160 | |
|
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
161 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
162 | * purple_core_set_ui_ops: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
163 | * @ops: A UI ops structure for the core. |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
164 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
165 | * Sets the UI ops for the core. |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
166 | */ |
| 15884 | 167 | void purple_core_set_ui_ops(PurpleCoreUiOps *ops); |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
168 | |
|
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
169 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
170 | * purple_core_get_ui_ops: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
171 | * |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
172 | * Returns the UI ops for the core. |
|
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
173 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
174 | * Returns: The core's UI ops structure. |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
175 | */ |
| 15884 | 176 | PurpleCoreUiOps *purple_core_get_ui_ops(void); |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
177 | |
|
16409
8c153c6febdd
The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents:
16256
diff
changeset
|
178 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
179 | * purple_core_get_ui_info: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
180 | * |
|
40312
956745ff3ee8
Replace the ui info GHashTable with a gobject.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
181 | * Returns a #PurpleUiInfo that contains information about the user interface. |
|
23511
650ebfc167ab
Document PurpleCoreUiOps and purple_core_get_ui_info(), tweaking other core
Will Thompson <resiak@pidgin.im>
parents:
22107
diff
changeset
|
182 | * |
|
40312
956745ff3ee8
Replace the ui info GHashTable with a gobject.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
183 | * Returns: (transfer full): A #PurpleUiInfo instance. |
|
18441
d255d04c0aa1
core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents:
18072
diff
changeset
|
184 | */ |
|
40312
956745ff3ee8
Replace the ui info GHashTable with a gobject.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
185 | PurpleUiInfo* purple_core_get_ui_info(void); |
|
18441
d255d04c0aa1
core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents:
18072
diff
changeset
|
186 | |
|
38893
ea7c40572374
Move migration to core, check for errors
qarkai <qarkai@gmail.com>
parents:
37113
diff
changeset
|
187 | /** |
|
ea7c40572374
Move migration to core, check for errors
qarkai <qarkai@gmail.com>
parents:
37113
diff
changeset
|
188 | * purple_core_migrate_to_xdg_base_dirs: |
|
40312
956745ff3ee8
Replace the ui info GHashTable with a gobject.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
189 | * |
|
956745ff3ee8
Replace the ui info GHashTable with a gobject.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
190 | * Migrates from legacy directory for libpurple to location following |
|
38893
ea7c40572374
Move migration to core, check for errors
qarkai <qarkai@gmail.com>
parents:
37113
diff
changeset
|
191 | * XDG base dir spec. https://developer.pidgin.im/ticket/10029 |
|
ea7c40572374
Move migration to core, check for errors
qarkai <qarkai@gmail.com>
parents:
37113
diff
changeset
|
192 | * NOTE This is not finished yet. Need to decide where other profile files |
| 38899 | 193 | * should be moved. Search for usages of purple_user_dir(). |
|
40312
956745ff3ee8
Replace the ui info GHashTable with a gobject.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
194 | * |
|
38893
ea7c40572374
Move migration to core, check for errors
qarkai <qarkai@gmail.com>
parents:
37113
diff
changeset
|
195 | * Returns: TRUE if migrated successfully, FALSE otherwise. On failure, |
|
ea7c40572374
Move migration to core, check for errors
qarkai <qarkai@gmail.com>
parents:
37113
diff
changeset
|
196 | * the application must display an error to the user and then exit. |
|
ea7c40572374
Move migration to core, check for errors
qarkai <qarkai@gmail.com>
parents:
37113
diff
changeset
|
197 | */ |
|
ea7c40572374
Move migration to core, check for errors
qarkai <qarkai@gmail.com>
parents:
37113
diff
changeset
|
198 | gboolean purple_core_migrate_to_xdg_base_dirs(void); |
|
ea7c40572374
Move migration to core, check for errors
qarkai <qarkai@gmail.com>
parents:
37113
diff
changeset
|
199 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32438
diff
changeset
|
200 | G_END_DECLS |
|
6314
25bba03c42cd
[gaim-migrate @ 6813]
Christian Hammond <chipx86@chipx86.com>
parents:
6182
diff
changeset
|
201 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39286
diff
changeset
|
202 | #endif /* PURPLE_CORE_H */ |
| 5862 | 203 | |
| 204 | /* | |
| 205 | ||
| 206 | /===- | |
| 207 | `//"\\ """"`---.___.-"" | |
| 208 | ______-==| | | \\ _-"` | |
| 209 | __--""" ,-/-==\\ | | `\ ,' | |
| 210 | _-" /' | \\ ___ / / \ / | |
| 211 | .' / | \\ /" "\ /' / \ /' | |
|
6169
d23c0f0228ae
[gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
212 | / ____ / | \`\.__/-"" D O \_/' / \/' |
|
d23c0f0228ae
[gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
213 | /-'" """""---__ | "-/" O G R /' _--"` |
|
6179
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
214 | \_| / R __--_ t ), __--"" |
|
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
215 | '""--_/ T _-"_>--<_\ h '-" \ |
|
4df73df94250
[gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents:
6169
diff
changeset
|
216 | {\__--_/} / \\__>--<__\ e B \ |
|
6169
d23c0f0228ae
[gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
217 | /' (_/ _-" | |__>--<__| U | |
|
d23c0f0228ae
[gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
218 | | _/) )-" | |__>--<__| R | |
|
d23c0f0228ae
[gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
219 | / /" ,_/ / /__>---<__/ N | |
|
d23c0f0228ae
[gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
220 | o-o _// /-"_>---<__-" I / |
|
d23c0f0228ae
[gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
221 | (^(" /"_>---<__- N _-" |
|
d23c0f0228ae
[gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
222 | ,/| /__>--<__/ A _-" |
|
d23c0f0228ae
[gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
223 | ,//('( |__>--<__| T / .----_ |
| 5862 | 224 | ( ( ')) |__>--<__| | /' _---_"\ |
|
6169
d23c0f0228ae
[gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
225 | `-)) )) ( |__>--<__| O | /' / "\`\ |
|
d23c0f0228ae
[gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
226 | ,/,'//( ( \__>--<__\ R \ /' // || |
| 5862 | 227 | ,( ( ((, )) "-__>--<_"-_ "--____---"' _/'/ /' |
| 228 | `"/ )` ) ,/| "-_">--<_/-__ __-" _/ | |
| 229 | ._-"//( )/ )) ` ""-'_/_/ /"""""""__--" | |
| 230 | ;'( ')/ ,)( """""""""" | |
| 231 | ' ') '( (/ | |
| 232 | ' ' ` | |
| 233 | ||
| 234 | */ |