diff libgaim/plugins/perl/common/module.h @ 14372:d5c22258df09

[gaim-migrate @ 17078] Reenable the perl build on non-Windows. I'm looking at making a gtk perl plugin to use the gtk stuff, we'll see if I succeed. I'm leaving the gtk stuff in here but ifdef:d out for now. I'll clean it up if I get the gtk perl plugin working. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 29 Aug 2006 04:15:29 +0000
parents 338ac096e322
children b1fcd2fc903a
line wrap: on
line diff
--- a/libgaim/plugins/perl/common/module.h	Tue Aug 29 03:47:34 2006 +0000
+++ b/libgaim/plugins/perl/common/module.h	Tue Aug 29 04:15:29 2006 +0000
@@ -28,11 +28,13 @@
 #include "desktopitem.h"
 #include "eventloop.h"
 #include "ft.h"
+#ifdef GAIM_GTKPERL
 #include "gtkaccount.h"
 #include "gtkblist.h"
 #include "gtkconn.h"
 #include "gtkconv.h"
 #include "gtkutils.h"
+#endif
 #include "imgstore.h"
 #include "network.h"
 #include "notify.h"
@@ -96,7 +98,6 @@
 
 /* conversation.h */
 typedef GaimConversationType		Gaim__ConversationType;
-typedef GaimUnseenState			Gaim__UnseenState;
 typedef GaimConvUpdateType		Gaim__ConvUpdateType;
 typedef GaimTypingState			Gaim__TypingState;
 typedef GaimMessageFlags		Gaim__MessageFlags;
@@ -124,6 +125,7 @@
 typedef GaimXferStatusType		Gaim__XferStatusType;
 typedef GaimXferUiOps *			Gaim__XferUiOps;
 
+#ifdef GAIM_GTKPERL
 /* gtkblish.h */
 typedef GaimGtkBuddyList *		Gaim__GTK__BuddyList;
 typedef GaimStatusIconSize		Gaim__StatusIconSize;
@@ -136,6 +138,7 @@
 #endif /* _WIN32 */
 
 /* gtkconv.h */
+typedef GaimUnseenState			Gaim__UnseenState;
 typedef GaimGtkConversation *		Gaim__GTK__Conversation;
 typedef GdkPixbuf *			Gaim__GDK__Pixbuf;
 typedef GtkWidget *			Gaim__GTK__Widget;
@@ -146,6 +149,7 @@
 typedef GtkTextView *			Gaim__GTK__TextView;
 
 /* gtkconn.h */
+#endif
 
 /* imgstore.h */
 typedef GaimStoredImage *		Gaim__StoredImage;
@@ -159,7 +163,7 @@
 typedef GaimLogType			Gaim__LogType;
 
 /* network.h */
-typedef GaimNetworkListenData		Gaim__NetworkListenData;
+typedef GaimNetworkListenData *		Gaim__NetworkListenData;
 typedef GaimNetworkListenCallback	Gaim__NetworkListenCallback;
 
 /* notify.h */