Mercurial > pidgin
comparison libpurple/plugins/perl/common/module.h @ 15373:5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 20 Jan 2007 02:32:10 +0000 |
parents | |
children | 9a4305efd23e |
comparison
equal
deleted
inserted
replaced
15372:f79e0f4df793 | 15373:5fe8042783c1 |
---|---|
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 "core.h" | |
28 #include "debug.h" | |
29 #include "desktopitem.h" | |
30 #include "eventloop.h" | |
31 #include "ft.h" | |
32 #ifdef GAIM_GTKPERL | |
33 #include "gtkaccount.h" | |
34 #include "gtkblist.h" | |
35 #include "gtkconn.h" | |
36 #include "gtkconv.h" | |
37 #include "gtkutils.h" | |
38 #endif | |
39 #include "imgstore.h" | |
40 #include "network.h" | |
41 #include "notify.h" | |
42 #include "plugin.h" | |
43 #include "pluginpref.h" | |
44 #include "pounce.h" | |
45 #include "prefs.h" | |
46 #include "privacy.h" | |
47 #include "prpl.h" | |
48 #include "proxy.h" | |
49 #include "request.h" | |
50 #include "roomlist.h" | |
51 #include "savedstatuses.h" | |
52 #include "server.h" | |
53 #include "signals.h" | |
54 #include "sound.h" | |
55 #include "sslconn.h" | |
56 #include "status.h" | |
57 #include "stringref.h" | |
58 /* Ewww. perl has it's own util.h which is in the include path :( */ | |
59 #include "libgaim/util.h" | |
60 #include "value.h" | |
61 #include "xmlnode.h" | |
62 | |
63 /* account.h */ | |
64 typedef GaimAccount * Gaim__Account; | |
65 typedef GaimAccountOption * Gaim__Account__Option; | |
66 typedef GaimAccountUiOps * Gaim__Account__UiOps; | |
67 typedef GaimAccountUserSplit * Gaim__Account__UserSplit; | |
68 | |
69 /* blist.h */ | |
70 typedef GaimBlistNode * Gaim__BuddyList__Node; | |
71 typedef GaimBlistNodeFlags Gaim__BuddyList__NodeFlags; | |
72 typedef GaimBlistUiOps * Gaim__BuddyList__UiOps; | |
73 typedef GaimBuddyList * Gaim__BuddyList; | |
74 typedef GaimBuddy * Gaim__BuddyList__Buddy; | |
75 typedef GaimChat * Gaim__BuddyList__Chat; | |
76 typedef GaimContact * Gaim__BuddyList__Contact; | |
77 typedef GaimGroup * Gaim__BuddyList__Group; | |
78 | |
79 /* buddyicon.h */ | |
80 typedef GaimBuddyIcon * Gaim__Buddy__Icon; | |
81 | |
82 /* cipher.h */ | |
83 typedef GaimCipher * Gaim__Cipher; | |
84 typedef GaimCipherCaps Gaim__CipherCaps; | |
85 typedef GaimCipherContext * Gaim__Cipher__Context; | |
86 typedef GaimCipherOps * Gaim__Cipher__Ops; | |
87 | |
88 /* cmds.h */ | |
89 typedef GaimCmdFlag Gaim__Cmd__Flag; | |
90 typedef GaimCmdId Gaim__Cmd__Id; | |
91 typedef GaimCmdPriority Gaim__Cmd__Priority; | |
92 typedef GaimCmdRet Gaim__Cmd__Ret; | |
93 | |
94 /* connection.h */ | |
95 typedef GaimConnection * Gaim__Connection; | |
96 typedef GaimConnectionFlags Gaim__ConnectionFlags; | |
97 typedef GaimConnectionState Gaim__ConnectionState; | |
98 typedef GaimConnectionUiOps * Gaim__Connection__UiOps; | |
99 | |
100 /* conversation.h */ | |
101 typedef GaimConversationType Gaim__ConversationType; | |
102 typedef GaimConvUpdateType Gaim__ConvUpdateType; | |
103 typedef GaimTypingState Gaim__TypingState; | |
104 typedef GaimMessageFlags Gaim__MessageFlags; | |
105 typedef GaimConvChatBuddyFlags Gaim__ConvChatBuddyFlags; | |
106 typedef GaimConversation * Gaim__Conversation; | |
107 typedef GaimConversationUiOps * Gaim__Conversation__UiOps; | |
108 typedef GaimConvIm * Gaim__Conversation__IM; | |
109 typedef GaimConvChat * Gaim__Conversation__Chat; | |
110 typedef GaimConvChatBuddy * Gaim__Conversation__ChatBuddy; | |
111 | |
112 /* core.h */ | |
113 | |
114 typedef GaimCore * Gaim__Core; | |
115 typedef GaimCoreUiOps * Gaim__Core__UiOps; | |
116 | |
117 /* debug.h */ | |
118 typedef GaimDebugLevel Gaim__DebugLevel; | |
119 | |
120 /* desktopitem.h */ | |
121 typedef GaimDesktopItem * Gaim__DesktopItem; | |
122 typedef GaimDesktopItemType Gaim__DesktopItemType; | |
123 | |
124 /* eventloop.h */ | |
125 typedef GaimInputCondition * Gaim__InputCondition; | |
126 typedef GaimEventLoopUiOps * Gaim__EventLoopUiOps; | |
127 | |
128 /* ft.h */ | |
129 typedef GaimXfer * Gaim__Xfer; | |
130 typedef GaimXferType Gaim__XferType; | |
131 typedef GaimXferStatusType Gaim__XferStatusType; | |
132 typedef GaimXferUiOps * Gaim__XferUiOps; | |
133 | |
134 #ifdef GAIM_GTKPERL | |
135 /* gtkblish.h */ | |
136 typedef GaimGtkBuddyList * Gaim__GTK__BuddyList; | |
137 typedef GaimStatusIconSize Gaim__StatusIconSize; | |
138 | |
139 /* gtkutils.h */ | |
140 typedef GaimButtonOrientation Gaim__ButtonOrientation; | |
141 typedef GaimButtonStyle Gaim__ButtonStyle; | |
142 #ifndef _WIN32 | |
143 typedef GaimBrowserPlace Gaim__BrowserPlace; | |
144 #endif /* _WIN32 */ | |
145 | |
146 /* gtkconv.h */ | |
147 typedef GaimUnseenState Gaim__UnseenState; | |
148 typedef GaimGtkConversation * Gaim__GTK__Conversation; | |
149 typedef GdkPixbuf * Gaim__GDK__Pixbuf; | |
150 typedef GtkWidget * Gaim__GTK__Widget; | |
151 | |
152 /* gtkutils.h */ | |
153 typedef GtkFileSelection * Gaim__GTK__FileSelection; | |
154 typedef GtkSelectionData * Gaim__GTK__SelectionData; | |
155 typedef GtkTextView * Gaim__GTK__TextView; | |
156 | |
157 /* gtkconn.h */ | |
158 #endif | |
159 | |
160 /* imgstore.h */ | |
161 typedef GaimStoredImage * Gaim__StoredImage; | |
162 | |
163 /* log.h */ | |
164 typedef GaimLog * Gaim__Log; | |
165 typedef GaimLogCommonLoggerData * Gaim__LogCommonLoggerData; | |
166 typedef GaimLogLogger * Gaim__Log__Logger; | |
167 typedef GaimLogReadFlags * Gaim__Log__ReadFlags; | |
168 typedef GaimLogSet * Gaim__LogSet; | |
169 typedef GaimLogType Gaim__LogType; | |
170 | |
171 /* network.h */ | |
172 typedef GaimNetworkListenData * Gaim__NetworkListenData; | |
173 typedef GaimNetworkListenCallback Gaim__NetworkListenCallback; | |
174 | |
175 /* notify.h */ | |
176 typedef GaimNotifyCloseCallback Gaim__NotifyCloseCallback; | |
177 typedef GaimNotifyMsgType Gaim__NotifyMsgType; | |
178 typedef GaimNotifySearchButtonType Gaim__NotifySearchButtonType; | |
179 typedef GaimNotifySearchResults * Gaim__NotifySearchResults; | |
180 typedef GaimNotifySearchColumn * Gaim__NotifySearchColumn; | |
181 typedef GaimNotifySearchButton * Gaim__NotifySearchButton; | |
182 typedef GaimNotifyType Gaim__NotifyType; | |
183 typedef GaimNotifyUiOps * Gaim__NotifyUiOps; | |
184 typedef GaimNotifyUserInfo * Gaim__NotifyUserInfo; | |
185 typedef GaimNotifyUserInfoEntry * Gaim__NotifyUserInfoEntry; | |
186 | |
187 /* plugin.h */ | |
188 typedef GaimPlugin * Gaim__Plugin; | |
189 typedef GaimPluginAction * Gaim__Plugin__Action; | |
190 typedef GaimPluginInfo * Gaim__PluginInfo; | |
191 typedef GaimPluginLoaderInfo * Gaim__PluginLoaderInfo; | |
192 typedef GaimPluginType Gaim__PluginType; | |
193 typedef GaimPluginUiInfo * Gaim__PluginUiInfo; | |
194 | |
195 /* pluginpref.h */ | |
196 typedef GaimPluginPref * Gaim__PluginPref; | |
197 typedef GaimPluginPrefFrame * Gaim__PluginPref__Frame; | |
198 typedef GaimPluginPrefType Gaim__PluginPrefType; | |
199 | |
200 /* pounce.h */ | |
201 typedef GaimPounce * Gaim__Pounce; | |
202 typedef GaimPounceEvent Gaim__PounceEvent; | |
203 | |
204 /* prefs.h */ | |
205 typedef GaimPrefType Gaim__PrefType; | |
206 | |
207 /* privacy.h */ | |
208 typedef GaimPrivacyType Gaim__PrivacyType; | |
209 typedef GaimPrivacyUiOps * Gaim__Privacy__UiOps; | |
210 | |
211 /* proxy.h */ | |
212 typedef GaimProxyInfo * Gaim__ProxyInfo; | |
213 typedef GaimProxyType Gaim__ProxyType; | |
214 | |
215 /* prpl.h */ | |
216 typedef GaimBuddyIconSpec * Gaim__Buddy__Icon__Spec; | |
217 typedef GaimIconScaleRules Gaim__IconScaleRules; | |
218 typedef GaimPluginProtocolInfo * Gaim__PluginProtocolInfo; | |
219 typedef GaimProtocolOptions Gaim__ProtocolOptions; | |
220 | |
221 /* request.h */ | |
222 typedef GaimRequestField * Gaim__Request__Field; | |
223 typedef GaimRequestFields * Gaim__Request__Fields; | |
224 typedef GaimRequestFieldGroup * Gaim__Request__Field__Group; | |
225 typedef GaimRequestFieldType Gaim__RequestFieldType; | |
226 typedef GaimRequestType Gaim__RequestType; | |
227 typedef GaimRequestUiOps * Gaim__Request__UiOps; | |
228 | |
229 /* roomlist.h */ | |
230 typedef GaimRoomlist * Gaim__Roomlist; | |
231 typedef GaimRoomlistField * Gaim__Roomlist__Field; | |
232 typedef GaimRoomlistFieldType Gaim__RoomlistFieldType; | |
233 typedef GaimRoomlistRoom * Gaim__Roomlist__Room; | |
234 typedef GaimRoomlistRoomType Gaim__RoomlistRoomType; | |
235 typedef GaimRoomlistUiOps * Gaim__Roomlist__UiOps; | |
236 | |
237 /* savedstatuses.h */ | |
238 typedef GaimSavedStatus * Gaim__SavedStatus; | |
239 typedef GaimSavedStatusSub * Gaim__SavedStatusSub; | |
240 | |
241 /* sound.h */ | |
242 typedef GaimSoundEventID Gaim__SoundEventID; | |
243 typedef GaimSoundUiOps * Gaim__Sound__UiOps; | |
244 | |
245 /* sslconn.h */ | |
246 typedef GaimInputCondition * Gaim__Input__Condition; | |
247 typedef GaimSslConnection * Gaim__Ssl__Connection; | |
248 typedef GaimSslErrorType Gaim__SslErrorType; | |
249 typedef GaimSslOps * Gaim__Ssl__Ops; | |
250 | |
251 /* status.h */ | |
252 typedef GaimPresence * Gaim__Presence; | |
253 typedef GaimPresenceContext Gaim__PresenceContext; | |
254 typedef GaimStatus * Gaim__Status; | |
255 typedef GaimStatusAttr * Gaim__StatusAttr; | |
256 typedef GaimStatusPrimitive Gaim__StatusPrimitive; | |
257 typedef GaimStatusType * Gaim__StatusType; | |
258 | |
259 /* stringref.h */ | |
260 typedef GaimStringref * Gaim__Stringref; | |
261 | |
262 /* util.h */ | |
263 typedef GaimInfoFieldFormatCallback Gaim__Util__InfoFieldFormatCallback; | |
264 typedef GaimUtilFetchUrlData Gaim__Util__FetchUrlData; | |
265 typedef GaimMenuAction * Gaim__Menu__Action; | |
266 | |
267 /* value.h */ | |
268 typedef GaimValue * Gaim__Value; | |
269 | |
270 /* xmlnode.h */ | |
271 typedef xmlnode * Gaim__XMLNode; | |
272 typedef XMLNodeType XMLNode__Type; | |
273 | |
274 /* other */ | |
275 typedef void * Gaim__Handle; | |
276 | |
277 typedef gchar gchar_own; | |
278 |