plugins/perl/common/Notify.xs

Sun, 11 Jun 2006 19:05:45 +0000

author
Brian Chu <roast@users.sourceforge.net>
date
Sun, 11 Jun 2006 19:05:45 +0000
changeset 13824
3e29de65083a
parent 12773
1f635f83d71f
permissions
-rw-r--r--

[gaim-migrate @ 16257]
SF Patch #1504436 from roast, with changes by me

"gaim_gtkdialogs_log() doesn't set initial account
value, but shows an initial account. This is confusing
because if the user does not use the hint list to
select an account (e.g. he types a name in),
gaim_gtkdialogs_log_cb() services an empty call.

This patch fixes this."

committer: Richard Laager <rlaager@pidgin.im>

#include "module.h"

MODULE = Gaim::Notify  PACKAGE = Gaim::Notify  PREFIX = gaim_notify_
PROTOTYPES: ENABLE

void
gaim_notify_close(type, ui_handle)
	Gaim::NotifyType type
	void * ui_handle

void
gaim_notify_close_with_handle(handle)
	void * handle

void *
gaim_notify_email(handle, subject, from, to, url, cb, user_data)
	void * handle
	const char *subject
	const char *from
	const char *to
	const char *url
	Gaim::NotifyCloseCallback cb
	gpointer user_data

void *
gaim_notify_emails(handle, count, detailed, subjects, froms, tos, urls, cb, user_data)
	void * handle
	size_t count
	gboolean detailed
	const char **subjects
	const char **froms
	const char **tos
	const char **urls
	Gaim::NotifyCloseCallback cb
	gpointer user_data

void *
gaim_notify_formatted(handle, title, primary, secondary, text, cb, user_data)
	void * handle
	const char *title
	const char *primary
	const char *secondary
	const char *text
	Gaim::NotifyCloseCallback cb
	gpointer user_data

Gaim::NotifyUiOps
gaim_notify_get_ui_ops()


void *
gaim_notify_message(handle, type, title, primary, secondary, cb, user_data)
	void * handle
	Gaim::NotifyMsgType type
	const char *title
	const char *primary
	const char *secondary
	Gaim::NotifyCloseCallback cb
	gpointer user_data

void *
gaim_notify_searchresults(gc, title, primary, secondary, results, cb, user_data)
	Gaim::Connection gc
	const char *title
	const char *primary
	const char *secondary
	Gaim::NotifySearchResults results
	Gaim::NotifyCloseCallback cb
	gpointer user_data

void
gaim_notify_set_ui_ops(ops)
	Gaim::NotifyUiOps ops

void *
gaim_notify_uri(handle, uri)
	void * handle
	const char *uri

void *
gaim_notify_userinfo(gc, who, text, cb, user_data)
	Gaim::Connection gc
	const char *who
	const char *text
	Gaim::NotifyCloseCallback cb
	gpointer user_data

mercurial