Thu, 01 Aug 2013 03:03:00 +0530
Added a callback to return preferences frame to plugin info.
* Added purple_plugin_info_set_pref_frame_callback()
* Added purple_plugin_info_get_pref_frame_callback()
| 5205 | 1 | /** |
|
36367
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
2 | * @file plugins.h Plugins API |
| 5205 | 3 | * @ingroup core |
|
36391
dbf2a8af2eb1
Added a reference to signal, id, and i18n docs
Ankit Vani <a@nevitus.org>
parents:
36389
diff
changeset
|
4 | * @see @ref plugin-signals |
|
dbf2a8af2eb1
Added a reference to signal, id, and i18n docs
Ankit Vani <a@nevitus.org>
parents:
36389
diff
changeset
|
5 | * @see @ref plugin-ids |
|
dbf2a8af2eb1
Added a reference to signal, id, and i18n docs
Ankit Vani <a@nevitus.org>
parents:
36389
diff
changeset
|
6 | * @see @ref plugin-i18n |
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19897
diff
changeset
|
7 | */ |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19897
diff
changeset
|
8 | |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19897
diff
changeset
|
9 | /* purple |
| 5205 | 10 | * |
| 15884 | 11 | * Purple is the legal property of its developers, whose names are too numerous |
| 8046 | 12 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 13 | * source distribution. | |
|
6485
3c7ba18e32f1
[gaim-migrate @ 6999]
Christian Hammond <chipx86@chipx86.com>
parents:
5949
diff
changeset
|
14 | * |
| 5205 | 15 | * This program is free software; you can redistribute it and/or modify |
| 16 | * it under the terms of the GNU General Public License as published by | |
| 17 | * the Free Software Foundation; either version 2 of the License, or | |
| 18 | * (at your option) any later version. | |
| 19 | * | |
| 20 | * This program is distributed in the hope that it will be useful, | |
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 23 | * GNU General Public License for more details. | |
| 24 | * | |
| 25 | * You should have received a copy of the GNU General Public License | |
| 26 | * 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:
18412
diff
changeset
|
27 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 5205 | 28 | */ |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
29 | #ifndef _PURPLE_PLUGINS_H_ |
|
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
30 | #define _PURPLE_PLUGINS_H_ |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5840
diff
changeset
|
31 | |
|
36357
1a49a1a9ce18
Started the new GObject plugin API
Ankit Vani <a@nevitus.org>
parents:
34801
diff
changeset
|
32 | #include <gplugin.h> |
| 5205 | 33 | |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
34 | #define PURPLE_TYPE_PLUGIN_INFO (purple_plugin_info_get_type()) |
|
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
35 | #define PURPLE_PLUGIN_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_PLUGIN_INFO, PurplePluginInfo)) |
|
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
36 | #define PURPLE_PLUGIN_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PURPLE_TYPE_PLUGIN_INFO, PurplePluginInfoClass)) |
|
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
37 | #define PURPLE_IS_PLUGIN_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PURPLE_TYPE_PLUGIN_INFO)) |
|
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
38 | #define PURPLE_IS_PLUGIN_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), PURPLE_TYPE_PLUGIN_INFO)) |
|
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
39 | #define PURPLE_PLUGIN_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PURPLE_TYPE_PLUGIN_INFO, PurplePluginInfoClass)) |
| 34783 | 40 | |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
41 | /** @copydoc _PurplePluginInfo */ |
|
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
42 | typedef struct _PurplePluginInfo PurplePluginInfo; |
|
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
43 | /** @copydoc _PurplePluginInfoClass */ |
|
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
44 | typedef struct _PurplePluginInfoClass PurplePluginInfoClass; |
|
8749
fb487e9e101a
[gaim-migrate @ 9504]
Christian Hammond <chipx86@chipx86.com>
parents:
8735
diff
changeset
|
45 | |
|
36386
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
46 | #define PURPLE_TYPE_PLUGIN_ACTION (purple_plugin_action_get_type()) |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
47 | |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
48 | /** @copydoc _PurplePluginAction */ |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
49 | typedef struct _PurplePluginAction PurplePluginAction; |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
50 | |
|
36395
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
51 | #include "pluginpref.h" |
|
36386
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
52 | |
|
36395
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
53 | typedef void (*PurplePluginActionCallback)(PurplePluginAction *); |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
54 | typedef PurplePluginPrefFrame (*PurplePluginPrefFrameCallback)(GPluginPlugin *); |
|
36364
4a5544383bc8
Refactored account to use the initial GObject plugin API
Ankit Vani <a@nevitus.org>
parents:
36357
diff
changeset
|
55 | |
| 5205 | 56 | /** |
|
36386
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
57 | * Holds information about a plugin. |
| 5205 | 58 | */ |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
59 | struct _PurplePluginInfo { |
|
36357
1a49a1a9ce18
Started the new GObject plugin API
Ankit Vani <a@nevitus.org>
parents:
34801
diff
changeset
|
60 | /*< private >*/ |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
61 | GPluginPluginInfo parent; |
|
36357
1a49a1a9ce18
Started the new GObject plugin API
Ankit Vani <a@nevitus.org>
parents:
34801
diff
changeset
|
62 | }; |
| 5205 | 63 | |
|
36357
1a49a1a9ce18
Started the new GObject plugin API
Ankit Vani <a@nevitus.org>
parents:
34801
diff
changeset
|
64 | /** |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
65 | * PurplePluginInfoClass: |
|
36357
1a49a1a9ce18
Started the new GObject plugin API
Ankit Vani <a@nevitus.org>
parents:
34801
diff
changeset
|
66 | * |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
67 | * The base class for all #PurplePluginInfo's. |
|
36357
1a49a1a9ce18
Started the new GObject plugin API
Ankit Vani <a@nevitus.org>
parents:
34801
diff
changeset
|
68 | */ |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
69 | struct _PurplePluginInfoClass { |
|
36357
1a49a1a9ce18
Started the new GObject plugin API
Ankit Vani <a@nevitus.org>
parents:
34801
diff
changeset
|
70 | /*< private >*/ |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
71 | GPluginPluginInfoClass parent_class; |
|
16743
1ce5ffe12e2a
Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents:
15884
diff
changeset
|
72 | |
|
1ce5ffe12e2a
Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents:
15884
diff
changeset
|
73 | void (*_purple_reserved1)(void); |
|
1ce5ffe12e2a
Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents:
15884
diff
changeset
|
74 | void (*_purple_reserved2)(void); |
|
1ce5ffe12e2a
Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents:
15884
diff
changeset
|
75 | void (*_purple_reserved3)(void); |
|
1ce5ffe12e2a
Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents:
15884
diff
changeset
|
76 | void (*_purple_reserved4)(void); |
| 5205 | 77 | }; |
| 78 | ||
|
36386
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
79 | /** |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
80 | * Represents an action that the plugin can perform. This shows up in the Tools |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
81 | * menu, under a submenu with the name of the plugin. |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
82 | */ |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
83 | struct _PurplePluginAction { |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
84 | char *label; |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
85 | PurplePluginActionCallback callback; |
|
36389
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
86 | GPluginPlugin *plugin; |
|
36386
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
87 | }; |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
88 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
89 | G_BEGIN_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5840
diff
changeset
|
90 | |
| 5205 | 91 | /**************************************************************************/ |
|
36370
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
92 | /** @name Plugin API */ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
93 | /**************************************************************************/ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
94 | /*@{*/ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
95 | |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
96 | /** |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
97 | * Attempts to load a plugin. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
98 | * |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
99 | * @param plugin The plugin to load. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
100 | * |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
101 | * @return @c TRUE if successful, or @c FALSE otherwise. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
102 | * |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
103 | * @see purple_plugin_unload() |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
104 | */ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
105 | gboolean purple_plugin_load(GPluginPlugin *plugin); |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
106 | |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
107 | /** |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
108 | * Unloads the specified plugin. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
109 | * |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
110 | * @param plugin The plugin handle. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
111 | * |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
112 | * @return @c TRUE if successful, or @c FALSE otherwise. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
113 | * |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
114 | * @see purple_plugin_load() |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
115 | */ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
116 | gboolean purple_plugin_unload(GPluginPlugin *plugin); |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
117 | |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
118 | /** |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
119 | * Returns whether or not a plugin is currently loaded. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
120 | * |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
121 | * @param plugin The plugin. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
122 | * |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
123 | * @return @c TRUE if loaded, or @c FALSE otherwise. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
124 | */ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
125 | gboolean purple_plugin_is_loaded(const GPluginPlugin *plugin); |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
126 | |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
127 | /*@}*/ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
128 | |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
129 | /**************************************************************************/ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
130 | /** @name PluginInfo API */ |
| 5205 | 131 | /**************************************************************************/ |
| 132 | /*@{*/ | |
| 133 | ||
| 134 | /** | |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
135 | * Returns the GType for the PurplePluginInfo object. |
| 34783 | 136 | */ |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
137 | GType purple_plugin_info_get_type(void); |
| 34783 | 138 | |
|
36389
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
139 | /** |
|
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
140 | * Returns a list of actions that a plugin can perform. |
|
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
141 | * |
|
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
142 | * @param plugin_info The plugin info to get the actions from. |
|
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
143 | * |
| 36392 | 144 | * @constreturn A list of #PurplePluginAction instances corresponding to the |
| 145 | * actions a plugin can perform. | |
|
36389
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
146 | * |
|
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
147 | * @see purple_plugin_actions_add() |
|
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
148 | */ |
|
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
149 | GList *purple_plugin_info_get_actions(PurplePluginInfo *plugin_info); |
|
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
150 | |
|
36395
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
151 | /** |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
152 | * Sets a callback to be invoked to retrieve the preferences frame for a plugin. |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
153 | * |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
154 | * @param plugin_info The plugin info to set the callback for. |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
155 | * @param callback The callback that returns the preferences frame. |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
156 | */ |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
157 | void purple_plugin_info_set_pref_frame_callback(PurplePluginInfo *plugin_info, |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
158 | PurplePluginPrefFrameCallback callback); |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
159 | |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
160 | /** |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
161 | * Returns the callback that retrieves the preferences frame for a plugin. |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
162 | * |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
163 | * @param plugin_info The plugin info to get the callback from. |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
164 | * |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
165 | * @return The callback that returns the preferences frame. |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
166 | */ |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
167 | PurplePluginPrefFrameCallback |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
168 | purple_plugin_info_get_pref_frame_callback(PurplePluginInfo *plugin_info); |
|
a27e8b7a2938
Added a callback to return preferences frame to plugin info.
Ankit Vani <a@nevitus.org>
parents:
36392
diff
changeset
|
169 | |
| 5205 | 170 | /*@}*/ |
| 171 | ||
|
36367
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
172 | /**************************************************************************/ |
|
36389
8d86658a3b68
Added 'plugin' field to PurplePluginAction. Added purple_plugin_info_get_actions().
Ankit Vani <a@nevitus.org>
parents:
36387
diff
changeset
|
173 | /** @name Plugin actions API */ |
|
36386
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
174 | /**************************************************************************/ |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
175 | /*@{*/ |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
176 | |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
177 | /** |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
178 | * Returns the GType for the PurplePluginAction boxed structure. |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
179 | */ |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
180 | GType purple_plugin_action_get_type(void); |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
181 | |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
182 | /** |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
183 | * Adds a new action to a plugin. |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
184 | * |
|
36387
69b2a6391f6d
Added doc for plugin param in purple_plugin_actions_add()
Ankit Vani <a@nevitus.org>
parents:
36386
diff
changeset
|
185 | * @param plugin The plugin to add the action to. |
|
36386
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
186 | * @param label The description of the action to show to the user. |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
187 | * @param callback The callback to call when the user selects this action. |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
188 | */ |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
189 | void purple_plugin_actions_add(GPluginPlugin *plugin, const char* label, |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
190 | PurplePluginActionCallback callback); |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
191 | |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
192 | /*@}*/ |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
193 | |
|
d402ca995746
Added a boxed type PurplePluginAction with purple_plugin_actions_add() to add an action to a plugin.
Ankit Vani <a@nevitus.org>
parents:
36377
diff
changeset
|
194 | /**************************************************************************/ |
|
36370
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
195 | /** @name Plugins API */ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
196 | /**************************************************************************/ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
197 | /*@{*/ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
198 | |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
199 | /** |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
200 | * Returns a list of all plugins, whether loaded or not. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
201 | * |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
202 | * @constreturn A list of all plugins. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
203 | */ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
204 | GList *purple_plugins_get_all(void); |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
205 | |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
206 | /** |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
207 | * Returns a list of all loaded plugins. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
208 | * |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
209 | * @constreturn A list of all loaded plugins. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
210 | */ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
211 | GList *purple_plugins_get_loaded(void); |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
212 | |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
213 | /** |
|
36377
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
214 | * Saves the list of loaded plugins to the specified preference key |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
215 | * |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
216 | * @param key The preference key to save the list of plugins to. |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
217 | */ |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
218 | void purple_plugins_save_loaded(const char *key); |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
219 | |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
220 | /** |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
221 | * Attempts to load all the plugins in the specified preference key |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
222 | * that were loaded when purple last quit. |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
223 | * |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
224 | * @param key The preference key containing the list of plugins. |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
225 | */ |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
226 | void purple_plugins_load_saved(const char *key); |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
227 | |
|
28ec73fbb37d
Added purple_plugins_save_loaded() and purple_plugins_load_saved()
Ankit Vani <a@nevitus.org>
parents:
36370
diff
changeset
|
228 | /** |
|
36370
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
229 | * Unloads all loaded plugins. |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
230 | */ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
231 | void purple_plugins_unload_all(void); |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
232 | |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
233 | /*@}*/ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
234 | |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
235 | /**************************************************************************/ |
|
04a6a552bee4
Added the following functions to plugins.[ch]:
Ankit Vani <a@nevitus.org>
parents:
36368
diff
changeset
|
236 | /** @name Plugins Subsystem API */ |
|
36367
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
237 | /**************************************************************************/ |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
238 | /*@{*/ |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
239 | |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
240 | /** |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
241 | * Returns the plugin subsystem handle. |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
242 | * |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
243 | * @return The plugin sybsystem handle. |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
244 | */ |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
245 | void *purple_plugins_get_handle(void); |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
246 | |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
247 | /** |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
248 | * Initializes the plugin subsystem |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
249 | */ |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
250 | void purple_plugins_init(void); |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
251 | |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
252 | /** |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
253 | * Uninitializes the plugin subsystem |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
254 | */ |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
255 | void purple_plugins_uninit(void); |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
256 | |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
257 | /*@}*/ |
|
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
36364
diff
changeset
|
258 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
259 | G_END_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5840
diff
changeset
|
260 | |
|
36368
0898810f4e9c
Removed PurplePlugin and added PurplePluginInfo, which inherits GPluginPluginInfo
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
261 | #endif /* _PURPLE_PLUGINS_H_ */ |