plugins/perl/common/Sound.xs

Sun, 22 Jan 2006 05:17:38 +0000

author
Etan Reisner <deryni@pidgin.im>
date
Sun, 22 Jan 2006 05:17:38 +0000
changeset 12984
efb5a11f13b2
parent 12773
1f635f83d71f
permissions
-rw-r--r--

[gaim-migrate @ 15337]
Perl plugins now have ids. Not having them was causing crashes with the
dependent plugin unloading stuff. Some fixes to that code in a minute.

#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()

mercurial