Revision 3217 src/plugin.c

View differences:

plugin.c
1 1
/*
2 2
 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3
 * Copyright (C) 1999-2012 Hiroyuki Yamamoto
3
 * Copyright (C) 1999-2013 Hiroyuki Yamamoto
4 4
 *
5 5
 * This program is free software; you can redistribute it and/or modify
6 6
 * it under the terms of the GNU General Public License as published by
......
1373 1373
	GETFUNC("send_message_set_forward_flags");
1374 1374
	return SAFE_CALL_ARG1_RET_VAL(func, forward_targets, -1);
1375 1375
}
1376

  
1377
gint syl_plugin_notification_window_open(const gchar *message,
1378
					 const gchar *submessage,
1379
					 guint timeout)
1380
{
1381
	gint (*func)(const gchar *, const gchar *, guint);
1382

  
1383
	GETFUNC("notification_window_open");
1384
	return SAFE_CALL_ARG3_RET_VAL(func, message, submessage, timeout, -1);
1385
}
1386

  
1387
void syl_plugin_notification_window_set_message(const gchar *message,
1388
						const gchar *submessage)
1389
{
1390
	void (*func)(const gchar *, const gchar *);
1391

  
1392
	GETFUNC("notification_window_set_message");
1393
	SAFE_CALL_ARG2(func, message, submessage);
1394
}
1395

  
1396
void syl_plugin_notification_window_close(void)
1397
{
1398
	void (*func)(void);
1399

  
1400
	GETFUNC("notification_window_close");
1401
	SAFE_CALL(func);
1402
}

Also available in: Unified diff