Mercurial > pidgin
annotate 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 |
rev | line source |
---|---|
14192 | 1 |
2 | |
3 typedef struct group *Gaim__Group; | |
4 | |
5 #define group perl_group | |
6 | |
7 #include <glib.h> | |
8 #ifdef _WIN32 | |
9 #undef pipe | |
10 #endif | |
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" | |
20 #include "accountopt.h" | |
21 #include "blist.h" | |
22 #include "buddyicon.h" | |
23 #include "cipher.h" | |
24 #include "cmds.h" | |
25 #include "connection.h" | |
26 #include "conversation.h" | |
27 #include "debug.h" | |
28 #include "desktopitem.h" | |
29 #include "eventloop.h" | |
30 #include "ft.h" | |
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
31 #ifdef GAIM_GTKPERL |
14192 | 32 #include "gtkaccount.h" |
33 #include "gtkblist.h" | |
34 #include "gtkconn.h" | |
35 #include "gtkconv.h" | |
36 #include "gtkutils.h" | |
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
37 #endif |
14192 | 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" | |
51 #include "server.h" | |
52 #include "signals.h" | |
53 #include "sound.h" | |
54 #include "sslconn.h" | |
55 #include "status.h" | |
56 #include "stringref.h" | |
57 /* Ewww. perl has it's own util.h which is in the include path :( */ | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14267
diff
changeset
|
58 #include "libgaim/util.h" |
14192 | 59 #include "value.h" |
60 #include "xmlnode.h" | |
61 | |
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; | |
67 | |
68 /* blist.h */ | |
69 typedef GaimBlistNode * Gaim__BuddyList__Node; | |
70 typedef GaimBlistNodeFlags Gaim__BuddyList__NodeFlags; | |
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; | |
77 | |
78 /* buddyicon.h */ | |
79 typedef GaimBuddyIcon * Gaim__Buddy__Icon; | |
80 | |
81 /* cipher.h */ | |
82 typedef GaimCipher * Gaim__Cipher; | |
83 typedef GaimCipherCaps Gaim__CipherCaps; | |
84 typedef GaimCipherContext * Gaim__Cipher__Context; | |
85 typedef GaimCipherOps * Gaim__Cipher__Ops; | |
86 | |
87 /* cmds.h */ | |
88 typedef GaimCmdFlag Gaim__Cmd__Flag; | |
89 typedef GaimCmdId Gaim__Cmd__Id; | |
90 typedef GaimCmdPriority Gaim__Cmd__Priority; | |
91 typedef GaimCmdRet Gaim__Cmd__Ret; | |
92 | |
93 /* connection.h */ | |
94 typedef GaimConnection * Gaim__Connection; | |
95 typedef GaimConnectionFlags Gaim__ConnectionFlags; | |
96 typedef GaimConnectionState Gaim__ConnectionState; | |
97 typedef GaimConnectionUiOps * Gaim__Connection__UiOps; | |
98 | |
99 /* conversation.h */ | |
100 typedef GaimConversationType Gaim__ConversationType; | |
101 typedef GaimConvUpdateType Gaim__ConvUpdateType; | |
102 typedef GaimTypingState Gaim__TypingState; | |
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; | |
110 | |
111 /* debug.h */ | |
112 typedef GaimDebugLevel Gaim__DebugLevel; | |
113 | |
114 /* desktopitem.h */ | |
115 typedef GaimDesktopItem * Gaim__DesktopItem; | |
116 typedef GaimDesktopItemType Gaim__DesktopItemType; | |
117 | |
118 /* eventloop.h */ | |
119 typedef GaimInputCondition * Gaim__InputCondition; | |
120 typedef GaimEventLoopUiOps * Gaim__EventLoopUiOps; | |
121 | |
122 /* ft.h */ | |
123 typedef GaimXfer * Gaim__Xfer; | |
124 typedef GaimXferType Gaim__XferType; | |
125 typedef GaimXferStatusType Gaim__XferStatusType; | |
126 typedef GaimXferUiOps * Gaim__XferUiOps; | |
127 | |
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
128 #ifdef GAIM_GTKPERL |
14192 | 129 /* gtkblish.h */ |
130 typedef GaimGtkBuddyList * Gaim__GTK__BuddyList; | |
131 typedef GaimStatusIconSize Gaim__StatusIconSize; | |
132 | |
133 /* gtkutils.h */ | |
134 typedef GaimButtonOrientation Gaim__ButtonOrientation; | |
135 typedef GaimButtonStyle Gaim__ButtonStyle; | |
136 #ifndef _WIN32 | |
137 typedef GaimBrowserPlace Gaim__BrowserPlace; | |
138 #endif /* _WIN32 */ | |
139 | |
140 /* gtkconv.h */ | |
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
141 typedef GaimUnseenState Gaim__UnseenState; |
14192 | 142 typedef GaimGtkConversation * Gaim__GTK__Conversation; |
143 typedef GdkPixbuf * Gaim__GDK__Pixbuf; | |
144 typedef GtkWidget * Gaim__GTK__Widget; | |
145 | |
146 /* gtkutils.h */ | |
147 typedef GtkFileSelection * Gaim__GTK__FileSelection; | |
148 typedef GtkSelectionData * Gaim__GTK__SelectionData; | |
149 typedef GtkTextView * Gaim__GTK__TextView; | |
150 | |
151 /* gtkconn.h */ | |
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
152 #endif |
14192 | 153 |
154 /* imgstore.h */ | |
155 typedef GaimStoredImage * Gaim__StoredImage; | |
156 | |
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; | |
164 | |
165 /* network.h */ | |
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
166 typedef GaimNetworkListenData * Gaim__NetworkListenData; |
14192 | 167 typedef GaimNetworkListenCallback Gaim__NetworkListenCallback; |
168 | |
169 /* notify.h */ | |
170 typedef GaimNotifyCloseCallback Gaim__NotifyCloseCallback; | |
171 typedef GaimNotifyMsgType Gaim__NotifyMsgType; | |
172 typedef GaimNotifySearchButtonType Gaim__NotifySearchButtonType; | |
173 typedef GaimNotifySearchResults * Gaim__NotifySearchResults; | |
174 typedef GaimNotifySearchColumn * Gaim__NotifySearchColumn; | |
175 typedef GaimNotifySearchButton * Gaim__NotifySearchButton; | |
176 typedef GaimNotifyType Gaim__NotifyType; | |
177 typedef GaimNotifyUiOps * Gaim__NotifyUiOps; | |
178 | |
179 /* plugin.h */ | |
180 typedef GaimPlugin * Gaim__Plugin; | |
181 typedef GaimPluginAction * Gaim__Plugin__Action; | |
182 typedef GaimPluginInfo * Gaim__PluginInfo; | |
183 typedef GaimPluginLoaderInfo * Gaim__PluginLoaderInfo; | |
184 typedef GaimPluginType Gaim__PluginType; | |
185 typedef GaimPluginUiInfo * Gaim__PluginUiInfo; | |
186 | |
187 /* pluginpref.h */ | |
188 typedef GaimPluginPref * Gaim__PluginPref; | |
189 typedef GaimPluginPrefFrame * Gaim__PluginPref__Frame; | |
190 typedef GaimPluginPrefType Gaim__PluginPrefType; | |
191 | |
192 /* pounce.h */ | |
193 typedef GaimPounce * Gaim__Pounce; | |
194 typedef GaimPounceEvent Gaim__PounceEvent; | |
195 | |
196 /* prefs.h */ | |
197 typedef GaimPrefType Gaim__PrefType; | |
198 | |
199 /* privacy.h */ | |
200 typedef GaimPrivacyType Gaim__PrivacyType; | |
201 typedef GaimPrivacyUiOps * Gaim__Privacy__UiOps; | |
202 | |
203 /* proxy.h */ | |
204 typedef GaimProxyInfo * Gaim__ProxyInfo; | |
205 typedef GaimProxyType Gaim__ProxyType; | |
206 | |
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; | |
212 | |
213 /* request.h */ | |
214 typedef GaimRequestField * Gaim__Request__Field; | |
215 typedef GaimRequestFields * Gaim__Request__Fields; | |
216 typedef GaimRequestFieldGroup * Gaim__Request__Field__Group; | |
217 typedef GaimRequestFieldType Gaim__RequestFieldType; | |
218 typedef GaimRequestType Gaim__RequestType; | |
219 typedef GaimRequestUiOps * Gaim__Request__UiOps; | |
220 | |
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; | |
228 | |
229 /* savedstatuses.h */ | |
230 typedef GaimSavedStatus * Gaim__SavedStatus; | |
231 typedef GaimSavedStatusSub * Gaim__SavedStatusSub; | |
232 | |
233 /* sound.h */ | |
234 typedef GaimSoundEventID Gaim__SoundEventID; | |
235 typedef GaimSoundUiOps * Gaim__Sound__UiOps; | |
236 | |
237 /* sslconn.h */ | |
238 typedef GaimInputCondition * Gaim__Input__Condition; | |
239 typedef GaimSslConnection * Gaim__Ssl__Connection; | |
240 typedef GaimSslErrorType Gaim__SslErrorType; | |
241 typedef GaimSslOps * Gaim__Ssl__Ops; | |
242 | |
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; | |
250 | |
251 /* stringref.h */ | |
252 typedef GaimStringref * Gaim__Stringref; | |
253 | |
254 /* util.h */ | |
14364
338ac096e322
[gaim-migrate @ 17070]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14355
diff
changeset
|
255 typedef GaimInfoFieldFormatCallback Gaim__Util__InfoFieldFormatCallback; |
14355 | 256 typedef GaimUtilFetchUrlData Gaim__Util__FetchUrlData; |
14192 | 257 typedef GaimMenuAction * Gaim__Menu__Action; |
258 | |
259 /* value.h */ | |
260 typedef GaimValue * Gaim__Value; | |
261 | |
262 /* xmlnode.h */ | |
263 typedef xmlnode * Gaim__XMLNode; | |
264 typedef XMLNodeType XMLNode__Type; | |
265 | |
266 /* other.h */ |