comparison libpurple/plugin.h @ 20096:2a9f3a499b0d

merge of '34d642b12b7215d55fd032cd513a7e225715f19a' and '7868c3b2b7d17c52916e4bb76305b7e3b68d3904'
author Richard Laager <rlaager@wiktel.com>
date Mon, 17 Sep 2007 03:47:45 +0000
parents 6bf32c9e15a7
children f296be2a1039 d05f79920d50
comparison
equal deleted inserted replaced
19891:191fa8a8c0bc 20096:2a9f3a499b0d
1 /** 1 /**
2 * @file plugin.h Plugin API 2 * @file plugin.h Plugin API
3 * @ingroup core 3 * @ingroup core
4 * 4 */
5 * purple 5
6 /* purple
6 * 7 *
7 * Purple is the legal property of its developers, whose names are too numerous 8 * Purple 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 9 * to list here. Please refer to the COPYRIGHT file distributed with this
9 * source distribution. 10 * source distribution.
10 * 11 *
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details. 20 * GNU General Public License for more details.
20 * 21 *
21 * You should have received a copy of the GNU General Public License 22 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software 23 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
24 * 25 *
25 * @see @ref plugin-signals 26 * @see @ref plugin-signals
26 * @see @ref plugin-ids 27 * @see @ref plugin-ids
27 * @see @ref plugin-i18n 28 * @see @ref plugin-i18n
28 */ 29 */
186 PurplePlugin *plugin; 187 PurplePlugin *plugin;
187 188
188 /** NULL for plugin actions menu, set to the PurpleConnection for 189 /** NULL for plugin actions menu, set to the PurpleConnection for
189 account actions menu */ 190 account actions menu */
190 gpointer context; 191 gpointer context;
192
193 gpointer user_data;
191 }; 194 };
192 195
193 #define PURPLE_PLUGIN_HAS_ACTIONS(plugin) \ 196 #define PURPLE_PLUGIN_HAS_ACTIONS(plugin) \
194 ((plugin)->info != NULL && (plugin)->info->actions != NULL) 197 ((plugin)->info != NULL && (plugin)->info->actions != NULL)
195 198