Tue, 29 Aug 2006 04:15:29 +0000
[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.
| 11118 | 1 | |
| 2 | ||
| 6508 | 3 | typedef struct group *Gaim__Group; |
| 4 | ||
| 5 | #define group perl_group | |
| 6 | ||
|
6816
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
7 | #include <glib.h> |
|
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
8 | #ifdef _WIN32 |
|
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
9 | #undef pipe |
|
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
10 | #endif |
| 6508 | 11 | #include <EXTERN.h> |
| 12 | #include <perl.h> | |
| 13 | #include <XSUB.h> | |
| 14 | ||
| 15 | #undef group | |
| 16 | ||
| 17 | #include "../perl-common.h" | |
| 18 | ||
| 19 | #include "account.h" | |
| 11118 | 20 | #include "accountopt.h" |
| 21 | #include "blist.h" | |
| 22 | #include "buddyicon.h" | |
| 23 | #include "cipher.h" | |
| 24 | #include "cmds.h" | |
| 6508 | 25 | #include "connection.h" |
|
6591
cc1ab32edcdc
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
26 | #include "conversation.h" |
| 6508 | 27 | #include "debug.h" |
| 11118 | 28 | #include "desktopitem.h" |
| 29 | #include "eventloop.h" | |
| 30 | #include "ft.h" | |
| 14434 | 31 | #ifdef GAIM_GTKPERL |
| 11118 | 32 | #include "gtkaccount.h" |
| 33 | #include "gtkblist.h" | |
| 34 | #include "gtkconn.h" | |
| 35 | #include "gtkconv.h" | |
| 36 | #include "gtkutils.h" | |
| 14434 | 37 | #endif |
| 11118 | 38 | #include "imgstore.h" |
| 39 | #include "network.h" | |
| 40 | #include "notify.h" | |
| 41 | #include "plugin.h" | |
| 42 | #include "pluginpref.h" | |
| 43 | #include "pounce.h" | |
| 44 | #include "prefs.h" | |
| 45 | #include "privacy.h" | |
| 46 | #include "prpl.h" | |
| 47 | #include "proxy.h" | |
| 48 | #include "request.h" | |
| 49 | #include "roomlist.h" | |
| 50 | #include "savedstatuses.h" | |
|
6523
20c459e452ac
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
51 | #include "server.h" |
| 11118 | 52 | #include "signals.h" |
| 53 | #include "sound.h" | |
| 54 | #include "sslconn.h" | |
| 55 | #include "status.h" | |
| 56 | #include "stringref.h" | |
|
11318
13fa1d5134f3
[gaim-migrate @ 13521]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11170
diff
changeset
|
57 | /* Ewww. perl has it's own util.h which is in the include path :( */ |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14329
diff
changeset
|
58 | #include "libgaim/util.h" |
| 11118 | 59 | #include "value.h" |
| 60 | #include "xmlnode.h" | |
| 61 | ||
| 12808 | 62 | /* account.h */ |
| 63 | typedef GaimAccount * Gaim__Account; | |
| 64 | typedef GaimAccountOption * Gaim__Account__Option; | |
| 65 | typedef GaimAccountUiOps * Gaim__Account__UiOps; | |
| 66 | typedef GaimAccountUserSplit * Gaim__Account__UserSplit; | |
| 11118 | 67 | |
| 12808 | 68 | /* blist.h */ |
| 69 | typedef GaimBlistNode * Gaim__BuddyList__Node; | |
| 12866 | 70 | typedef GaimBlistNodeFlags Gaim__BuddyList__NodeFlags; |
| 12808 | 71 | typedef GaimBlistUiOps * Gaim__BuddyList__UiOps; |
| 72 | typedef GaimBuddyList * Gaim__BuddyList; | |
| 73 | typedef GaimBuddy * Gaim__BuddyList__Buddy; | |
| 74 | typedef GaimChat * Gaim__BuddyList__Chat; | |
| 75 | typedef GaimContact * Gaim__BuddyList__Contact; | |
| 76 | typedef GaimGroup * Gaim__BuddyList__Group; | |
| 11118 | 77 | |
| 12808 | 78 | /* buddyicon.h */ |
| 79 | typedef GaimBuddyIcon * Gaim__Buddy__Icon; | |
| 11118 | 80 | |
| 12808 | 81 | /* cipher.h */ |
| 82 | typedef GaimCipher * Gaim__Cipher; | |
| 11118 | 83 | typedef GaimCipherCaps Gaim__CipherCaps; |
| 12808 | 84 | typedef GaimCipherContext * Gaim__Cipher__Context; |
| 11118 | 85 | typedef GaimCipherOps * Gaim__Cipher__Ops; |
| 86 | ||
| 12808 | 87 | /* cmds.h */ |
| 12882 | 88 | typedef GaimCmdFlag Gaim__Cmd__Flag; |
| 89 | typedef GaimCmdId Gaim__Cmd__Id; | |
| 90 | typedef GaimCmdPriority Gaim__Cmd__Priority; | |
| 91 | typedef GaimCmdRet Gaim__Cmd__Ret; | |
| 11118 | 92 | |
| 12808 | 93 | /* connection.h */ |
| 94 | typedef GaimConnection * Gaim__Connection; | |
| 11118 | 95 | typedef GaimConnectionFlags Gaim__ConnectionFlags; |
| 96 | typedef GaimConnectionState Gaim__ConnectionState; | |
| 12808 | 97 | typedef GaimConnectionUiOps * Gaim__Connection__UiOps; |
| 11118 | 98 | |
| 12808 | 99 | /* conversation.h */ |
| 100 | typedef GaimConversationType Gaim__ConversationType; | |
| 11118 | 101 | typedef GaimConvUpdateType Gaim__ConvUpdateType; |
| 102 | typedef GaimTypingState Gaim__TypingState; | |
| 12808 | 103 | typedef GaimMessageFlags Gaim__MessageFlags; |
| 104 | typedef GaimConvChatBuddyFlags Gaim__ConvChatBuddyFlags; | |
| 105 | typedef GaimConversation * Gaim__Conversation; | |
| 106 | typedef GaimConversationUiOps * Gaim__Conversation__UiOps; | |
| 107 | typedef GaimConvIm * Gaim__Conversation__IM; | |
| 108 | typedef GaimConvChat * Gaim__Conversation__Chat; | |
| 109 | typedef GaimConvChatBuddy * Gaim__Conversation__ChatBuddy; | |
| 11118 | 110 | |
| 12808 | 111 | /* debug.h */ |
| 112 | typedef GaimDebugLevel Gaim__DebugLevel; | |
| 11118 | 113 | |
| 12808 | 114 | /* desktopitem.h */ |
| 115 | typedef GaimDesktopItem * Gaim__DesktopItem; | |
| 116 | typedef GaimDesktopItemType Gaim__DesktopItemType; | |
| 11118 | 117 | |
| 12808 | 118 | /* eventloop.h */ |
| 119 | typedef GaimInputCondition * Gaim__InputCondition; | |
| 120 | typedef GaimEventLoopUiOps * Gaim__EventLoopUiOps; | |
| 11118 | 121 | |
| 12808 | 122 | /* ft.h */ |
| 123 | typedef GaimXfer * Gaim__Xfer; | |
| 124 | typedef GaimXferType Gaim__XferType; | |
| 125 | typedef GaimXferStatusType Gaim__XferStatusType; | |
| 126 | typedef GaimXferUiOps * Gaim__XferUiOps; | |
| 11118 | 127 | |
| 14434 | 128 | #ifdef GAIM_GTKPERL |
| 12808 | 129 | /* gtkblish.h */ |
| 11118 | 130 | typedef GaimGtkBuddyList * Gaim__GTK__BuddyList; |
| 12808 | 131 | typedef GaimStatusIconSize Gaim__StatusIconSize; |
| 11118 | 132 | |
| 12808 | 133 | /* gtkutils.h */ |
| 11118 | 134 | typedef GaimButtonOrientation Gaim__ButtonOrientation; |
| 135 | typedef GaimButtonStyle Gaim__ButtonStyle; | |
| 11139 | 136 | #ifndef _WIN32 |
| 11118 | 137 | typedef GaimBrowserPlace Gaim__BrowserPlace; |
| 11139 | 138 | #endif /* _WIN32 */ |
| 6508 | 139 | |
| 12808 | 140 | /* gtkconv.h */ |
| 14434 | 141 | typedef GaimUnseenState Gaim__UnseenState; |
| 12808 | 142 | typedef GaimGtkConversation * Gaim__GTK__Conversation; |
| 11118 | 143 | typedef GdkPixbuf * Gaim__GDK__Pixbuf; |
| 144 | typedef GtkWidget * Gaim__GTK__Widget; | |
| 145 | ||
| 12808 | 146 | /* gtkutils.h */ |
| 11118 | 147 | typedef GtkFileSelection * Gaim__GTK__FileSelection; |
| 12808 | 148 | typedef GtkSelectionData * Gaim__GTK__SelectionData; |
| 11118 | 149 | typedef GtkTextView * Gaim__GTK__TextView; |
| 150 | ||
| 12808 | 151 | /* gtkconn.h */ |
| 14434 | 152 | #endif |
| 11118 | 153 | |
| 12808 | 154 | /* imgstore.h */ |
| 155 | typedef GaimStoredImage * Gaim__StoredImage; | |
| 11118 | 156 | |
| 12808 | 157 | /* log.h */ |
| 158 | typedef GaimLog * Gaim__Log; | |
| 159 | typedef GaimLogCommonLoggerData * Gaim__LogCommonLoggerData; | |
| 160 | typedef GaimLogLogger * Gaim__Log__Logger; | |
| 161 | typedef GaimLogReadFlags * Gaim__Log__ReadFlags; | |
| 162 | typedef GaimLogSet * Gaim__LogSet; | |
| 163 | typedef GaimLogType Gaim__LogType; | |
| 11118 | 164 | |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12882
diff
changeset
|
165 | /* network.h */ |
| 14434 | 166 | typedef GaimNetworkListenData * Gaim__NetworkListenData; |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12882
diff
changeset
|
167 | typedef GaimNetworkListenCallback Gaim__NetworkListenCallback; |
|
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12882
diff
changeset
|
168 | |
| 12808 | 169 | /* notify.h */ |
|
12242
e7fc1748eb56
[gaim-migrate @ 14544]
Richard Laager <rlaager@pidgin.im>
parents:
12216
diff
changeset
|
170 | typedef GaimNotifyCloseCallback Gaim__NotifyCloseCallback; |
| 12808 | 171 | typedef GaimNotifyMsgType Gaim__NotifyMsgType; |
|
11533
f58436975d44
[gaim-migrate @ 13782]
Richard Laager <rlaager@pidgin.im>
parents:
11318
diff
changeset
|
172 | typedef GaimNotifySearchButtonType Gaim__NotifySearchButtonType; |
|
f58436975d44
[gaim-migrate @ 13782]
Richard Laager <rlaager@pidgin.im>
parents:
11318
diff
changeset
|
173 | typedef GaimNotifySearchResults * Gaim__NotifySearchResults; |
|
f58436975d44
[gaim-migrate @ 13782]
Richard Laager <rlaager@pidgin.im>
parents:
11318
diff
changeset
|
174 | typedef GaimNotifySearchColumn * Gaim__NotifySearchColumn; |
|
f58436975d44
[gaim-migrate @ 13782]
Richard Laager <rlaager@pidgin.im>
parents:
11318
diff
changeset
|
175 | typedef GaimNotifySearchButton * Gaim__NotifySearchButton; |
| 12808 | 176 | typedef GaimNotifyType Gaim__NotifyType; |
| 11118 | 177 | typedef GaimNotifyUiOps * Gaim__NotifyUiOps; |
| 178 | ||
| 12808 | 179 | /* plugin.h */ |
| 180 | typedef GaimPlugin * Gaim__Plugin; | |
| 181 | typedef GaimPluginAction * Gaim__Plugin__Action; | |
| 182 | typedef GaimPluginInfo * Gaim__PluginInfo; | |
| 183 | typedef GaimPluginLoaderInfo * Gaim__PluginLoaderInfo; | |
| 11118 | 184 | typedef GaimPluginType Gaim__PluginType; |
| 12808 | 185 | typedef GaimPluginUiInfo * Gaim__PluginUiInfo; |
| 11118 | 186 | |
| 12808 | 187 | /* pluginpref.h */ |
| 188 | typedef GaimPluginPref * Gaim__PluginPref; | |
| 189 | typedef GaimPluginPrefFrame * Gaim__PluginPref__Frame; | |
| 190 | typedef GaimPluginPrefType Gaim__PluginPrefType; | |
| 11118 | 191 | |
| 12808 | 192 | /* pounce.h */ |
| 193 | typedef GaimPounce * Gaim__Pounce; | |
| 194 | typedef GaimPounceEvent Gaim__PounceEvent; | |
| 11118 | 195 | |
| 12808 | 196 | /* prefs.h */ |
| 197 | typedef GaimPrefType Gaim__PrefType; | |
| 11118 | 198 | |
| 12808 | 199 | /* privacy.h */ |
| 200 | typedef GaimPrivacyType Gaim__PrivacyType; | |
| 201 | typedef GaimPrivacyUiOps * Gaim__Privacy__UiOps; | |
| 11118 | 202 | |
| 12808 | 203 | /* proxy.h */ |
| 204 | typedef GaimProxyInfo * Gaim__ProxyInfo; | |
| 205 | typedef GaimProxyType Gaim__ProxyType; | |
|
6588
187c6026c574
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
206 | |
| 12808 | 207 | /* prpl.h */ |
| 208 | typedef GaimBuddyIconSpec * Gaim__Buddy__Icon__Spec; | |
| 209 | typedef GaimIconScaleRules Gaim__IconScaleRules; | |
| 210 | typedef GaimPluginProtocolInfo * Gaim__PluginProtocolInfo; | |
| 211 | typedef GaimProtocolOptions Gaim__ProtocolOptions; | |
| 11118 | 212 | |
| 12808 | 213 | /* request.h */ |
| 214 | typedef GaimRequestField * Gaim__Request__Field; | |
| 11118 | 215 | typedef GaimRequestFields * Gaim__Request__Fields; |
| 216 | typedef GaimRequestFieldGroup * Gaim__Request__Field__Group; | |
| 12808 | 217 | typedef GaimRequestFieldType Gaim__RequestFieldType; |
| 218 | typedef GaimRequestType Gaim__RequestType; | |
| 11118 | 219 | typedef GaimRequestUiOps * Gaim__Request__UiOps; |
| 220 | ||
| 12808 | 221 | /* roomlist.h */ |
| 222 | typedef GaimRoomlist * Gaim__Roomlist; | |
| 223 | typedef GaimRoomlistField * Gaim__Roomlist__Field; | |
| 224 | typedef GaimRoomlistFieldType Gaim__RoomlistFieldType; | |
| 225 | typedef GaimRoomlistRoom * Gaim__Roomlist__Room; | |
| 226 | typedef GaimRoomlistRoomType Gaim__RoomlistRoomType; | |
| 227 | typedef GaimRoomlistUiOps * Gaim__Roomlist__UiOps; | |
| 11118 | 228 | |
| 12808 | 229 | /* savedstatuses.h */ |
| 230 | typedef GaimSavedStatus * Gaim__SavedStatus; | |
| 231 | typedef GaimSavedStatusSub * Gaim__SavedStatusSub; | |
| 11118 | 232 | |
| 12808 | 233 | /* sound.h */ |
| 234 | typedef GaimSoundEventID Gaim__SoundEventID; | |
| 235 | typedef GaimSoundUiOps * Gaim__Sound__UiOps; | |
| 11118 | 236 | |
| 12808 | 237 | /* sslconn.h */ |
| 238 | typedef GaimInputCondition * Gaim__Input__Condition; | |
| 239 | typedef GaimSslConnection * Gaim__Ssl__Connection; | |
| 240 | typedef GaimSslErrorType Gaim__SslErrorType; | |
| 11118 | 241 | typedef GaimSslOps * Gaim__Ssl__Ops; |
| 242 | ||
| 12808 | 243 | /* status.h */ |
| 244 | typedef GaimPresence * Gaim__Presence; | |
| 245 | typedef GaimPresenceContext Gaim__PresenceContext; | |
| 246 | typedef GaimStatus * Gaim__Status; | |
| 247 | typedef GaimStatusAttr * Gaim__StatusAttr; | |
| 248 | typedef GaimStatusPrimitive Gaim__StatusPrimitive; | |
| 249 | typedef GaimStatusType * Gaim__StatusType; | |
| 11118 | 250 | |
| 13018 | 251 | /* stringref.h */ |
| 11118 | 252 | typedef GaimStringref * Gaim__Stringref; |
| 253 | ||
| 12919 | 254 | /* util.h */ |
|
14426
8d4f164c4979
[gaim-migrate @ 17070]
Daniel Atallah <datallah@pidgin.im>
parents:
14417
diff
changeset
|
255 | typedef GaimInfoFieldFormatCallback Gaim__Util__InfoFieldFormatCallback; |
|
14417
5b0b76a8dee4
[gaim-migrate @ 17061]
Mark Doliner <markdoliner@pidgin.im>
parents:
14377
diff
changeset
|
256 | typedef GaimUtilFetchUrlData Gaim__Util__FetchUrlData; |
| 12919 | 257 | typedef GaimMenuAction * Gaim__Menu__Action; |
| 258 | ||
| 12808 | 259 | /* value.h */ |
| 11118 | 260 | typedef GaimValue * Gaim__Value; |
| 261 | ||
| 12808 | 262 | /* xmlnode.h */ |
| 263 | typedef xmlnode * Gaim__XMLNode; | |
| 264 | typedef XMLNodeType XMLNode__Type; | |
| 11118 | 265 | |
| 12808 | 266 | /* other.h */ |