Sun, 30 Oct 2005 23:00:47 +0000
[gaim-migrate @ 14198]
sf patch #1342817, from Evan Schoenberg
"As discussed in #gaim, this patch removes idle.c and replaces it
with gtkidle.c and gtkidle.h. The attached diff removes the idle
management from its various hiding places in connection.c, server.c,
and gaim.h. The plugins Changelog.API is appropriately updated.
The new gtkidle files are attached; idle.c should be removed from
CVS."
committer: Mark Doliner <markdoliner@pidgin.im>
| 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" | |
| 31 | #include "gtkaccount.h" | |
| 32 | #include "gtkblist.h" | |
| 33 | #include "gtkconn.h" | |
| 34 | #include "gtkconv.h" | |
| 35 | #include "gtkutils.h" | |
| 36 | #include "imgstore.h" | |
| 37 | #include "network.h" | |
| 38 | #include "notify.h" | |
| 39 | #include "plugin.h" | |
| 40 | #include "pluginpref.h" | |
| 41 | #include "pounce.h" | |
| 42 | #include "prefs.h" | |
| 43 | #include "privacy.h" | |
| 44 | #include "prpl.h" | |
| 45 | #include "proxy.h" | |
| 46 | #include "request.h" | |
| 47 | #include "roomlist.h" | |
| 48 | #include "savedstatuses.h" | |
|
6523
20c459e452ac
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
49 | #include "server.h" |
| 11118 | 50 | #include "signals.h" |
| 51 | #include "sound.h" | |
| 52 | #include "sslconn.h" | |
| 53 | #include "status.h" | |
| 54 | #include "stringref.h" | |
|
11318
13fa1d5134f3
[gaim-migrate @ 13521]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11170
diff
changeset
|
55 | /* Ewww. perl has it's own util.h which is in the include path :( */ |
|
13fa1d5134f3
[gaim-migrate @ 13521]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11170
diff
changeset
|
56 | #include "src/util.h" |
| 11118 | 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; | |
| 11581 | 102 | //typedef GaimConvWindowUiOps * Gaim__ConvWindow__UiOps; |
| 103 | //typedef GaimConvWindow * Gaim__ConvWindow; | |
| 11118 | 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 | 135 | #ifndef _WIN32 |
| 11118 | 136 | typedef GaimBrowserPlace Gaim__BrowserPlace; |
| 11139 | 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; | |
|
11533
f58436975d44
[gaim-migrate @ 13782]
Richard Laager <rlaager@pidgin.im>
parents:
11318
diff
changeset
|
164 | typedef GaimNotifyMsgType Gaim__NotifyMsgType; |
|
f58436975d44
[gaim-migrate @ 13782]
Richard Laager <rlaager@pidgin.im>
parents:
11318
diff
changeset
|
165 | typedef GaimNotifySearchButtonType Gaim__NotifySearchButtonType; |
|
f58436975d44
[gaim-migrate @ 13782]
Richard Laager <rlaager@pidgin.im>
parents:
11318
diff
changeset
|
166 | typedef GaimNotifySearchResults * Gaim__NotifySearchResults; |
|
f58436975d44
[gaim-migrate @ 13782]
Richard Laager <rlaager@pidgin.im>
parents:
11318
diff
changeset
|
167 | typedef GaimNotifySearchColumn * Gaim__NotifySearchColumn; |
|
f58436975d44
[gaim-migrate @ 13782]
Richard Laager <rlaager@pidgin.im>
parents:
11318
diff
changeset
|
168 | typedef GaimNotifySearchButton * Gaim__NotifySearchButton; |
| 11118 | 169 | typedef GaimNotifyUiOps * Gaim__NotifyUiOps; |
| 170 | ||
| 171 | /* plugin.h */ | |
| 172 | typedef GaimPlugin * Gaim__Plugin; | |
| 173 | typedef GaimPluginType Gaim__PluginType; | |
| 174 | typedef GaimPluginInfo * Gaim__PluginInfo; | |
| 175 | typedef GaimPluginUiInfo * Gaim__PluginUiInfo; | |
| 176 | typedef GaimPluginLoaderInfo * Gaim__PluginLoaderInfo; | |
| 11170 | 177 | typedef GaimPluginAction * Gaim__Plugin__Action; |
| 11118 | 178 | |
| 179 | /* pluginpref.h */ | |
| 180 | typedef GaimPluginPrefFrame * Gaim__PluginPrefFrame; | |
| 181 | typedef GaimPluginPref * Gaim__PluginPref; | |
| 182 | typedef GaimPluginPrefType Gaim__PluginPrefType; | |
| 183 | ||
| 184 | /* pounce.h */ | |
| 185 | typedef GaimPounce * Gaim__Pounce; | |
| 186 | typedef GaimPounceEvent Gaim__PounceEvent; | |
| 187 | ||
| 188 | ||
| 189 | /* prefs.h */ | |
| 190 | typedef GaimPrefType Gaim__PrefType; | |
| 191 | ||
| 192 | /* privacy.h */ | |
| 193 | typedef GaimPrivacyType Gaim__PrivacyType; | |
| 194 | typedef GaimPrivacyUiOps * Gaim__Privacy__UiOps; | |
| 195 | ||
| 196 | /* proxy.h */ | |
| 197 | typedef GaimProxyType Gaim__ProxyType; | |
| 198 | typedef GaimProxyInfo * Gaim__ProxyInfo; | |
| 199 | ||
|
6588
187c6026c574
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
200 | |
| 11118 | 201 | /* prpl.h */ |
| 202 | typedef GaimBuddyIconSpec * Gaim__Buddy__Icon__Spec; | |
| 203 | typedef GaimPluginProtocolInfo * Gaim__PluginProtocolInfo; | |
| 204 | typedef GaimConvImFlags Gaim__ConvImFlags; | |
| 205 | typedef GaimConvChatFlags Gaim__ConvChatFlags; | |
| 206 | typedef GaimIconScaleRules Gaim__IconScaleRules; | |
| 207 | typedef GaimProtocolOptions Gaim__ProtocolOptions; | |
| 208 | ||
| 209 | /* request.h */ | |
| 210 | typedef GaimRequestType Gaim__RequestType; | |
| 211 | typedef GaimRequestFieldType Gaim__RequestFieldType; | |
| 212 | typedef GaimRequestFields * Gaim__Request__Fields; | |
| 213 | typedef GaimRequestFieldGroup * Gaim__Request__Field__Group; | |
| 214 | typedef GaimRequestField * Gaim__Request__Field; | |
| 215 | typedef GaimRequestUiOps * Gaim__Request__UiOps; | |
| 216 | ||
| 217 | /* roomlist.h */ | |
| 218 | ||
| 219 | typedef GaimRoomlist * Gaim__Roomlist; | |
| 220 | typedef GaimRoomlistRoom * Gaim__Roomlist__Room; | |
| 221 | typedef GaimRoomlistField * Gaim__Roomlist__Field; | |
| 222 | typedef GaimRoomlistUiOps * Gaim__Roomlist__UiOps; | |
| 223 | typedef GaimRoomlistRoomType Gaim__RoomlistRoomType; | |
| 224 | typedef GaimRoomlistFieldType Gaim__RoomlistFieldType; | |
| 225 | ||
| 226 | /* savedstatuses.h */ | |
| 227 | typedef GaimSavedStatus * Gaim__SavedStatus; | |
| 228 | typedef GaimSavedStatusSub * Gaim__SavedStatusSub; | |
| 229 | ||
| 230 | /* sound.h */ | |
| 231 | typedef GaimSoundEventID Gaim__SoundEventID; | |
| 232 | typedef GaimSoundUiOps * Gaim__Sound__UiOps; | |
| 233 | ||
| 234 | /* sslconn.h */ | |
| 235 | typedef GaimSslConnection * Gaim__Ssl__Connection; | |
| 236 | typedef GaimInputCondition * Gaim__Input__Condition; | |
| 237 | typedef GaimSslErrorType Gaim__SslErrorType; | |
| 238 | typedef GaimSslOps * Gaim__Ssl__Ops; | |
| 239 | ||
| 240 | /* status.h */ | |
| 241 | typedef GaimStatusType * Gaim__StatusType; | |
| 242 | typedef GaimStatusAttr * Gaim__StatusAttr; | |
| 243 | typedef GaimPresence * Gaim__Presence; | |
| 244 | typedef GaimStatus * Gaim__Status; | |
| 245 | typedef GaimPresenceContext Gaim__PresenceContext; | |
| 246 | typedef GaimStatusPrimitive Gaim__StatusPrimitive; | |
| 247 | ||
| 248 | typedef GaimStringref * Gaim__Stringref; | |
| 249 | ||
| 250 | /* value.h */ | |
| 251 | typedef GaimValue * Gaim__Value; | |
| 252 | ||
| 253 | /* xmlnode.h */ | |
| 254 | typedef XMLNodeType XMLNode__Type; | |
| 255 | ||
| 256 | ||
| 257 | /* other.h */ | |
| 258 |