libpurple/core.h

Wed, 06 Feb 2008 18:06:44 +0000

author
John Bailey <rekkanoryo@rekkanoryo.org>
date
Wed, 06 Feb 2008 18:06:44 +0000
branch
cpw.rekkanoryo.yahoop15ft
changeset 22401
5fe1761a4a15
parent 22107
776a0aa56a41
child 23511
650ebfc167ab
permissions
-rw-r--r--

Simplified version of the newest patch on #4533 to not try Yahoo protocol
version 15 file transfer on Yahoo Japan.

5034
077678f7b048 [gaim-migrate @ 5377]
Christian Hammond <chipx86@chipx86.com>
parents: 5032
diff changeset
1 /**
16256
8c912f6c4f43 Relabel the Doxygen group as libpurple
Richard Laager <rlaager@pidgin.im>
parents: 15884
diff changeset
2 * @defgroup core libpurple
20889
3d0ef192f98c All the links to libpurple signal pages were in the comment containing the
Will Thompson <resiak@pidgin.im>
parents: 20147
diff changeset
3 * @see @ref core-signals
20147
66f05a854eee applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents: 19859
diff changeset
4 */
66f05a854eee applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents: 19859
diff changeset
5
66f05a854eee applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents: 19859
diff changeset
6 /* purple
2417
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
7 *
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
8 * Purple is the legal property of its developers, whose names are too numerous
8046
c581b20a47d6 [gaim-migrate @ 8730]
Sean Egan <seanegan@pidgin.im>
parents: 7646
diff changeset
9 * to list here. Please refer to the COPYRIGHT file distributed with this
c581b20a47d6 [gaim-migrate @ 8730]
Sean Egan <seanegan@pidgin.im>
parents: 7646
diff changeset
10 * source distribution.
6612
aac6af649208 [gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents: 6314
diff changeset
11 *
2417
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
12 * This program is free software; you can redistribute it and/or modify
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
13 * it under the terms of the GNU General Public License as published by
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
14 * the Free Software Foundation; either version 2 of the License, or
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
15 * (at your option) any later version.
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
16 *
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
17 * This program is distributed in the hope that it will be useful,
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
20 * GNU General Public License for more details.
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
21 *
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
22 * You should have received a copy of the GNU General Public License
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
23 * 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
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
2417
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
25 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
26 #ifndef _PURPLE_CORE_H_
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
27 #define _PURPLE_CORE_H_
2417
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
28
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
29 typedef struct PurpleCore PurpleCore;
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
30
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
31 typedef struct
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
32 {
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
33 void (*ui_prefs_init)(void);
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
34 void (*debug_ui_init)(void); /* Unfortunate necessity. */
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
35 void (*ui_init)(void);
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
36 void (*quit)(void);
18441
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
37 GHashTable* (*get_ui_info)(void);
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
38
16743
1ce5ffe12e2a Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents: 16409
diff changeset
39 void (*_purple_reserved1)(void);
1ce5ffe12e2a Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents: 16409
diff changeset
40 void (*_purple_reserved2)(void);
1ce5ffe12e2a Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents: 16409
diff changeset
41 void (*_purple_reserved3)(void);
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
42 } PurpleCoreUiOps;
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
43
6314
25bba03c42cd [gaim-migrate @ 6813]
Christian Hammond <chipx86@chipx86.com>
parents: 6182
diff changeset
44 #ifdef __cplusplus
25bba03c42cd [gaim-migrate @ 6813]
Christian Hammond <chipx86@chipx86.com>
parents: 6182
diff changeset
45 extern "C" {
25bba03c42cd [gaim-migrate @ 6813]
Christian Hammond <chipx86@chipx86.com>
parents: 6182
diff changeset
46 #endif
25bba03c42cd [gaim-migrate @ 6813]
Christian Hammond <chipx86@chipx86.com>
parents: 6182
diff changeset
47
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
48 /**
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
49 * Initializes the core of purple.
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
50 *
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
51 * This will setup preferences for all the core subsystems.
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
52 *
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
53 * @param ui The ID of the UI using the core. This should be a
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
54 * unique ID, registered with the purple team.
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
55 *
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
56 * @return @c TRUE if successful, or @c FALSE otherwise.
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
57 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
58 gboolean purple_core_init(const char *ui);
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
59
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
60 /**
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
61 * Quits the core of purple, which, depending on the UI, may quit the
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
62 * application using the purple core.
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
63 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
64 void purple_core_quit(void);
2417
7751d1269b09 [gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
diff changeset
65
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
66 /**
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
67 * Calls purple_core_quit(). This can be used as the function
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
68 * passed to purple_timeout_add() when you want to shutdown Purple
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
69 * in a specified amount of time. When shutting down Purple
22107
776a0aa56a41 Clarify a comment that was confusing me. Thanks resiak!
Richard Laager <rlaager@pidgin.im>
parents: 20889
diff changeset
70 * from a plugin, you must use this instead of purple_core_quit();
776a0aa56a41 Clarify a comment that was confusing me. Thanks resiak!
Richard Laager <rlaager@pidgin.im>
parents: 20889
diff changeset
71 * for an immediate exit, use a timeout value of 0:
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
72 * purple_timeout_add(0, purple_core_quitcb, NULL);
7646
6806a6893ac0 [gaim-migrate @ 8289]
Mark Doliner <markdoliner@pidgin.im>
parents: 7082
diff changeset
73 * This is ensures that code from your plugin is not being
22107
776a0aa56a41 Clarify a comment that was confusing me. Thanks resiak!
Richard Laager <rlaager@pidgin.im>
parents: 20889
diff changeset
74 * executed when purple_core_quit() is called. If the plugin
776a0aa56a41 Clarify a comment that was confusing me. Thanks resiak!
Richard Laager <rlaager@pidgin.im>
parents: 20889
diff changeset
75 * called purple_core_quit() directly, you would get a core dump
776a0aa56a41 Clarify a comment that was confusing me. Thanks resiak!
Richard Laager <rlaager@pidgin.im>
parents: 20889
diff changeset
76 * after purple_core_quit() executes and control returns to your
776a0aa56a41 Clarify a comment that was confusing me. Thanks resiak!
Richard Laager <rlaager@pidgin.im>
parents: 20889
diff changeset
77 * plugin because purple_core_quit() frees all plugins.
7646
6806a6893ac0 [gaim-migrate @ 8289]
Mark Doliner <markdoliner@pidgin.im>
parents: 7082
diff changeset
78 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
79 gboolean purple_core_quit_cb(gpointer unused);
7646
6806a6893ac0 [gaim-migrate @ 8289]
Mark Doliner <markdoliner@pidgin.im>
parents: 7082
diff changeset
80
6806a6893ac0 [gaim-migrate @ 8289]
Mark Doliner <markdoliner@pidgin.im>
parents: 7082
diff changeset
81 /**
6612
aac6af649208 [gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents: 6314
diff changeset
82 * Returns the version of the core library.
aac6af649208 [gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents: 6314
diff changeset
83 *
aac6af649208 [gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents: 6314
diff changeset
84 * @return The version of the core library.
aac6af649208 [gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents: 6314
diff changeset
85 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
86 const char *purple_core_get_version(void);
6612
aac6af649208 [gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents: 6314
diff changeset
87
aac6af649208 [gaim-migrate @ 7136]
Christian Hammond <chipx86@chipx86.com>
parents: 6314
diff changeset
88 /**
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
89 * Returns the ID of the UI that is using the core.
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
90 *
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
91 * @return The ID of the UI that is currently using the core.
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
92 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
93 const char *purple_core_get_ui(void);
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
94
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
95 /**
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
96 * Returns a handle to the purple core.
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
97 *
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
98 * This is used for such things as signals.
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
99 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
100 PurpleCore *purple_get_core(void);
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
101
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 * Sets the UI ops for the core.
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
104 *
12369
5635c1f02708 [gaim-migrate @ 14673]
Peter Lawler <pidgin@bleeter.id.au>
parents: 11035
diff changeset
105 * @param ops A UI ops structure for the core.
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
106 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
107 void purple_core_set_ui_ops(PurpleCoreUiOps *ops);
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
108
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
109 /**
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
110 * Returns the UI ops for the core.
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
111 *
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
112 * @return The core's UI ops structure.
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
113 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
114 PurpleCoreUiOps *purple_core_get_ui_ops(void);
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
115
16409
8c153c6febdd The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents: 16256
diff changeset
116 /**
8c153c6febdd The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents: 16256
diff changeset
117 * Migrates from .gaim to .purple.
8c153c6febdd The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents: 16256
diff changeset
118 *
8c153c6febdd The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents: 16256
diff changeset
119 * UIs MUST NOT call this if they have been told to use a custom
8c153c6febdd The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents: 16256
diff changeset
120 * user directory.
8c153c6febdd The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents: 16256
diff changeset
121 *
8c153c6febdd The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents: 16256
diff changeset
122 * @return A boolean indicating success or migration failure. On failure,
8c153c6febdd The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents: 16256
diff changeset
123 * the application must display an error to the user and then exit.
8c153c6febdd The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents: 16256
diff changeset
124 */
8c153c6febdd The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents: 16256
diff changeset
125 gboolean purple_core_migrate(void);
8c153c6febdd The core portion of the migration code. This is implemented as I described
Richard Laager <rlaager@pidgin.im>
parents: 16256
diff changeset
126
17121
43d41f5ce17b Alternative dbus_uniq implementation
Gabriel Schulhof <nix@go-nix.ca>
parents: 16743
diff changeset
127 /**
43d41f5ce17b Alternative dbus_uniq implementation
Gabriel Schulhof <nix@go-nix.ca>
parents: 16743
diff changeset
128 * Ensures that only one instance is running.
43d41f5ce17b Alternative dbus_uniq implementation
Gabriel Schulhof <nix@go-nix.ca>
parents: 16743
diff changeset
129 *
17122
5ba216aa4583 Style changes + removed unnecessary NULL checks.
Gabriel Schulhof <nix@go-nix.ca>
parents: 17121
diff changeset
130 * @return A boolean such that @c TRUE indicates that this is the first instance,
5ba216aa4583 Style changes + removed unnecessary NULL checks.
Gabriel Schulhof <nix@go-nix.ca>
parents: 17121
diff changeset
131 * whereas @c FALSE indicates that there is another instance running.
17883
85abd6e343df Document the API changes.
Richard Laager <rlaager@pidgin.im>
parents: 17122
diff changeset
132 *
85abd6e343df Document the API changes.
Richard Laager <rlaager@pidgin.im>
parents: 17122
diff changeset
133 * @since 2.1.0
17121
43d41f5ce17b Alternative dbus_uniq implementation
Gabriel Schulhof <nix@go-nix.ca>
parents: 16743
diff changeset
134 */
43d41f5ce17b Alternative dbus_uniq implementation
Gabriel Schulhof <nix@go-nix.ca>
parents: 16743
diff changeset
135 gboolean purple_core_ensure_single_instance(void);
43d41f5ce17b Alternative dbus_uniq implementation
Gabriel Schulhof <nix@go-nix.ca>
parents: 16743
diff changeset
136
18441
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
137 /**
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
138 * Returns a hashtable containing various information about the UI
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
139 *
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
140 * @return A GHashTable with strings for keys and values. This
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
141 * hash table must not be freed.
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
142 *
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
143 * @since 2.1.0
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
144 *
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
145 */
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
146 GHashTable* purple_core_get_ui_info(void);
d255d04c0aa1 core support for UI info...now to do the UI piece
Nathan Walp <nwalp@pidgin.im>
parents: 18072
diff changeset
147
6314
25bba03c42cd [gaim-migrate @ 6813]
Christian Hammond <chipx86@chipx86.com>
parents: 6182
diff changeset
148 #ifdef __cplusplus
25bba03c42cd [gaim-migrate @ 6813]
Christian Hammond <chipx86@chipx86.com>
parents: 6182
diff changeset
149 }
25bba03c42cd [gaim-migrate @ 6813]
Christian Hammond <chipx86@chipx86.com>
parents: 6182
diff changeset
150 #endif
25bba03c42cd [gaim-migrate @ 6813]
Christian Hammond <chipx86@chipx86.com>
parents: 6182
diff changeset
151
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
152 #endif /* _PURPLE_CORE_H_ */
5862
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
153
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
154 /*
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
155
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
156 /===-
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
157 `//"\\ """"`---.___.-""
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
158 ______-==| | | \\ _-"`
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
159 __--""" ,-/-==\\ | | `\ ,'
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
160 _-" /' | \\ ___ / / \ /
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
161 .' / | \\ /" "\ /' / \ /'
6169
d23c0f0228ae [gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
162 / ____ / | \`\.__/-"" D O \_/' / \/'
d23c0f0228ae [gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
163 /-'" """""---__ | "-/" O G R /' _--"`
6179
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
164 \_| / R __--_ t ), __--""
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
165 '""--_/ T _-"_>--<_\ h '-" \
4df73df94250 [gaim-migrate @ 6664]
Christian Hammond <chipx86@chipx86.com>
parents: 6169
diff changeset
166 {\__--_/} / \\__>--<__\ e B \
6169
d23c0f0228ae [gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
167 /' (_/ _-" | |__>--<__| U |
d23c0f0228ae [gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
168 | _/) )-" | |__>--<__| R |
d23c0f0228ae [gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
169 / /" ,_/ / /__>---<__/ N |
d23c0f0228ae [gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
170 o-o _// /-"_>---<__-" I /
d23c0f0228ae [gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
171 (^(" /"_>---<__- N _-"
d23c0f0228ae [gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
172 ,/| /__>--<__/ A _-"
d23c0f0228ae [gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
173 ,//('( |__>--<__| T / .----_
5862
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
174 ( ( ')) |__>--<__| | /' _---_"\
6169
d23c0f0228ae [gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
175 `-)) )) ( |__>--<__| O | /' / "\`\
d23c0f0228ae [gaim-migrate @ 6652]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
176 ,/,'//( ( \__>--<__\ R \ /' // ||
5862
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
177 ,( ( ((, )) "-__>--<_"-_ "--____---"' _/'/ /'
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
178 `"/ )` ) ,/| "-_">--<_/-__ __-" _/
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
179 ._-"//( )/ )) ` ""-'_/_/ /"""""""__--"
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
180 ;'( ')/ ,)( """"""""""
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
181 ' ') '( (/
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
182 ' ' `
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
183
1099a19a8351 [gaim-migrate @ 6293]
Sean Egan <seanegan@pidgin.im>
parents: 5859
diff changeset
184 */

mercurial