view src/dbus-useful.h @ 11642:58bc500cf226

[gaim-migrate @ 13919] sf patch #1324285, from Casey Harkins fix "sounds while away" in HEAD This patch adds a GaimAccount as a parameter to the sound playing functions, allowing the caller to specify the account the sound is related to. If the account is not NULL and the while_away preference is not set, then the account is checked to see if it is away, if so, the sound is not played. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 12 Oct 2005 02:27:32 +0000
parents 1c5398ccbeb0
children 8bda65b88e49
line wrap: on
line source

#include "conversation.h"

GaimAccount *gaim_accounts_find_ext(const char *name, const char *protocol_id, 
				    gboolean (*account_test)(const GaimAccount *account));

GaimAccount *gaim_accounts_find_any(const char *name, const char *protocol);

GaimAccount *gaim_accounts_find_connected(const char *name, const char *protocol);