pidgin/plugins/perl/common/GtkUI.xs

Fri, 27 Apr 2007 04:25:21 +0000

author
Etan Reisner <deryni@pidgin.im>
date
Fri, 27 Apr 2007 04:25:21 +0000
changeset 16528
6cd4a90e0970
parent 15899
75f0041f72b8
child 20478
46933dc62880
permissions
-rw-r--r--

Kill the libpurpleperl hack library and move the init stuff to perl.so itself.
This works fine for me and I'm hoping will work fine on Solaris as well. When
it gets tested we'll want to drop libpurpleperl.c but until I know it works I
don't want to drop it (because of mtn's die die dir merge stuff).

#include "gtkmodule.h"

/* Prototypes for the BOOT section below. */
PURPLE_PERL_BOOT_PROTO(GtkUI__Account);
PURPLE_PERL_BOOT_PROTO(GtkUI__BuddyList);
PURPLE_PERL_BOOT_PROTO(GtkUI__Connection);
PURPLE_PERL_BOOT_PROTO(GtkUI__Conversation);
PURPLE_PERL_BOOT_PROTO(GtkUI__Conversation__Window);
PURPLE_PERL_BOOT_PROTO(GtkUI__Debug);
PURPLE_PERL_BOOT_PROTO(GtkUI__Dialogs);
PURPLE_PERL_BOOT_PROTO(GtkUI__IMHtml);
PURPLE_PERL_BOOT_PROTO(GtkUI__IMHtmlToolbar);
PURPLE_PERL_BOOT_PROTO(GtkUI__Log);
PURPLE_PERL_BOOT_PROTO(GtkUI__MenuTray);
PURPLE_PERL_BOOT_PROTO(GtkUI__Plugin);
PURPLE_PERL_BOOT_PROTO(GtkUI__PluginPref);
PURPLE_PERL_BOOT_PROTO(GtkUI__Pounce);
PURPLE_PERL_BOOT_PROTO(GtkUI__Prefs);
PURPLE_PERL_BOOT_PROTO(GtkUI__Privacy);
PURPLE_PERL_BOOT_PROTO(GtkUI__Roomlist);
PURPLE_PERL_BOOT_PROTO(GtkUI__Status);
#ifndef _WIN32
PURPLE_PERL_BOOT_PROTO(GtkUI__Session);
#endif
PURPLE_PERL_BOOT_PROTO(GtkUI__Sound);
PURPLE_PERL_BOOT_PROTO(GtkUI__StatusBox);
PURPLE_PERL_BOOT_PROTO(GtkUI__Themes);
PURPLE_PERL_BOOT_PROTO(GtkUI__Utils);
PURPLE_PERL_BOOT_PROTO(GtkUI__Xfer);

MODULE = Purple::GtkUI  PACKAGE = Purple::GtkUI  PREFIX = pidgin_
PROTOTYPES: ENABLE

BOOT:
	PURPLE_PERL_BOOT(GtkUI__Account);
	PURPLE_PERL_BOOT(GtkUI__BuddyList);
	PURPLE_PERL_BOOT(GtkUI__Connection);
	PURPLE_PERL_BOOT(GtkUI__Conversation);
	PURPLE_PERL_BOOT(GtkUI__Conversation__Window);
	PURPLE_PERL_BOOT(GtkUI__Debug);
	PURPLE_PERL_BOOT(GtkUI__Dialogs);
	PURPLE_PERL_BOOT(GtkUI__IMHtml);
	PURPLE_PERL_BOOT(GtkUI__IMHtmlToolbar);
	PURPLE_PERL_BOOT(GtkUI__Log);
	PURPLE_PERL_BOOT(GtkUI__MenuTray);
	PURPLE_PERL_BOOT(GtkUI__Plugin);
	PURPLE_PERL_BOOT(GtkUI__PluginPref);
	PURPLE_PERL_BOOT(GtkUI__Pounce);
	PURPLE_PERL_BOOT(GtkUI__Prefs);
	PURPLE_PERL_BOOT(GtkUI__Privacy);
	PURPLE_PERL_BOOT(GtkUI__Roomlist);
	PURPLE_PERL_BOOT(GtkUI__Status);
#ifndef _WIN32
	PURPLE_PERL_BOOT(GtkUI__Session);
#endif
	PURPLE_PERL_BOOT(GtkUI__Sound);
	PURPLE_PERL_BOOT(GtkUI__StatusBox);
	PURPLE_PERL_BOOT(GtkUI__Themes);
	PURPLE_PERL_BOOT(GtkUI__Utils);
	PURPLE_PERL_BOOT(GtkUI__Xfer);

mercurial