Mercurial > pidgin.yaz
annotate plugins/perl/common/module.h @ 11139:2b6009535e30
[gaim-migrate @ 13203]
Patch #1242220, from nekokun
"Attached is a patch for getting the CVS
pliugins/perl/common to compile in Win32. The makefile
was just missing some escape characters and a few
include directories, and module.h was referencing
GaimBrowserPlace without #ifndef _WIN32."
I haven't tested this. I have no idea if it works. Can someone on Windows let me know? It's my understanding that Perl doesn't compile on Windows anyway, so this can't really make it worse.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 21 Jul 2005 16:19:22 +0000 |
parents | 3f3bc7f1b6bf |
children | 7d2dae6e585f |
rev | line source |
---|---|
11118 | 1 |
2 | |
6508 | 3 typedef struct group *Gaim__Group; |
4 | |
5 #define group perl_group | |
6 | |
6816
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6699
diff
changeset
|
7 #include <glib.h> |
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6699
diff
changeset
|
8 #ifdef _WIN32 |
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6699
diff
changeset
|
9 #undef pipe |
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6699
diff
changeset
|
10 #endif |
6508 | 11 #include <EXTERN.h> |
12 #include <perl.h> | |
13 #include <XSUB.h> | |
11118 | 14 #include <embedvar.h> |
6508 | 15 |
16 #undef group | |
17 | |
18 #include "../perl-common.h" | |
19 | |
20 #include "account.h" | |
11118 | 21 #include "accountopt.h" |
22 #include "blist.h" | |
23 #include "buddyicon.h" | |
24 #include "cipher.h" | |
25 #include "cmds.h" | |
6508 | 26 #include "connection.h" |
6591
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
27 #include "conversation.h" |
6508 | 28 #include "debug.h" |
11118 | 29 #include "desktopitem.h" |
30 #include "eventloop.h" | |
31 #include "ft.h" | |
32 #include "gtkaccount.h" | |
33 #include "gtkblist.h" | |
34 #include "gtkconn.h" | |
35 #include "gtkconv.h" | |
36 #include "gtkutils.h" | |
37 #include "imgstore.h" | |
38 #include "network.h" | |
39 #include "notify.h" | |
40 #include "plugin.h" | |
41 #include "pluginpref.h" | |
42 #include "pounce.h" | |
43 #include "prefs.h" | |
44 #include "privacy.h" | |
45 #include "prpl.h" | |
46 #include "proxy.h" | |
47 #include "request.h" | |
48 #include "roomlist.h" | |
49 #include "savedstatuses.h" | |
6523
d7e04709be96
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
50 #include "server.h" |
11118 | 51 #include "signals.h" |
52 #include "sound.h" | |
53 #include "sslconn.h" | |
54 #include "status.h" | |
55 #include "stringref.h" | |
56 #include "util.h" | |
57 #include "value.h" | |
58 #include "xmlnode.h" | |
59 | |
60 /* account.h */ | |
61 typedef GaimAccount * Gaim__Account; | |
62 typedef GaimAccountOption * Gaim__Account__Option; | |
63 typedef GaimAccountUiOps * Gaim__Account__UiOps; | |
64 typedef GaimAccountUserSplit * Gaim__Account__UserSplit; | |
65 | |
66 /* blist.h */ | |
67 typedef GaimBlistNode * Gaim__BuddyList__Node; | |
68 typedef GaimBlistNodeAction * Gaim__BuddyList__Node__Action; | |
69 typedef GaimBlistUiOps * Gaim__BuddyList__UiOps; | |
70 typedef GaimBlistNodeFlags Gaim__BlistNodeFlags; | |
71 typedef GaimBuddyList * Gaim__BuddyList; | |
72 typedef GaimBuddy * Gaim__BuddyList__Buddy; | |
73 typedef GaimChat * Gaim__BuddyList__Chat; | |
74 typedef GaimContact * Gaim__BuddyList__Contact; | |
75 typedef GaimGroup * Gaim__BuddyList__Group; | |
76 | |
77 /* buddyicon.h */ | |
78 typedef GaimBuddyIcon * Gaim__Buddy__Icon; | |
79 | |
80 /* cipher.h */ | |
81 typedef GaimCipherCaps Gaim__CipherCaps; | |
82 typedef GaimCipher * Gaim__Cipher; | |
83 typedef GaimCipherOps * Gaim__Cipher__Ops; | |
84 typedef GaimCipherContext * Gaim__Cipher__Context; | |
85 | |
86 /* cmds.h */ | |
11130 | 87 typedef GaimCmdId Gaim__CmdId; |
11118 | 88 |
89 /* connection.h */ | |
90 typedef GaimConnectionFlags Gaim__ConnectionFlags; | |
91 typedef GaimConnectionState Gaim__ConnectionState; | |
92 typedef GaimConnection * Gaim__Connection; | |
93 typedef GaimConnectionUiOps * Gaim__Connection__UiOps; | |
94 | |
95 /* converstaion.h */ | |
96 typedef GaimConversationType Gaim__ConversationType; | |
97 typedef GaimUnseenState Gaim__UnseenState; | |
98 typedef GaimConvUpdateType Gaim__ConvUpdateType; | |
99 typedef GaimTypingState Gaim__TypingState; | |
100 typedef GaimMessageFlags Gaim__MessageFlags; | |
101 typedef GaimConvChatBuddyFlags Gaim__ConvChatBuddyFlags; | |
102 typedef GaimConvWindowUiOps * Gaim__ConvWindow__UiOps; | |
103 typedef GaimConvWindow * Gaim__ConvWindow; | |
104 typedef GaimConversationUiOps * Gaim__Conversation__UiOps; | |
105 typedef GaimConversation * Gaim__Conversation; | |
106 typedef GaimConvIm * Gaim__Conversation__IM; | |
107 typedef GaimConvChat * Gaim__Conversation__Chat; | |
108 typedef GaimConvChatBuddy * Gaim__Conversation__ChatBuddy; | |
109 | |
110 /* debug.h */ | |
111 typedef GaimDebugLevel Gaim__DebugLevel; | |
112 | |
113 /* desktopitem.h */ | |
114 typedef GaimDesktopItem * Gaim__DesktopItem; | |
115 typedef GaimDesktopItemType Gaim__DesktopItemType; | |
116 | |
117 /* eventloop.h */ | |
118 typedef GaimInputCondition * Gaim__InputCondition; | |
119 typedef GaimEventLoopUiOps * Gaim__EventLoopUiOps; | |
120 | |
121 /* ft.h */ | |
122 typedef GaimXfer * Gaim__Xfer; | |
123 typedef GaimXferType Gaim__XferType; | |
124 typedef GaimXferStatusType Gaim__XferStatusType; | |
125 typedef GaimXferUiOps * Gaim__XferUiOps; | |
126 | |
127 /* gtkblish.h */ | |
128 typedef GaimGtkBuddyList * Gaim__GTK__BuddyList; | |
129 typedef GaimStatusIconSize Gaim__StatusIconSize; | |
130 | |
131 | |
132 /* gtkutils.h */ | |
133 typedef GaimButtonOrientation Gaim__ButtonOrientation; | |
134 typedef GaimButtonStyle Gaim__ButtonStyle; | |
11139
2b6009535e30
[gaim-migrate @ 13203]
Richard Laager <rlaager@wiktel.com>
parents:
11130
diff
changeset
|
135 #ifndef _WIN32 |
11118 | 136 typedef GaimBrowserPlace Gaim__BrowserPlace; |
11139
2b6009535e30
[gaim-migrate @ 13203]
Richard Laager <rlaager@wiktel.com>
parents:
11130
diff
changeset
|
137 #endif /* _WIN32 */ |
6508 | 138 |
11118 | 139 /* gtkconv.h */ |
140 typedef GdkPixbuf * Gaim__GDK__Pixbuf; | |
141 typedef GtkWidget * Gaim__GTK__Widget; | |
142 typedef GaimGtkConversation * Gaim__GTK__Conversation; | |
143 | |
144 /* gtkutils.h */ | |
145 typedef GtkSelectionData * Gaim__GTK__SelectionData; | |
146 typedef GtkFileSelection * Gaim__GTK__FileSelection; | |
147 typedef GtkTextView * Gaim__GTK__TextView; | |
148 | |
149 /* gtkconn.h */ | |
150 | |
151 /* imgstore.h */ | |
152 typedef GaimStoredImage * Gaim__StoredImage; | |
153 | |
154 /* log.h */ | |
155 typedef GaimLog * Gaim__Log; | |
156 typedef GaimLogLogger * Gaim__Log__Logger; | |
157 typedef GaimLogCommonLoggerData * Gaim__LogCommonLoggerData; | |
158 typedef GaimLogSet * Gaim__LogSet; | |
159 typedef GaimLogType Gaim__LogType; | |
160 typedef GaimLogReadFlags * Gaim__Log__ReadFlags; | |
161 | |
162 /* notify.h */ | |
163 typedef GaimNotifyType Gaim__NotifyType; | |
164 typedef GaimNotifyMsgType Gaim__NotifyMsgType; | |
165 typedef GaimNotifyUiOps * Gaim__NotifyUiOps; | |
166 | |
167 /* plugin.h */ | |
168 typedef GaimPlugin * Gaim__Plugin; | |
169 typedef GaimPluginType Gaim__PluginType; | |
170 typedef GaimPluginInfo * Gaim__PluginInfo; | |
171 typedef GaimPluginUiInfo * Gaim__PluginUiInfo; | |
172 typedef GaimPluginLoaderInfo * Gaim__PluginLoaderInfo; | |
173 typedef GaimPluginAction * Gaim__PluginAction; | |
174 | |
175 /* pluginpref.h */ | |
176 typedef GaimPluginPrefFrame * Gaim__PluginPrefFrame; | |
177 typedef GaimPluginPref * Gaim__PluginPref; | |
178 typedef GaimPluginPrefType Gaim__PluginPrefType; | |
179 | |
180 /* pounce.h */ | |
181 typedef GaimPounce * Gaim__Pounce; | |
182 typedef GaimPounceEvent Gaim__PounceEvent; | |
183 | |
184 | |
185 /* prefs.h */ | |
186 typedef GaimPrefType Gaim__PrefType; | |
187 | |
188 /* privacy.h */ | |
189 typedef GaimPrivacyType Gaim__PrivacyType; | |
190 typedef GaimPrivacyUiOps * Gaim__Privacy__UiOps; | |
191 | |
192 /* proxy.h */ | |
193 typedef GaimProxyType Gaim__ProxyType; | |
194 typedef GaimProxyInfo * Gaim__ProxyInfo; | |
195 | |
6588
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
196 |
11118 | 197 /* prpl.h */ |
198 typedef GaimBuddyIconSpec * Gaim__Buddy__Icon__Spec; | |
199 typedef GaimPluginProtocolInfo * Gaim__PluginProtocolInfo; | |
200 typedef GaimConvImFlags Gaim__ConvImFlags; | |
201 typedef GaimConvChatFlags Gaim__ConvChatFlags; | |
202 typedef GaimIconScaleRules Gaim__IconScaleRules; | |
203 typedef GaimProtocolOptions Gaim__ProtocolOptions; | |
204 | |
205 /* request.h */ | |
206 typedef GaimRequestType Gaim__RequestType; | |
207 typedef GaimRequestFieldType Gaim__RequestFieldType; | |
208 typedef GaimRequestFields * Gaim__Request__Fields; | |
209 typedef GaimRequestFieldGroup * Gaim__Request__Field__Group; | |
210 typedef GaimRequestField * Gaim__Request__Field; | |
211 typedef GaimRequestUiOps * Gaim__Request__UiOps; | |
212 | |
213 /* roomlist.h */ | |
214 | |
215 typedef GaimRoomlist * Gaim__Roomlist; | |
216 typedef GaimRoomlistRoom * Gaim__Roomlist__Room; | |
217 typedef GaimRoomlistField * Gaim__Roomlist__Field; | |
218 typedef GaimRoomlistUiOps * Gaim__Roomlist__UiOps; | |
219 typedef GaimRoomlistRoomType Gaim__RoomlistRoomType; | |
220 typedef GaimRoomlistFieldType Gaim__RoomlistFieldType; | |
221 | |
222 /* savedstatuses.h */ | |
223 typedef GaimSavedStatus * Gaim__SavedStatus; | |
224 typedef GaimSavedStatusSub * Gaim__SavedStatusSub; | |
225 | |
226 /* sound.h */ | |
227 typedef GaimSoundEventID Gaim__SoundEventID; | |
228 typedef GaimSoundUiOps * Gaim__Sound__UiOps; | |
229 | |
230 /* sslconn.h */ | |
231 typedef GaimSslConnection * Gaim__Ssl__Connection; | |
232 typedef GaimInputCondition * Gaim__Input__Condition; | |
233 typedef GaimSslErrorType Gaim__SslErrorType; | |
234 typedef GaimSslOps * Gaim__Ssl__Ops; | |
235 | |
236 /* status.h */ | |
237 typedef GaimStatusType * Gaim__StatusType; | |
238 typedef GaimStatusAttr * Gaim__StatusAttr; | |
239 typedef GaimPresence * Gaim__Presence; | |
240 typedef GaimStatus * Gaim__Status; | |
241 typedef GaimPresenceContext Gaim__PresenceContext; | |
242 typedef GaimStatusPrimitive Gaim__StatusPrimitive; | |
243 | |
244 typedef GaimStringref * Gaim__Stringref; | |
245 | |
246 /* value.h */ | |
247 typedef GaimValue * Gaim__Value; | |
248 | |
249 /* xmlnode.h */ | |
250 typedef XMLNodeType XMLNode__Type; | |
251 | |
252 | |
253 /* other.h */ | |
254 |