| 5 * gaim |
5 * gaim |
| 6 * |
6 * |
| 7 * Pidgin is the legal property of its developers, whose names are too numerous |
7 * Pidgin is the legal property of its developers, whose names are too numerous |
| 8 * to list here. Please refer to the COPYRIGHT file distributed with this |
8 * to list here. Please refer to the COPYRIGHT file distributed with this |
| 9 * source distribution. |
9 * source distribution. |
| 10 * |
10 * |
| 11 * This program is free software; you can redistribute it and/or modify |
11 * This program is free software; you can redistribute it and/or modify |
| 12 * it under the terms of the GNU General Public License as published by |
12 * it under the terms of the GNU General Public License as published by |
| 13 * the Free Software Foundation; either version 2 of the License, or |
13 * the Free Software Foundation; either version 2 of the License, or |
| 14 * (at your option) any later version. |
14 * (at your option) any later version. |
| 15 * |
15 * |
| 40 int page_num; /**< Reserved */ |
40 int page_num; /**< Reserved */ |
| 41 }; |
41 }; |
| 42 |
42 |
| 43 #define PIDGIN_PLUGIN_TYPE PIDGIN_UI |
43 #define PIDGIN_PLUGIN_TYPE PIDGIN_UI |
| 44 |
44 |
| 45 #define GAIM_IS_GTK_PLUGIN(plugin) \ |
45 #define PIDGIN_IS_PIDGIN_PLUGIN(plugin) \ |
| 46 ((plugin)->info != NULL && (plugin)->info->ui_info != NULL && \ |
46 ((plugin)->info != NULL && (plugin)->info->ui_info != NULL && \ |
| 47 !strcmp((plugin)->info->ui_requirement, PIDGIN_PLUGIN_TYPE)) |
47 !strcmp((plugin)->info->ui_requirement, PIDGIN_PLUGIN_TYPE)) |
| 48 |
48 |
| 49 #define PIDGIN_PLUGIN_UI_INFO(plugin) \ |
49 #define PIDGIN_PLUGIN_UI_INFO(plugin) \ |
| 50 ((PidginPluginUiInfo *)(plugin)->info->ui_info) |
50 ((PidginPluginUiInfo *)(plugin)->info->ui_info) |