view plugins/perl/common/Sound.xs @ 12919:248b8b39c671

[gaim-migrate @ 15272] Replace GaimBlistNodeAction with the more generic GaimMenuAction, this is in preparation for letting the chat room user list have extensible menus like the blist entries do. (I know it's not exactly the prettiest, and the callback isn't exactly type-safe, when we eventually gobjectify everything we can get some safety back by using (GObject, gpointer) but that's for later.) I'm planning to look into merging GaimPluginActions into GaimMenuActions as well. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 17 Jan 2006 23:22:19 +0000
parents 96f9b4798012
children
line wrap: on
line source

#include "module.h"

MODULE = Gaim::Sound  PACKAGE = Gaim::Sound  PREFIX = gaim_sound_
PROTOTYPES: ENABLE

Gaim::Sound::UiOps
gaim_sound_get_ui_ops()

void
gaim_sound_init()

void
gaim_sound_play_event(event, account)
	Gaim::SoundEventID event
	Gaim::Account account

void
gaim_sound_play_file(filename, account)
	const char *filename
	Gaim::Account account

void
gaim_sound_set_ui_ops(ops)
	Gaim::Sound::UiOps ops

void
gaim_sound_uninit()