view gtk/plugins/perl/common/gtkmodule.h @ 14416:eeca8be382a5

[gaim-migrate @ 17124] This is a Gaim::Gtk perl module for use by gaim plugins to get access to the gtkgaim interface functions. It isn't complete because anything dealing with Gtk widgets themselves doesn't work yet (I need to figure out the best way to do that). To use this a perl plugin just needs to include 'use Gaim::Gtk;' either on top of 'use Gaim;' or instead of it. I'm not done with this yet. At the moment you have to 'use Gaim;' or 'use Gaim::Gtk;' which loads all the parts, I'm planning to let you actually say 'use Gaim::Gtk::Debug;' to just get the gtkdebug.h functions. Though 'use Gaim' would work the same way as always. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Sat, 02 Sep 2006 05:31:10 +0000
parents
children d6eae5115b31
line wrap: on
line source

typedef struct group *Gaim__Gtk__Group;

#define group perl_group

#include <glib.h>
#include <gtk/gtk.h>
#ifdef _WIN32
#undef pipe
#endif
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>

#undef group

#include <plugins/perl/common/module.h>

#include "gtkaccount.h"
#include "gtkblist.h"
#include "gtkconn.h"
#include "gtkconv.h"
#include "gtkconvwin.h"
#include "gtkdebug.h"
#include "gtkdialogs.h"
#include "gtkft.h"
#include "gtkimhtml.h"
#include "gtkimhtmltoolbar.h"
#include "gtklog.h"
#include "gtkmenutray.h"
#include "gtkplugin.h"
#include "gtkpluginpref.h"
#include "gtkpounce.h"
#include "gtkprefs.h"
#include "gtkprivacy.h"
#include "gtkroomlist.h"
#include "gtksavedstatuses.h"
#include "gtksession.h"
#include "gtksound.h"
#include "gtkstatusbox.h"
#include "gtkthemes.h"
#include "gtkutils.h"

/* gtkaccount.h */
typedef GaimGtkAccountDialogType			Gaim__Gtk__Account__Dialog__Type;

/* gtkblist.h */
typedef GaimGtkBuddyList *				Gaim__Gtk__BuddyList;
typedef gaim_gtk_blist_sort_function			Gaim__Gtk__BuddyList__SortFunction;

/* gtkconv.h */
typedef GaimGtkConversation *				Gaim__Gtk__Conversation;
typedef GaimUnseenState					Gaim__UnseenState;

/* gtkconvwin.h */
typedef GaimGtkWindow *					Gaim__Gtk__Conversation__Window;
typedef GaimConvPlacementFunc				Gaim__Conversation__PlacementFunc;

/* gtkft.h */
typedef GaimGtkXferDialog *				Gaim__Gtk__Xfer__Dialog;

/* gtkimhtml.h */
typedef GtkIMHtml *					Gaim__Gtk__IMHtml;
typedef GtkIMHtmlButtons					Gaim__Gtk__IMHtml__Buttons;
typedef GtkIMHtmlFuncs *					Gaim__Gtk__IMHtml__Funcs;
typedef GtkIMHtmlScalable *					Gaim__Gtk__IMHtml__Scalable;
typedef GtkIMHtmlSmiley *					Gaim__Gtk__IMHtml__Smiley;
typedef GtkIMHtmlOptions					Gaim__Gtk__IMHtml__Options;

/* gtkimhtmltoolbar.h */
typedef GtkIMHtmlToolbar *					Gaim__Gtk__IMHtmlToolbar;

/* gtkmenutray.h */
typedef GaimGtkMenuTray *					Gaim__Gtk__MenuTray;

/* gtkroomlist.h */
typedef GaimGtkRoomlistDialog *					Gaim__Gtk__Roomlist__Dialog;

/* gtkstatusbox.h */
typedef GtkGaimStatusBox *						Gaim__Gtk__StatusBox;