]> git.0d.be Git - empathy.git/blob - python/pyempathy/pyempathy.defs
Updated Russian translation
[empathy.git] / python / pyempathy / pyempathy.defs
1 ;; -*- scheme -*-
2 ; object definitions ...
3 (define-object Account
4   (in-module "Empathy")
5   (parent "GObject")
6   (c-name "EmpathyAccount")
7   (gtype-id "EMPATHY_TYPE_ACCOUNT")
8 )
9
10 (define-object AccountManager
11   (in-module "Empathy")
12   (parent "GObject")
13   (c-name "EmpathyAccountManager")
14   (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
15 )
16
17 (define-object AccountSettings
18   (in-module "Empathy")
19   (parent "GObject")
20   (c-name "EmpathyAccountSettings")
21   (gtype-id "EMPATHY_TYPE_ACCOUNT_SETTINGS")
22 )
23
24 (define-object CallFactory
25   (in-module "Empathy")
26   (parent "GObject")
27   (c-name "EmpathyCallFactory")
28   (gtype-id "EMPATHY_TYPE_CALL_FACTORY")
29 )
30
31 (define-object CallHandler
32   (in-module "Empathy")
33   (parent "GObject")
34   (c-name "EmpathyCallHandler")
35   (gtype-id "EMPATHY_TYPE_CALL_HANDLER")
36 )
37
38 (define-object Chatroom
39   (in-module "Empathy")
40   (parent "GObject")
41   (c-name "EmpathyChatroom")
42   (gtype-id "EMPATHY_TYPE_CHATROOM")
43 )
44
45 (define-object ChatroomManager
46   (in-module "Empathy")
47   (parent "GObject")
48   (c-name "EmpathyChatroomManager")
49   (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
50 )
51
52 (define-object ConnectionManagers
53   (in-module "Empathy")
54   (parent "GObject")
55   (c-name "EmpathyConnectionManagers")
56   (gtype-id "EMPATHY_TYPE_CONNECTION_MANAGERS")
57 )
58
59 (define-object Connectivity
60   (in-module "Empathy")
61   (parent "GObject")
62   (c-name "EmpathyConnectivity")
63   (gtype-id "EMPATHY_TYPE_CONNECTIVITY")
64 )
65
66 (define-object Contact
67   (in-module "Empathy")
68   (parent "GObject")
69   (c-name "EmpathyContact")
70   (gtype-id "EMPATHY_TYPE_CONTACT")
71 )
72
73 (define-interface ContactList
74   (in-module "Empathy")
75   (c-name "EmpathyContactList")
76   (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
77 )
78
79 (define-object ContactManager
80   (in-module "Empathy")
81   (parent "GObject")
82   (implements "EmpathyContactList")
83   (c-name "EmpathyContactManager")
84   (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
85 )
86
87 (define-object ContactMonitor
88   (in-module "Empathy")
89   (parent "GObject")
90   (c-name "EmpathyContactMonitor")
91   (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
92 )
93
94 (define-object Debugger
95   (in-module "Empathy")
96   (parent "GObject")
97   (c-name "EmpathyDebugger")
98   (gtype-id "EMPATHY_TYPE_DEBUGGER")
99 )
100
101 (define-object DispatchOperation
102   (in-module "Empathy")
103   (parent "GObject")
104   (c-name "EmpathyDispatchOperation")
105   (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
106 )
107
108 (define-object Dispatcher
109   (in-module "Empathy")
110   (parent "GObject")
111   (c-name "EmpathyDispatcher")
112   (gtype-id "EMPATHY_TYPE_DISPATCHER")
113 )
114
115 (define-object FTFactory
116   (in-module "Empathy")
117   (parent "GObject")
118   (c-name "EmpathyFTFactory")
119   (gtype-id "EMPATHY_TYPE_FT_FACTORY")
120 )
121
122 (define-object FTHandler
123   (in-module "Empathy")
124   (parent "GObject")
125   (c-name "EmpathyFTHandler")
126   (gtype-id "EMPATHY_TYPE_FT_HANDLER")
127 )
128
129 (define-object Idle
130   (in-module "Empathy")
131   (parent "GObject")
132   (c-name "EmpathyIdle")
133   (gtype-id "EMPATHY_TYPE_IDLE")
134 )
135
136 (define-object IrcNetwork
137   (in-module "Empathy")
138   (parent "GObject")
139   (c-name "EmpathyIrcNetwork")
140   (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
141 )
142
143 (define-object IrcNetworkManager
144   (in-module "Empathy")
145   (parent "GObject")
146   (c-name "EmpathyIrcNetworkManager")
147   (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
148 )
149
150 (define-object IrcServer
151   (in-module "Empathy")
152   (parent "GObject")
153   (c-name "EmpathyIrcServer")
154   (gtype-id "EMPATHY_TYPE_IRC_SERVER")
155 )
156
157 (define-object LogManager
158   (in-module "Empathy")
159   (parent "GObject")
160   (c-name "EmpathyLogManager")
161   (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
162 )
163
164 (define-object LogStoreEmpathy
165   (in-module "Empathy")
166   (parent "GObject")
167   (c-name "EmpathyLogStoreEmpathy")
168   (gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
169 )
170
171 (define-object Message
172   (in-module "Empathy")
173   (parent "GObject")
174   (c-name "EmpathyMessage")
175   (gtype-id "EMPATHY_TYPE_MESSAGE")
176 )
177
178 (define-object TpCall
179   (in-module "Empathy")
180   (parent "GObject")
181   (c-name "EmpathyTpCall")
182   (gtype-id "EMPATHY_TYPE_TP_CALL")
183 )
184
185 (define-object TpChat
186   (in-module "Empathy")
187   (parent "GObject")
188   (c-name "EmpathyTpChat")
189   (gtype-id "EMPATHY_TYPE_TP_CHAT")
190 )
191
192 (define-object TpContactFactory
193   (in-module "Empathy")
194   (parent "GObject")
195   (c-name "EmpathyTpContactFactory")
196   (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
197 )
198
199 (define-object TpContactList
200   (in-module "Empathy")
201   (parent "GObject")
202   (implements "EmpathyContactList")
203   (c-name "EmpathyTpContactList")
204   (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
205 )
206
207 (define-object TpFile
208   (in-module "Empathy")
209   (parent "GObject")
210   (c-name "EmpathyTpFile")
211   (gtype-id "EMPATHY_TYPE_TP_FILE")
212 )
213
214 (define-object TpRoomlist
215   (in-module "Empathy")
216   (parent "GObject")
217   (c-name "EmpathyTpRoomlist")
218   (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
219 )
220
221 (define-object TubeHandler
222   (in-module "Empathy")
223   (parent "GObject")
224   (c-name "EmpathyTubeHandler")
225   (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
226 )
227
228 ;; Enumerations and flags ...
229
230 (define-flags Capabilities
231   (in-module "Empathy")
232   (c-name "EmpathyCapabilities")
233   (gtype-id "EMPATHY_TYPE_CAPABILITIES")
234   (values
235     '("none" "EMPATHY_CAPABILITIES_NONE")
236     '("audio" "EMPATHY_CAPABILITIES_AUDIO")
237     '("video" "EMPATHY_CAPABILITIES_VIDEO")
238     '("ft" "EMPATHY_CAPABILITIES_FT")
239     '("stream-tube" "EMPATHY_CAPABILITIES_STREAM_TUBE")
240     '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
241   )
242 )
243
244 (define-flags ContactListFlags
245   (in-module "Empathy")
246   (c-name "EmpathyContactListFlags")
247   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FLAGS")
248   (values
249     '("add" "EMPATHY_CONTACT_LIST_CAN_ADD")
250     '("remove" "EMPATHY_CONTACT_LIST_CAN_REMOVE")
251     '("alias" "EMPATHY_CONTACT_LIST_CAN_ALIAS")
252     '("group" "EMPATHY_CONTACT_LIST_CAN_GROUP")
253   )
254 )
255
256 (define-flags DebugFlags
257   (in-module "Empathy")
258   (c-name "EmpathyDebugFlags")
259   (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
260   (values
261     '("tp" "EMPATHY_DEBUG_TP")
262     '("chat" "EMPATHY_DEBUG_CHAT")
263     '("contact" "EMPATHY_DEBUG_CONTACT")
264     '("account" "EMPATHY_DEBUG_ACCOUNT")
265     '("irc" "EMPATHY_DEBUG_IRC")
266     '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
267     '("ft" "EMPATHY_DEBUG_FT")
268     '("location" "EMPATHY_DEBUG_LOCATION")
269     '("other" "EMPATHY_DEBUG_OTHER")
270     '("share-desktop" "EMPATHY_DEBUG_SHARE_DESKTOP")
271     '("connectivity" "EMPATHY_DEBUG_CONNECTIVITY")
272     '("import-mc4-accounts" "EMPATHY_DEBUG_IMPORT_MC4_ACCOUNTS")
273   )
274 )
275
276 (define-enum DispatchOperationState
277   (in-module "Empathy")
278   (c-name "EmpathyDispatchOperationState")
279   (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
280   (values
281     '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
282     '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
283     '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
284     '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
285     '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
286     '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
287   )
288 )
289
290 (define-enum TpCallStatus
291   (in-module "Empathy")
292   (c-name "EmpathyTpCallStatus")
293   (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
294   (values
295     '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
296     '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
297     '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
298     '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
299   )
300 )
301
302 (define-enum FTErrorEnum
303   (in-module "Empathy")
304   (c-name "EmpathyFTErrorEnum")
305   (gtype-id "EMPATHY_TYPE_FT_ERROR_ENUM")
306   (values
307     '("failed" "EMPATHY_FT_ERROR_FAILED")
308     '("hash-mismatch" "EMPATHY_FT_ERROR_HASH_MISMATCH")
309     '("tp-error" "EMPATHY_FT_ERROR_TP_ERROR")
310     '("socket" "EMPATHY_FT_ERROR_SOCKET")
311     '("not-supported" "EMPATHY_FT_ERROR_NOT_SUPPORTED")
312     '("invalid-source-file" "EMPATHY_FT_ERROR_INVALID_SOURCE_FILE")
313     '("empty-source-file" "EMPATHY_FT_ERROR_EMPTY_SOURCE_FILE")
314   )
315 )
316
317
318 ;; From empathy-account-settings.h
319
320 (define-function account_settings_get_type
321   (c-name "empathy_account_settings_get_type")
322   (return-type "GType")
323 )
324
325 (define-function account_settings_new
326   (c-name "empathy_account_settings_new")
327   (is-constructor-of "EmpathyAccountSettings")
328   (return-type "EmpathyAccountSettings*")
329   (parameters
330     '("const-gchar*" "connection_manager")
331     '("const-gchar*" "protocol")
332     '("const-char*" "display_name")
333   )
334 )
335
336 (define-method settings_new_for_account
337   (of-object "EmpathyAccount")
338   (c-name "empathy_account_settings_new_for_account")
339   (return-type "EmpathyAccountSettings*")
340 )
341
342 (define-method is_ready
343   (of-object "EmpathyAccountSettings")
344   (c-name "empathy_account_settings_is_ready")
345   (return-type "gboolean")
346 )
347
348 (define-method get_cm
349   (of-object "EmpathyAccountSettings")
350   (c-name "empathy_account_settings_get_cm")
351   (return-type "const-gchar*")
352 )
353
354 (define-method get_protocol
355   (of-object "EmpathyAccountSettings")
356   (c-name "empathy_account_settings_get_protocol")
357   (return-type "const-gchar*")
358 )
359
360 (define-method get_account
361   (of-object "EmpathyAccountSettings")
362   (c-name "empathy_account_settings_get_account")
363   (return-type "EmpathyAccount*")
364 )
365
366 (define-method has_account
367   (of-object "EmpathyAccountSettings")
368   (c-name "empathy_account_settings_has_account")
369   (return-type "gboolean")
370   (parameters
371     '("EmpathyAccount*" "account")
372   )
373 )
374
375 (define-method get_tp_params
376   (of-object "EmpathyAccountSettings")
377   (c-name "empathy_account_settings_get_tp_params")
378   (return-type "TpConnectionManagerParam*")
379 )
380
381 (define-method unset
382   (of-object "EmpathyAccountSettings")
383   (c-name "empathy_account_settings_unset")
384   (return-type "none")
385   (parameters
386     '("const-gchar*" "param")
387   )
388 )
389
390 (define-method discard_changes
391   (of-object "EmpathyAccountSettings")
392   (c-name "empathy_account_settings_discard_changes")
393   (return-type "none")
394 )
395
396 (define-method get
397   (of-object "EmpathyAccountSettings")
398   (c-name "empathy_account_settings_get")
399   (return-type "const-GValue*")
400   (parameters
401     '("const-gchar*" "param")
402   )
403 )
404
405 (define-method get_dbus_signature
406   (of-object "EmpathyAccountSettings")
407   (c-name "empathy_account_settings_get_dbus_signature")
408   (return-type "const-gchar*")
409   (parameters
410     '("const-gchar*" "param")
411   )
412 )
413
414 (define-method get_default
415   (of-object "EmpathyAccountSettings")
416   (c-name "empathy_account_settings_get_default")
417   (return-type "const-GValue*")
418   (parameters
419     '("const-gchar*" "param")
420   )
421 )
422
423 (define-method get_string
424   (of-object "EmpathyAccountSettings")
425   (c-name "empathy_account_settings_get_string")
426   (return-type "const-gchar*")
427   (parameters
428     '("const-gchar*" "param")
429   )
430 )
431
432 (define-method get_int32
433   (of-object "EmpathyAccountSettings")
434   (c-name "empathy_account_settings_get_int32")
435   (return-type "gint32")
436   (parameters
437     '("const-gchar*" "param")
438   )
439 )
440
441 (define-method get_int64
442   (of-object "EmpathyAccountSettings")
443   (c-name "empathy_account_settings_get_int64")
444   (return-type "gint64")
445   (parameters
446     '("const-gchar*" "param")
447   )
448 )
449
450 (define-method get_uint32
451   (of-object "EmpathyAccountSettings")
452   (c-name "empathy_account_settings_get_uint32")
453   (return-type "guint32")
454   (parameters
455     '("const-gchar*" "param")
456   )
457 )
458
459 (define-method get_uint64
460   (of-object "EmpathyAccountSettings")
461   (c-name "empathy_account_settings_get_uint64")
462   (return-type "guint64")
463   (parameters
464     '("const-gchar*" "param")
465   )
466 )
467
468 (define-method get_boolean
469   (of-object "EmpathyAccountSettings")
470   (c-name "empathy_account_settings_get_boolean")
471   (return-type "gboolean")
472   (parameters
473     '("const-gchar*" "param")
474   )
475 )
476
477 (define-method set_string
478   (of-object "EmpathyAccountSettings")
479   (c-name "empathy_account_settings_set_string")
480   (return-type "none")
481   (parameters
482     '("const-gchar*" "param")
483     '("const-gchar*" "value")
484   )
485 )
486
487 (define-method set_int32
488   (of-object "EmpathyAccountSettings")
489   (c-name "empathy_account_settings_set_int32")
490   (return-type "none")
491   (parameters
492     '("const-gchar*" "param")
493     '("gint32" "value")
494   )
495 )
496
497 (define-method set_int64
498   (of-object "EmpathyAccountSettings")
499   (c-name "empathy_account_settings_set_int64")
500   (return-type "none")
501   (parameters
502     '("const-gchar*" "param")
503     '("gint64" "value")
504   )
505 )
506
507 (define-method set_uint32
508   (of-object "EmpathyAccountSettings")
509   (c-name "empathy_account_settings_set_uint32")
510   (return-type "none")
511   (parameters
512     '("const-gchar*" "param")
513     '("guint32" "value")
514   )
515 )
516
517 (define-method set_uint64
518   (of-object "EmpathyAccountSettings")
519   (c-name "empathy_account_settings_set_uint64")
520   (return-type "none")
521   (parameters
522     '("const-gchar*" "param")
523     '("guint64" "value")
524   )
525 )
526
527 (define-method set_boolean
528   (of-object "EmpathyAccountSettings")
529   (c-name "empathy_account_settings_set_boolean")
530   (return-type "none")
531   (parameters
532     '("const-gchar*" "param")
533     '("gboolean" "value")
534   )
535 )
536
537 (define-method get_icon_name
538   (of-object "EmpathyAccountSettings")
539   (c-name "empathy_account_settings_get_icon_name")
540   (return-type "gchar*")
541 )
542
543 (define-method set_icon_name_async
544   (of-object "EmpathyAccountSettings")
545   (c-name "empathy_account_settings_set_icon_name_async")
546   (return-type "none")
547   (parameters
548     '("const-gchar*" "name")
549     '("GAsyncReadyCallback" "callback")
550     '("gpointer" "user_data")
551   )
552 )
553
554 (define-method set_icon_name_finish
555   (of-object "EmpathyAccountSettings")
556   (c-name "empathy_account_settings_set_icon_name_finish")
557   (return-type "gboolean")
558   (parameters
559     '("GAsyncResult*" "result")
560     '("GError**" "error")
561   )
562 )
563
564 (define-method get_display_name
565   (of-object "EmpathyAccountSettings")
566   (c-name "empathy_account_settings_get_display_name")
567   (return-type "const-gchar*")
568 )
569
570 (define-method set_display_name_async
571   (of-object "EmpathyAccountSettings")
572   (c-name "empathy_account_settings_set_display_name_async")
573   (return-type "none")
574   (parameters
575     '("const-gchar*" "name")
576     '("GAsyncReadyCallback" "callback")
577     '("gpointer" "user_data")
578   )
579 )
580
581 (define-method set_display_name_finish
582   (of-object "EmpathyAccountSettings")
583   (c-name "empathy_account_settings_set_display_name_finish")
584   (return-type "gboolean")
585   (parameters
586     '("GAsyncResult*" "result")
587     '("GError**" "error")
588   )
589 )
590
591 (define-method apply_async
592   (of-object "EmpathyAccountSettings")
593   (c-name "empathy_account_settings_apply_async")
594   (return-type "none")
595   (parameters
596     '("GAsyncReadyCallback" "callback")
597     '("gpointer" "user_data")
598   )
599 )
600
601 (define-method apply_finish
602   (of-object "EmpathyAccountSettings")
603   (c-name "empathy_account_settings_apply_finish")
604   (return-type "gboolean")
605   (parameters
606     '("GAsyncResult*" "result")
607     '("GError**" "error")
608   )
609 )
610
611 (define-method is_valid
612   (of-object "EmpathyAccountSettings")
613   (c-name "empathy_account_settings_is_valid")
614   (return-type "gboolean")
615 )
616
617
618
619 ;; From empathy-account.h
620
621 (define-function account_get_type
622   (c-name "empathy_account_get_type")
623   (return-type "GType")
624 )
625
626 (define-method is_just_connected
627   (of-object "EmpathyAccount")
628   (c-name "empathy_account_is_just_connected")
629   (return-type "gboolean")
630 )
631
632 (define-method get_connection
633   (of-object "EmpathyAccount")
634   (c-name "empathy_account_get_connection")
635   (return-type "TpConnection*")
636 )
637
638 (define-method get_connection_for_path
639   (of-object "EmpathyAccount")
640   (c-name "empathy_account_get_connection_for_path")
641   (return-type "TpConnection*")
642   (parameters
643     '("const-gchar*" "path")
644   )
645 )
646
647 (define-method get_unique_name
648   (of-object "EmpathyAccount")
649   (c-name "empathy_account_get_unique_name")
650   (return-type "const-gchar*")
651 )
652
653 (define-method get_display_name
654   (of-object "EmpathyAccount")
655   (c-name "empathy_account_get_display_name")
656   (return-type "const-gchar*")
657 )
658
659 (define-method get_connection_manager
660   (of-object "EmpathyAccount")
661   (c-name "empathy_account_get_connection_manager")
662   (return-type "const-gchar*")
663 )
664
665 (define-method get_protocol
666   (of-object "EmpathyAccount")
667   (c-name "empathy_account_get_protocol")
668   (return-type "const-gchar*")
669 )
670
671 (define-method get_icon_name
672   (of-object "EmpathyAccount")
673   (c-name "empathy_account_get_icon_name")
674   (return-type "const-gchar*")
675 )
676
677 (define-method set_enabled_async
678   (of-object "EmpathyAccount")
679   (c-name "empathy_account_set_enabled_async")
680   (return-type "none")
681   (parameters
682     '("gboolean" "enabled")
683     '("GAsyncReadyCallback" "callback")
684     '("gpointer" "user_data")
685   )
686 )
687
688 (define-method set_enabled_finish
689   (of-object "EmpathyAccount")
690   (c-name "empathy_account_set_enabled_finish")
691   (return-type "gboolean")
692   (parameters
693     '("GAsyncResult*" "result")
694     '("GError**" "error")
695   )
696 )
697
698 (define-method reconnect_async
699   (of-object "EmpathyAccount")
700   (c-name "empathy_account_reconnect_async")
701   (return-type "none")
702   (parameters
703     '("GAsyncReadyCallback" "callback")
704     '("gpointer" "user_data")
705   )
706 )
707
708 (define-method reconnect_finish
709   (of-object "EmpathyAccount")
710   (c-name "empathy_account_reconnect_finish")
711   (return-type "gboolean")
712   (parameters
713     '("GAsyncResult*" "result")
714     '("GError**" "error")
715   )
716 )
717
718 (define-method is_enabled
719   (of-object "EmpathyAccount")
720   (c-name "empathy_account_is_enabled")
721   (return-type "gboolean")
722 )
723
724 (define-method is_valid
725   (of-object "EmpathyAccount")
726   (c-name "empathy_account_is_valid")
727   (return-type "gboolean")
728 )
729
730 (define-method is_ready
731   (of-object "EmpathyAccount")
732   (c-name "empathy_account_is_ready")
733   (return-type "gboolean")
734 )
735
736 (define-method update_settings_async
737   (of-object "EmpathyAccount")
738   (c-name "empathy_account_update_settings_async")
739   (return-type "none")
740   (parameters
741     '("GHashTable*" "parameters")
742     '("const-gchar**" "unset_parameters")
743     '("GAsyncReadyCallback" "callback")
744     '("gpointer" "user_data")
745   )
746 )
747
748 (define-method update_settings_finish
749   (of-object "EmpathyAccount")
750   (c-name "empathy_account_update_settings_finish")
751   (return-type "gboolean")
752   (parameters
753     '("GAsyncResult*" "result")
754     '("GError**" "error")
755   )
756 )
757
758 (define-method remove_async
759   (of-object "EmpathyAccount")
760   (c-name "empathy_account_remove_async")
761   (return-type "none")
762   (parameters
763     '("GAsyncReadyCallback" "callback")
764     '("gpointer" "user_data")
765   )
766 )
767
768 (define-method remove_finish
769   (of-object "EmpathyAccount")
770   (c-name "empathy_account_remove_finish")
771   (return-type "gboolean")
772   (parameters
773     '("GAsyncResult*" "result")
774     '("GError**" "error")
775   )
776 )
777
778 (define-method set_display_name_async
779   (of-object "EmpathyAccount")
780   (c-name "empathy_account_set_display_name_async")
781   (return-type "none")
782   (parameters
783     '("const-gchar*" "display_name")
784     '("GAsyncReadyCallback" "callback")
785     '("gpointer" "user_data")
786   )
787 )
788
789 (define-method set_display_name_finish
790   (of-object "EmpathyAccount")
791   (c-name "empathy_account_set_display_name_finish")
792   (return-type "gboolean")
793   (parameters
794     '("GAsyncResult*" "result")
795     '("GError**" "error")
796   )
797 )
798
799 (define-method set_icon_name_async
800   (of-object "EmpathyAccount")
801   (c-name "empathy_account_set_icon_name_async")
802   (return-type "none")
803   (parameters
804     '("const-gchar*" "icon_name")
805     '("GAsyncReadyCallback" "callback")
806     '("gpointer" "user_data")
807   )
808 )
809
810 (define-method set_icon_name_finish
811   (of-object "EmpathyAccount")
812   (c-name "empathy_account_set_icon_name_finish")
813   (return-type "gboolean")
814   (parameters
815     '("GAsyncResult*" "result")
816     '("GError**" "error")
817   )
818 )
819
820 (define-function account_new
821   (c-name "empathy_account_new")
822   (is-constructor-of "EmpathyAccount")
823   (return-type "EmpathyAccount*")
824   (parameters
825     '("TpDBusDaemon*" "bus_daemon")
826     '("const-gchar*" "unique_name")
827   )
828 )
829
830 (define-method request_presence
831   (of-object "EmpathyAccount")
832   (c-name "empathy_account_request_presence")
833   (return-type "none")
834   (parameters
835     '("TpConnectionPresenceType" "type")
836     '("const-gchar*" "status")
837     '("const-gchar*" "message")
838   )
839 )
840
841 (define-method get_parameters
842   (of-object "EmpathyAccount")
843   (c-name "empathy_account_get_parameters")
844   (return-type "const-GHashTable*")
845 )
846
847 (define-method refresh_properties
848   (of-object "EmpathyAccount")
849   (c-name "empathy_account_refresh_properties")
850   (return-type "none")
851 )
852
853
854
855 ;; From empathy-account-manager.h
856
857 (define-function account_manager_get_type
858   (c-name "empathy_account_manager_get_type")
859   (return-type "GType")
860 )
861
862 (define-function account_manager_dup_singleton
863   (c-name "empathy_account_manager_dup_singleton")
864   (return-type "EmpathyAccountManager*")
865 )
866
867 (define-method is_ready
868   (of-object "EmpathyAccountManager")
869   (c-name "empathy_account_manager_is_ready")
870   (return-type "gboolean")
871 )
872
873 (define-method get_connected_accounts
874   (of-object "EmpathyAccountManager")
875   (c-name "empathy_account_manager_get_connected_accounts")
876   (return-type "int")
877 )
878
879 (define-method get_connecting_accounts
880   (of-object "EmpathyAccountManager")
881   (c-name "empathy_account_manager_get_connecting_accounts")
882   (return-type "int")
883 )
884
885 (define-method get_count
886   (of-object "EmpathyAccountManager")
887   (c-name "empathy_account_manager_get_count")
888   (return-type "int")
889 )
890
891 (define-method get_account_for_connection
892   (of-object "EmpathyAccountManager")
893   (c-name "empathy_account_manager_get_account_for_connection")
894   (return-type "EmpathyAccount*")
895   (parameters
896     '("TpConnection*" "connection")
897   )
898 )
899
900 (define-method ensure_account
901   (of-object "EmpathyAccountManager")
902   (c-name "empathy_account_manager_ensure_account")
903   (return-type "EmpathyAccount*")
904   (parameters
905     '("const-gchar*" "unique_name")
906   )
907 )
908
909 (define-method get_account
910   (of-object "EmpathyAccountManager")
911   (c-name "empathy_account_manager_get_account")
912   (return-type "EmpathyAccount*")
913   (parameters
914     '("const-gchar*" "unique_name")
915   )
916 )
917
918 (define-method dup_accounts
919   (of-object "EmpathyAccountManager")
920   (c-name "empathy_account_manager_dup_accounts")
921   (return-type "GList*")
922 )
923
924 (define-method dup_connections
925   (of-object "EmpathyAccountManager")
926   (c-name "empathy_account_manager_dup_connections")
927   (return-type "GList*")
928 )
929
930 (define-method request_global_presence
931   (of-object "EmpathyAccountManager")
932   (c-name "empathy_account_manager_request_global_presence")
933   (return-type "none")
934   (parameters
935     '("TpConnectionPresenceType" "type")
936     '("const-gchar*" "status")
937     '("const-gchar*" "message")
938   )
939 )
940
941 (define-method get_requested_global_presence
942   (of-object "EmpathyAccountManager")
943   (c-name "empathy_account_manager_get_requested_global_presence")
944   (return-type "TpConnectionPresenceType")
945   (parameters
946     '("gchar**" "status")
947     '("gchar**" "message")
948   )
949 )
950
951 (define-method get_global_presence
952   (of-object "EmpathyAccountManager")
953   (c-name "empathy_account_manager_get_global_presence")
954   (return-type "TpConnectionPresenceType")
955   (parameters
956     '("gchar**" "status")
957     '("gchar**" "message")
958   )
959 )
960
961 (define-method create_account_async
962   (of-object "EmpathyAccountManager")
963   (c-name "empathy_account_manager_create_account_async")
964   (return-type "none")
965   (parameters
966     '("const-gchar*" "connection_manager")
967     '("const-gchar*" "protocol")
968     '("const-gchar*" "display_name")
969     '("GHashTable*" "parameters")
970     '("GHashTable*" "properties")
971     '("GAsyncReadyCallback" "callback")
972     '("gpointer" "user_data")
973   )
974 )
975
976 (define-method create_account_finish
977   (of-object "EmpathyAccountManager")
978   (c-name "empathy_account_manager_create_account_finish")
979   (return-type "EmpathyAccount*")
980   (parameters
981     '("GAsyncResult*" "result")
982     '("GError**" "error")
983   )
984 )
985
986
987
988 ;; From empathy-chatroom.h
989
990 (define-function chatroom_get_type
991   (c-name "empathy_chatroom_get_type")
992   (return-type "GType")
993 )
994
995 (define-function chatroom_new
996   (c-name "empathy_chatroom_new")
997   (is-constructor-of "EmpathyChatroom")
998   (return-type "EmpathyChatroom*")
999   (parameters
1000     '("EmpathyAccount*" "account")
1001   )
1002 )
1003
1004 (define-function chatroom_new_full
1005   (c-name "empathy_chatroom_new_full")
1006   (return-type "EmpathyChatroom*")
1007   (parameters
1008     '("EmpathyAccount*" "account")
1009     '("const-gchar*" "room")
1010     '("const-gchar*" "name")
1011     '("gboolean" "auto_connect")
1012   )
1013 )
1014
1015 (define-method get_account
1016   (of-object "EmpathyChatroom")
1017   (c-name "empathy_chatroom_get_account")
1018   (return-type "EmpathyAccount*")
1019 )
1020
1021 (define-method set_account
1022   (of-object "EmpathyChatroom")
1023   (c-name "empathy_chatroom_set_account")
1024   (return-type "none")
1025   (parameters
1026     '("EmpathyAccount*" "account")
1027   )
1028 )
1029
1030 (define-method get_room
1031   (of-object "EmpathyChatroom")
1032   (c-name "empathy_chatroom_get_room")
1033   (return-type "const-gchar*")
1034 )
1035
1036 (define-method set_room
1037   (of-object "EmpathyChatroom")
1038   (c-name "empathy_chatroom_set_room")
1039   (return-type "none")
1040   (parameters
1041     '("const-gchar*" "room")
1042   )
1043 )
1044
1045 (define-method get_name
1046   (of-object "EmpathyChatroom")
1047   (c-name "empathy_chatroom_get_name")
1048   (return-type "const-gchar*")
1049 )
1050
1051 (define-method set_name
1052   (of-object "EmpathyChatroom")
1053   (c-name "empathy_chatroom_set_name")
1054   (return-type "none")
1055   (parameters
1056     '("const-gchar*" "name")
1057   )
1058 )
1059
1060 (define-method get_auto_connect
1061   (of-object "EmpathyChatroom")
1062   (c-name "empathy_chatroom_get_auto_connect")
1063   (return-type "gboolean")
1064 )
1065
1066 (define-method set_auto_connect
1067   (of-object "EmpathyChatroom")
1068   (c-name "empathy_chatroom_set_auto_connect")
1069   (return-type "none")
1070   (parameters
1071     '("gboolean" "auto_connect")
1072   )
1073 )
1074
1075 (define-method get_subject
1076   (of-object "EmpathyChatroom")
1077   (c-name "empathy_chatroom_get_subject")
1078   (return-type "const-gchar*")
1079 )
1080
1081 (define-method set_subject
1082   (of-object "EmpathyChatroom")
1083   (c-name "empathy_chatroom_set_subject")
1084   (return-type "none")
1085   (parameters
1086     '("const-gchar*" "subject")
1087   )
1088 )
1089
1090 (define-method get_members_count
1091   (of-object "EmpathyChatroom")
1092   (c-name "empathy_chatroom_get_members_count")
1093   (return-type "guint")
1094 )
1095
1096 (define-method set_members_count
1097   (of-object "EmpathyChatroom")
1098   (c-name "empathy_chatroom_set_members_count")
1099   (return-type "none")
1100   (parameters
1101     '("guint" "count")
1102   )
1103 )
1104
1105 (define-method get_need_password
1106   (of-object "EmpathyChatroom")
1107   (c-name "empathy_chatroom_get_need_password")
1108   (return-type "gboolean")
1109 )
1110
1111 (define-method set_need_password
1112   (of-object "EmpathyChatroom")
1113   (c-name "empathy_chatroom_set_need_password")
1114   (return-type "none")
1115   (parameters
1116     '("gboolean" "need_password")
1117   )
1118 )
1119
1120 (define-method get_invite_only
1121   (of-object "EmpathyChatroom")
1122   (c-name "empathy_chatroom_get_invite_only")
1123   (return-type "gboolean")
1124 )
1125
1126 (define-method set_invite_only
1127   (of-object "EmpathyChatroom")
1128   (c-name "empathy_chatroom_set_invite_only")
1129   (return-type "none")
1130   (parameters
1131     '("gboolean" "invite_only")
1132   )
1133 )
1134
1135 (define-function chatroom_equal
1136   (c-name "empathy_chatroom_equal")
1137   (return-type "gboolean")
1138   (parameters
1139     '("gconstpointer" "v1")
1140     '("gconstpointer" "v2")
1141   )
1142 )
1143
1144 (define-method get_tp_chat
1145   (of-object "EmpathyChatroom")
1146   (c-name "empathy_chatroom_get_tp_chat")
1147   (return-type "EmpathyTpChat*")
1148 )
1149
1150 (define-method set_tp_chat
1151   (of-object "EmpathyChatroom")
1152   (c-name "empathy_chatroom_set_tp_chat")
1153   (return-type "none")
1154   (parameters
1155     '("EmpathyTpChat*" "tp_chat")
1156   )
1157 )
1158
1159 (define-method is_favorite
1160   (of-object "EmpathyChatroom")
1161   (c-name "empathy_chatroom_is_favorite")
1162   (return-type "gboolean")
1163 )
1164
1165 (define-method set_favorite
1166   (of-object "EmpathyChatroom")
1167   (c-name "empathy_chatroom_set_favorite")
1168   (return-type "none")
1169   (parameters
1170     '("gboolean" "favorite")
1171   )
1172 )
1173
1174
1175
1176 ;; From empathy-chatroom-manager.h
1177
1178 (define-function chatroom_manager_get_type
1179   (c-name "empathy_chatroom_manager_get_type")
1180   (return-type "GType")
1181 )
1182
1183 (define-function chatroom_manager_dup_singleton
1184   (c-name "empathy_chatroom_manager_dup_singleton")
1185   (return-type "EmpathyChatroomManager*")
1186   (parameters
1187     '("const-gchar*" "file")
1188   )
1189 )
1190
1191 (define-method add
1192   (of-object "EmpathyChatroomManager")
1193   (c-name "empathy_chatroom_manager_add")
1194   (return-type "gboolean")
1195   (parameters
1196     '("EmpathyChatroom*" "chatroom")
1197   )
1198 )
1199
1200 (define-method remove
1201   (of-object "EmpathyChatroomManager")
1202   (c-name "empathy_chatroom_manager_remove")
1203   (return-type "none")
1204   (parameters
1205     '("EmpathyChatroom*" "chatroom")
1206   )
1207 )
1208
1209 (define-method find
1210   (of-object "EmpathyChatroomManager")
1211   (c-name "empathy_chatroom_manager_find")
1212   (return-type "EmpathyChatroom*")
1213   (parameters
1214     '("EmpathyAccount*" "account")
1215     '("const-gchar*" "room")
1216   )
1217 )
1218
1219 (define-method get_chatrooms
1220   (of-object "EmpathyChatroomManager")
1221   (c-name "empathy_chatroom_manager_get_chatrooms")
1222   (return-type "GList*")
1223   (parameters
1224     '("EmpathyAccount*" "account")
1225   )
1226 )
1227
1228 (define-method get_count
1229   (of-object "EmpathyChatroomManager")
1230   (c-name "empathy_chatroom_manager_get_count")
1231   (return-type "guint")
1232   (parameters
1233     '("EmpathyAccount*" "account")
1234   )
1235 )
1236
1237 (define-method observe
1238   (of-object "EmpathyChatroomManager")
1239   (c-name "empathy_chatroom_manager_observe")
1240   (return-type "none")
1241   (parameters
1242     '("EmpathyDispatcher*" "dispatcher")
1243   )
1244 )
1245
1246
1247
1248 ;; From empathy-call-factory.h
1249
1250 (define-function call_factory_get_type
1251   (c-name "empathy_call_factory_get_type")
1252   (return-type "GType")
1253 )
1254
1255 (define-function call_factory_initialise
1256   (c-name "empathy_call_factory_initialise")
1257   (return-type "EmpathyCallFactory*")
1258 )
1259
1260 (define-function call_factory_get
1261   (c-name "empathy_call_factory_get")
1262   (return-type "EmpathyCallFactory*")
1263 )
1264
1265 (define-method new_call
1266   (of-object "EmpathyCallFactory")
1267   (c-name "empathy_call_factory_new_call")
1268   (return-type "none")
1269   (parameters
1270     '("EmpathyContact*" "contact")
1271   )
1272 )
1273
1274 (define-method new_call_with_streams
1275   (of-object "EmpathyCallFactory")
1276   (c-name "empathy_call_factory_new_call_with_streams")
1277   (return-type "none")
1278   (parameters
1279     '("EmpathyContact*" "contact")
1280     '("gboolean" "initial_audio")
1281     '("gboolean" "initial_video")
1282   )
1283 )
1284
1285 (define-method claim_channel
1286   (of-object "EmpathyCallFactory")
1287   (c-name "empathy_call_factory_claim_channel")
1288   (return-type "none")
1289   (parameters
1290     '("EmpathyDispatchOperation*" "operation")
1291   )
1292 )
1293
1294
1295
1296 ;; From empathy-call-handler.h
1297
1298 (define-function call_handler_get_type
1299   (c-name "empathy_call_handler_get_type")
1300   (return-type "GType")
1301 )
1302
1303 (define-function call_handler_new_for_contact
1304   (c-name "empathy_call_handler_new_for_contact")
1305   (return-type "EmpathyCallHandler*")
1306   (parameters
1307     '("EmpathyContact*" "contact")
1308   )
1309 )
1310
1311 (define-function call_handler_new_for_contact_with_streams
1312   (c-name "empathy_call_handler_new_for_contact_with_streams")
1313   (return-type "EmpathyCallHandler*")
1314   (parameters
1315     '("EmpathyContact*" "contact")
1316     '("gboolean" "audio")
1317     '("gboolean" "video")
1318   )
1319 )
1320
1321 (define-function call_handler_new_for_channel
1322   (c-name "empathy_call_handler_new_for_channel")
1323   (return-type "EmpathyCallHandler*")
1324   (parameters
1325     '("EmpathyTpCall*" "call")
1326   )
1327 )
1328
1329 (define-method start_call
1330   (of-object "EmpathyCallHandler")
1331   (c-name "empathy_call_handler_start_call")
1332   (return-type "none")
1333 )
1334
1335 (define-method stop_call
1336   (of-object "EmpathyCallHandler")
1337   (c-name "empathy_call_handler_stop_call")
1338   (return-type "none")
1339 )
1340
1341 (define-method has_initial_video
1342   (of-object "EmpathyCallHandler")
1343   (c-name "empathy_call_handler_has_initial_video")
1344   (return-type "gboolean")
1345 )
1346
1347 (define-method bus_message
1348   (of-object "EmpathyCallHandler")
1349   (c-name "empathy_call_handler_bus_message")
1350   (return-type "none")
1351   (parameters
1352     '("GstBus*" "bus")
1353     '("GstMessage*" "message")
1354   )
1355 )
1356
1357
1358
1359 ;; From empathy-connectivity.h
1360
1361 (define-function connectivity_get_type
1362   (c-name "empathy_connectivity_get_type")
1363   (return-type "GType")
1364 )
1365
1366 (define-function connectivity_dup_singleton
1367   (c-name "empathy_connectivity_dup_singleton")
1368   (return-type "EmpathyConnectivity*")
1369 )
1370
1371 (define-method is_online
1372   (of-object "EmpathyConnectivity")
1373   (c-name "empathy_connectivity_is_online")
1374   (return-type "gboolean")
1375 )
1376
1377 (define-method get_use_conn
1378   (of-object "EmpathyConnectivity")
1379   (c-name "empathy_connectivity_get_use_conn")
1380   (return-type "gboolean")
1381 )
1382
1383 (define-method set_use_conn
1384   (of-object "EmpathyConnectivity")
1385   (c-name "empathy_connectivity_set_use_conn")
1386   (return-type "none")
1387   (parameters
1388     '("gboolean" "use_conn")
1389   )
1390 )
1391
1392
1393
1394 ;; From empathy-contact.h
1395
1396 (define-function contact_get_type
1397   (c-name "empathy_contact_get_type")
1398   (return-type "GType")
1399 )
1400
1401 (define-function contact_new
1402   (c-name "empathy_contact_new")
1403   (is-constructor-of "EmpathyContact")
1404   (return-type "EmpathyContact*")
1405   (parameters
1406     '("TpContact*" "tp_contact")
1407   )
1408 )
1409
1410 (define-function contact_new_for_log
1411   (c-name "empathy_contact_new_for_log")
1412   (return-type "EmpathyContact*")
1413   (parameters
1414     '("EmpathyAccount*" "account")
1415     '("const-gchar*" "id")
1416     '("const-gchar*" "name")
1417     '("gboolean" "is_user")
1418   )
1419 )
1420
1421 (define-method get_tp_contact
1422   (of-object "EmpathyContact")
1423   (c-name "empathy_contact_get_tp_contact")
1424   (return-type "TpContact*")
1425 )
1426
1427 (define-method get_id
1428   (of-object "EmpathyContact")
1429   (c-name "empathy_contact_get_id")
1430   (return-type "const-gchar*")
1431 )
1432
1433 (define-method set_id
1434   (of-object "EmpathyContact")
1435   (c-name "empathy_contact_set_id")
1436   (return-type "none")
1437   (parameters
1438     '("const-gchar*" "id")
1439   )
1440 )
1441
1442 (define-method get_name
1443   (of-object "EmpathyContact")
1444   (c-name "empathy_contact_get_name")
1445   (return-type "const-gchar*")
1446 )
1447
1448 (define-method set_name
1449   (of-object "EmpathyContact")
1450   (c-name "empathy_contact_set_name")
1451   (return-type "none")
1452   (parameters
1453     '("const-gchar*" "name")
1454   )
1455 )
1456
1457 (define-method get_avatar
1458   (of-object "EmpathyContact")
1459   (c-name "empathy_contact_get_avatar")
1460   (return-type "EmpathyAvatar*")
1461 )
1462
1463 (define-method set_avatar
1464   (of-object "EmpathyContact")
1465   (c-name "empathy_contact_set_avatar")
1466   (return-type "none")
1467   (parameters
1468     '("EmpathyAvatar*" "avatar")
1469   )
1470 )
1471
1472 (define-method get_account
1473   (of-object "EmpathyContact")
1474   (c-name "empathy_contact_get_account")
1475   (return-type "EmpathyAccount*")
1476 )
1477
1478 (define-method get_connection
1479   (of-object "EmpathyContact")
1480   (c-name "empathy_contact_get_connection")
1481   (return-type "TpConnection*")
1482 )
1483
1484 (define-method get_presence
1485   (of-object "EmpathyContact")
1486   (c-name "empathy_contact_get_presence")
1487   (return-type "TpConnectionPresenceType")
1488 )
1489
1490 (define-method set_presence
1491   (of-object "EmpathyContact")
1492   (c-name "empathy_contact_set_presence")
1493   (return-type "none")
1494   (parameters
1495     '("TpConnectionPresenceType" "presence")
1496   )
1497 )
1498
1499 (define-method get_presence_message
1500   (of-object "EmpathyContact")
1501   (c-name "empathy_contact_get_presence_message")
1502   (return-type "const-gchar*")
1503 )
1504
1505 (define-method set_presence_message
1506   (of-object "EmpathyContact")
1507   (c-name "empathy_contact_set_presence_message")
1508   (return-type "none")
1509   (parameters
1510     '("const-gchar*" "message")
1511   )
1512 )
1513
1514 (define-method get_handle
1515   (of-object "EmpathyContact")
1516   (c-name "empathy_contact_get_handle")
1517   (return-type "guint")
1518 )
1519
1520 (define-method set_handle
1521   (of-object "EmpathyContact")
1522   (c-name "empathy_contact_set_handle")
1523   (return-type "none")
1524   (parameters
1525     '("guint" "handle")
1526   )
1527 )
1528
1529 (define-method get_capabilities
1530   (of-object "EmpathyContact")
1531   (c-name "empathy_contact_get_capabilities")
1532   (return-type "EmpathyCapabilities")
1533 )
1534
1535 (define-method set_capabilities
1536   (of-object "EmpathyContact")
1537   (c-name "empathy_contact_set_capabilities")
1538   (return-type "none")
1539   (parameters
1540     '("EmpathyCapabilities" "capabilities")
1541   )
1542 )
1543
1544 (define-method is_user
1545   (of-object "EmpathyContact")
1546   (c-name "empathy_contact_is_user")
1547   (return-type "gboolean")
1548 )
1549
1550 (define-method set_is_user
1551   (of-object "EmpathyContact")
1552   (c-name "empathy_contact_set_is_user")
1553   (return-type "none")
1554   (parameters
1555     '("gboolean" "is_user")
1556   )
1557 )
1558
1559 (define-method is_online
1560   (of-object "EmpathyContact")
1561   (c-name "empathy_contact_is_online")
1562   (return-type "gboolean")
1563 )
1564
1565 (define-method get_status
1566   (of-object "EmpathyContact")
1567   (c-name "empathy_contact_get_status")
1568   (return-type "const-gchar*")
1569 )
1570
1571 (define-method can_voip
1572   (of-object "EmpathyContact")
1573   (c-name "empathy_contact_can_voip")
1574   (return-type "gboolean")
1575 )
1576
1577 (define-method can_voip_audio
1578   (of-object "EmpathyContact")
1579   (c-name "empathy_contact_can_voip_audio")
1580   (return-type "gboolean")
1581 )
1582
1583 (define-method can_voip_video
1584   (of-object "EmpathyContact")
1585   (c-name "empathy_contact_can_voip_video")
1586   (return-type "gboolean")
1587 )
1588
1589 (define-method can_send_files
1590   (of-object "EmpathyContact")
1591   (c-name "empathy_contact_can_send_files")
1592   (return-type "gboolean")
1593 )
1594
1595 (define-method can_use_stream_tube
1596   (of-object "EmpathyContact")
1597   (c-name "empathy_contact_can_use_stream_tube")
1598   (return-type "gboolean")
1599 )
1600
1601 (define-function contact_hash
1602   (c-name "empathy_contact_hash")
1603   (return-type "guint")
1604   (parameters
1605     '("gconstpointer" "key")
1606   )
1607 )
1608
1609 (define-method load_avatar_data
1610   (of-object "EmpathyContact")
1611   (c-name "empathy_contact_load_avatar_data")
1612   (return-type "none")
1613   (parameters
1614     '("const-guchar*" "data")
1615     '("const-gsize" "len")
1616     '("const-gchar*" "format")
1617     '("const-gchar*" "token")
1618   )
1619 )
1620
1621 (define-method load_avatar_cache
1622   (of-object "EmpathyContact")
1623   (c-name "empathy_contact_load_avatar_cache")
1624   (return-type "gboolean")
1625   (parameters
1626     '("const-gchar*" "token")
1627   )
1628 )
1629
1630 (define-function avatar_get_type
1631   (c-name "empathy_avatar_get_type")
1632   (return-type "GType")
1633 )
1634
1635 (define-function avatar_new
1636   (c-name "empathy_avatar_new")
1637   (is-constructor-of "EmpathyAvatar")
1638   (return-type "EmpathyAvatar*")
1639   (parameters
1640     '("guchar*" "data")
1641     '("gsize" "len")
1642     '("gchar*" "format")
1643     '("gchar*" "token")
1644     '("gchar*" "filename")
1645   )
1646 )
1647
1648 (define-method ref
1649   (of-object "EmpathyAvatar")
1650   (c-name "empathy_avatar_ref")
1651   (return-type "EmpathyAvatar*")
1652 )
1653
1654 (define-method unref
1655   (of-object "EmpathyAvatar")
1656   (c-name "empathy_avatar_unref")
1657   (return-type "none")
1658 )
1659
1660 (define-method save_to_file
1661   (of-object "EmpathyAvatar")
1662   (c-name "empathy_avatar_save_to_file")
1663   (return-type "gboolean")
1664   (parameters
1665     '("const-gchar*" "filename")
1666     '("GError**" "error")
1667   )
1668 )
1669
1670 (define-method get_location
1671   (of-object "EmpathyContact")
1672   (c-name "empathy_contact_get_location")
1673   (return-type "GHashTable*")
1674 )
1675
1676 (define-method set_location
1677   (of-object "EmpathyContact")
1678   (c-name "empathy_contact_set_location")
1679   (return-type "none")
1680   (parameters
1681     '("GHashTable*" "location")
1682   )
1683 )
1684
1685 (define-function contact_equal
1686   (c-name "empathy_contact_equal")
1687   (return-type "gboolean")
1688   (parameters
1689     '("gconstpointer" "contact1")
1690     '("gconstpointer" "contact2")
1691   )
1692 )
1693
1694
1695
1696 ;; From empathy-contact-groups.h
1697
1698 (define-function contact_groups_get_all
1699   (c-name "empathy_contact_groups_get_all")
1700   (return-type "none")
1701 )
1702
1703 (define-function contact_group_get_expanded
1704   (c-name "empathy_contact_group_get_expanded")
1705   (return-type "gboolean")
1706   (parameters
1707     '("const-gchar*" "group")
1708   )
1709 )
1710
1711 (define-function contact_group_set_expanded
1712   (c-name "empathy_contact_group_set_expanded")
1713   (return-type "none")
1714   (parameters
1715     '("const-gchar*" "group")
1716     '("gboolean" "expanded")
1717   )
1718 )
1719
1720
1721
1722 ;; From empathy-contact-list.h
1723
1724 (define-function contact_list_get_type
1725   (c-name "empathy_contact_list_get_type")
1726   (return-type "GType")
1727 )
1728
1729 (define-method add
1730   (of-object "EmpathyContactList")
1731   (c-name "empathy_contact_list_add")
1732   (return-type "none")
1733   (parameters
1734     '("EmpathyContact*" "contact")
1735     '("const-gchar*" "message")
1736   )
1737 )
1738
1739 (define-method remove
1740   (of-object "EmpathyContactList")
1741   (c-name "empathy_contact_list_remove")
1742   (return-type "none")
1743   (parameters
1744     '("EmpathyContact*" "contact")
1745     '("const-gchar*" "message")
1746   )
1747 )
1748
1749 (define-method get_members
1750   (of-object "EmpathyContactList")
1751   (c-name "empathy_contact_list_get_members")
1752   (return-type "GList*")
1753 )
1754
1755 (define-method get_pendings
1756   (of-object "EmpathyContactList")
1757   (c-name "empathy_contact_list_get_pendings")
1758   (return-type "GList*")
1759 )
1760
1761 (define-method get_all_groups
1762   (of-object "EmpathyContactList")
1763   (c-name "empathy_contact_list_get_all_groups")
1764   (return-type "GList*")
1765 )
1766
1767 (define-method get_groups
1768   (of-object "EmpathyContactList")
1769   (c-name "empathy_contact_list_get_groups")
1770   (return-type "GList*")
1771   (parameters
1772     '("EmpathyContact*" "contact")
1773   )
1774 )
1775
1776 (define-method add_to_group
1777   (of-object "EmpathyContactList")
1778   (c-name "empathy_contact_list_add_to_group")
1779   (return-type "none")
1780   (parameters
1781     '("EmpathyContact*" "contact")
1782     '("const-gchar*" "group")
1783   )
1784 )
1785
1786 (define-method remove_from_group
1787   (of-object "EmpathyContactList")
1788   (c-name "empathy_contact_list_remove_from_group")
1789   (return-type "none")
1790   (parameters
1791     '("EmpathyContact*" "contact")
1792     '("const-gchar*" "group")
1793   )
1794 )
1795
1796 (define-method rename_group
1797   (of-object "EmpathyContactList")
1798   (c-name "empathy_contact_list_rename_group")
1799   (return-type "none")
1800   (parameters
1801     '("const-gchar*" "old_group")
1802     '("const-gchar*" "new_group")
1803   )
1804 )
1805
1806 (define-method remove_group
1807   (of-object "EmpathyContactList")
1808   (c-name "empathy_contact_list_remove_group")
1809   (return-type "none")
1810   (parameters
1811     '("const-gchar*" "group")
1812   )
1813 )
1814
1815 (define-method get_monitor
1816   (of-object "EmpathyContactList")
1817   (c-name "empathy_contact_list_get_monitor")
1818   (return-type "EmpathyContactMonitor*")
1819 )
1820
1821 (define-method get_flags
1822   (of-object "EmpathyContactList")
1823   (c-name "empathy_contact_list_get_flags")
1824   (return-type "EmpathyContactListFlags")
1825 )
1826
1827
1828
1829 ;; From empathy-contact-manager.h
1830
1831 (define-function contact_manager_get_type
1832   (c-name "empathy_contact_manager_get_type")
1833   (return-type "GType")
1834 )
1835
1836 (define-function contact_manager_initialized
1837   (c-name "empathy_contact_manager_initialized")
1838   (return-type "gboolean")
1839 )
1840
1841 (define-function contact_manager_dup_singleton
1842   (c-name "empathy_contact_manager_dup_singleton")
1843   (return-type "EmpathyContactManager*")
1844 )
1845
1846 (define-method get_list
1847   (of-object "EmpathyContactManager")
1848   (c-name "empathy_contact_manager_get_list")
1849   (return-type "EmpathyTpContactList*")
1850   (parameters
1851     '("TpConnection*" "connection")
1852   )
1853 )
1854
1855 (define-method get_flags_for_connection
1856   (of-object "EmpathyContactManager")
1857   (c-name "empathy_contact_manager_get_flags_for_connection")
1858   (return-type "EmpathyContactListFlags")
1859   (parameters
1860     '("TpConnection*" "connection")
1861   )
1862 )
1863
1864
1865
1866 ;; From empathy-contact-monitor.h
1867
1868 (define-function contact_monitor_get_type
1869   (c-name "empathy_contact_monitor_get_type")
1870   (return-type "GType")
1871 )
1872
1873 (define-method set_iface
1874   (of-object "EmpathyContactMonitor")
1875   (c-name "empathy_contact_monitor_set_iface")
1876   (return-type "none")
1877   (parameters
1878     '("EmpathyContactList*" "iface")
1879   )
1880 )
1881
1882 (define-function contact_monitor_new_for_iface
1883   (c-name "empathy_contact_monitor_new_for_iface")
1884   (return-type "EmpathyContactMonitor*")
1885   (parameters
1886     '("EmpathyContactList*" "iface")
1887   )
1888 )
1889
1890
1891
1892 ;; From empathy-connection-managers.h
1893
1894 (define-function connection_managers_get_type
1895   (c-name "empathy_connection_managers_get_type")
1896   (return-type "GType")
1897 )
1898
1899 (define-function connection_managers_dup_singleton
1900   (c-name "empathy_connection_managers_dup_singleton")
1901   (return-type "EmpathyConnectionManagers*")
1902 )
1903
1904 (define-method is_ready
1905   (of-object "EmpathyConnectionManagers")
1906   (c-name "empathy_connection_managers_is_ready")
1907   (return-type "gboolean")
1908 )
1909
1910 (define-method update
1911   (of-object "EmpathyConnectionManagers")
1912   (c-name "empathy_connection_managers_update")
1913   (return-type "none")
1914 )
1915
1916 (define-method get_cms
1917   (of-object "EmpathyConnectionManagers")
1918   (c-name "empathy_connection_managers_get_cms")
1919   (return-type "GList*")
1920 )
1921
1922 (define-method get_cms_num
1923   (of-object "EmpathyConnectionManagers")
1924   (c-name "empathy_connection_managers_get_cms_num")
1925   (return-type "guint")
1926 )
1927
1928 (define-method get_cm
1929   (of-object "EmpathyConnectionManagers")
1930   (c-name "empathy_connection_managers_get_cm")
1931   (return-type "TpConnectionManager*")
1932   (parameters
1933     '("const-gchar*" "cm")
1934   )
1935 )
1936
1937
1938
1939 ;; From empathy-debug.h
1940
1941 (define-function debug_flag_is_set
1942   (c-name "empathy_debug_flag_is_set")
1943   (return-type "gboolean")
1944   (parameters
1945     '("EmpathyDebugFlags" "flag")
1946   )
1947 )
1948
1949 (define-function debug
1950   (c-name "empathy_debug")
1951   (return-type "none")
1952   (parameters
1953     '("EmpathyDebugFlags" "flag")
1954     '("const-gchar*" "format")
1955   )
1956   (varargs #t)
1957 )
1958
1959 (define-function debug_free
1960   (c-name "empathy_debug_free")
1961   (return-type "none")
1962 )
1963
1964 (define-function debug_set_flags
1965   (c-name "empathy_debug_set_flags")
1966   (return-type "none")
1967   (parameters
1968     '("const-gchar*" "flags_string")
1969   )
1970 )
1971
1972
1973
1974 ;; From empathy-debugger.h
1975
1976 (define-function debugger_get_type
1977   (c-name "empathy_debugger_get_type")
1978   (return-type "GType")
1979 )
1980
1981 (define-function debugger_get_singleton
1982   (c-name "empathy_debugger_get_singleton")
1983   (return-type "EmpathyDebugger*")
1984 )
1985
1986 (define-method add_message
1987   (of-object "EmpathyDebugger")
1988   (c-name "empathy_debugger_add_message")
1989   (return-type "none")
1990   (parameters
1991     '("GTimeVal*" "timestamp")
1992     '("const-gchar*" "domain")
1993     '("GLogLevelFlags" "level")
1994     '("const-gchar*" "string")
1995   )
1996 )
1997
1998
1999
2000 ;; From empathy-dispatcher.h
2001
2002 (define-function dispatcher_get_type
2003   (c-name "empathy_dispatcher_get_type")
2004   (return-type "GType")
2005 )
2006
2007 (define-method create_channel
2008   (of-object "EmpathyDispatcher")
2009   (c-name "empathy_dispatcher_create_channel")
2010   (return-type "none")
2011   (parameters
2012     '("TpConnection*" "connection")
2013     '("GHashTable*" "request")
2014     '("EmpathyDispatcherRequestCb*" "callback")
2015     '("gpointer" "user_data")
2016   )
2017 )
2018
2019 (define-function dispatcher_chat_with_contact_id
2020   (c-name "empathy_dispatcher_chat_with_contact_id")
2021   (return-type "none")
2022   (parameters
2023     '("TpConnection*" "connection")
2024     '("const-gchar*" "contact_id")
2025     '("EmpathyDispatcherRequestCb*" "callback")
2026     '("gpointer" "user_data")
2027   )
2028 )
2029
2030 (define-function dispatcher_chat_with_contact
2031   (c-name "empathy_dispatcher_chat_with_contact")
2032   (return-type "none")
2033   (parameters
2034     '("EmpathyContact*" "contact")
2035     '("EmpathyDispatcherRequestCb*" "callback")
2036     '("gpointer" "user_data")
2037   )
2038 )
2039
2040 (define-function dispatcher_send_file_to_contact
2041   (c-name "empathy_dispatcher_send_file_to_contact")
2042   (return-type "none")
2043   (parameters
2044     '("EmpathyContact*" "contact")
2045     '("const-gchar*" "filename")
2046     '("guint64" "size")
2047     '("guint64" "date")
2048     '("const-gchar*" "content_type")
2049     '("EmpathyDispatcherRequestCb*" "callback")
2050     '("gpointer" "user_data")
2051   )
2052 )
2053
2054 (define-function dispatcher_join_muc
2055   (c-name "empathy_dispatcher_join_muc")
2056   (return-type "none")
2057   (parameters
2058     '("TpConnection*" "connection")
2059     '("const-gchar*" "roomname")
2060     '("EmpathyDispatcherRequestCb*" "callback")
2061     '("gpointer" "user_data")
2062   )
2063 )
2064
2065 (define-method find_requestable_channel_classes_async
2066   (of-object "EmpathyDispatcher")
2067   (c-name "empathy_dispatcher_find_requestable_channel_classes_async")
2068   (return-type "none")
2069   (parameters
2070     '("TpConnection*" "connection")
2071     '("const-gchar*" "channel_type")
2072     '("guint" "handle_type")
2073     '("EmpathyDispatcherFindChannelClassCb" "callback")
2074     '("gpointer" "user_data")
2075     '("const-char*" "first_property_name")
2076   )
2077   (varargs #t)
2078 )
2079
2080 (define-method find_requestable_channel_classes
2081   (of-object "EmpathyDispatcher")
2082   (c-name "empathy_dispatcher_find_requestable_channel_classes")
2083   (return-type "GList*")
2084   (parameters
2085     '("TpConnection*" "connection")
2086     '("const-gchar*" "channel_type")
2087     '("guint" "handle_type")
2088     '("const-char*" "first_property_name")
2089   )
2090   (varargs #t)
2091 )
2092
2093 (define-function dispatcher_new
2094   (c-name "empathy_dispatcher_new")
2095   (is-constructor-of "EmpathyDispatcher")
2096   (return-type "EmpathyDispatcher*")
2097   (parameters
2098     '("const-gchar*" "name")
2099     '("GPtrArray*" "filters")
2100     '("GStrv" "capabilities")
2101   )
2102 )
2103
2104 (define-method add_handler
2105   (of-object "EmpathyDispatcher")
2106   (c-name "empathy_dispatcher_add_handler")
2107   (return-type "EmpathyHandler*")
2108   (parameters
2109     '("const-gchar*" "name")
2110     '("GPtrArray*" "filters")
2111     '("GStrv" "capabilities")
2112   )
2113 )
2114
2115 (define-method remove_handler
2116   (of-object "EmpathyDispatcher")
2117   (c-name "empathy_dispatcher_remove_handler")
2118   (return-type "none")
2119   (parameters
2120     '("EmpathyHandler*" "handler")
2121   )
2122 )
2123
2124 (define-function dispatcher_dup_singleton
2125   (c-name "empathy_dispatcher_dup_singleton")
2126   (return-type "EmpathyDispatcher*")
2127 )
2128
2129
2130
2131 ;; From empathy-dispatch-operation.h
2132
2133 (define-function dispatch_operation_get_type
2134   (c-name "empathy_dispatch_operation_get_type")
2135   (return-type "GType")
2136 )
2137
2138 (define-function dispatch_operation_new
2139   (c-name "empathy_dispatch_operation_new")
2140   (is-constructor-of "EmpathyDispatchOperation")
2141   (return-type "EmpathyDispatchOperation*")
2142   (parameters
2143     '("TpConnection*" "connection")
2144     '("TpChannel*" "channel")
2145     '("EmpathyContact*" "contact")
2146     '("gboolean" "incoming")
2147   )
2148 )
2149
2150 (define-function dispatch_operation_new_with_wrapper
2151   (c-name "empathy_dispatch_operation_new_with_wrapper")
2152   (return-type "EmpathyDispatchOperation*")
2153   (parameters
2154     '("TpConnection*" "connection")
2155     '("TpChannel*" "channel")
2156     '("EmpathyContact*" "contact")
2157     '("gboolean" "incoming")
2158     '("GObject*" "channel_wrapper")
2159   )
2160 )
2161
2162 (define-method start
2163   (of-object "EmpathyDispatchOperation")
2164   (c-name "empathy_dispatch_operation_start")
2165   (return-type "none")
2166 )
2167
2168 (define-method approve
2169   (of-object "EmpathyDispatchOperation")
2170   (c-name "empathy_dispatch_operation_approve")
2171   (return-type "none")
2172 )
2173
2174 (define-method claim
2175   (of-object "EmpathyDispatchOperation")
2176   (c-name "empathy_dispatch_operation_claim")
2177   (return-type "gboolean")
2178 )
2179
2180 (define-method get_channel
2181   (of-object "EmpathyDispatchOperation")
2182   (c-name "empathy_dispatch_operation_get_channel")
2183   (return-type "TpChannel*")
2184 )
2185
2186 (define-method get_channel_wrapper
2187   (of-object "EmpathyDispatchOperation")
2188   (c-name "empathy_dispatch_operation_get_channel_wrapper")
2189   (return-type "GObject*")
2190 )
2191
2192 (define-method get_tp_connection
2193   (of-object "EmpathyDispatchOperation")
2194   (c-name "empathy_dispatch_operation_get_tp_connection")
2195   (return-type "TpConnection*")
2196 )
2197
2198 (define-method get_channel_type
2199   (of-object "EmpathyDispatchOperation")
2200   (c-name "empathy_dispatch_operation_get_channel_type")
2201   (return-type "const-gchar*")
2202 )
2203
2204 (define-method get_channel_type_id
2205   (of-object "EmpathyDispatchOperation")
2206   (c-name "empathy_dispatch_operation_get_channel_type_id")
2207   (return-type "GQuark")
2208 )
2209
2210 (define-method get_object_path
2211   (of-object "EmpathyDispatchOperation")
2212   (c-name "empathy_dispatch_operation_get_object_path")
2213   (return-type "const-gchar*")
2214 )
2215
2216 (define-method get_status
2217   (of-object "EmpathyDispatchOperation")
2218   (c-name "empathy_dispatch_operation_get_status")
2219   (return-type "EmpathyDispatchOperationState")
2220 )
2221
2222 (define-method is_incoming
2223   (of-object "EmpathyDispatchOperation")
2224   (c-name "empathy_dispatch_operation_is_incoming")
2225   (return-type "gboolean")
2226 )
2227
2228
2229
2230 ;; From empathy-ft-factory.h
2231
2232 (define-function ft_factory_get_type
2233   (c-name "empathy_ft_factory_get_type")
2234   (return-type "GType")
2235 )
2236
2237 (define-function ft_factory_dup_singleton
2238   (c-name "empathy_ft_factory_dup_singleton")
2239   (return-type "EmpathyFTFactory*")
2240 )
2241
2242 (define-method new_transfer_outgoing
2243   (of-object "EmpathyFTFactory")
2244   (c-name "empathy_ft_factory_new_transfer_outgoing")
2245   (return-type "none")
2246   (parameters
2247     '("EmpathyContact*" "contact")
2248     '("GFile*" "source")
2249   )
2250 )
2251
2252 (define-method claim_channel
2253   (of-object "EmpathyFTFactory")
2254   (c-name "empathy_ft_factory_claim_channel")
2255   (return-type "none")
2256   (parameters
2257     '("EmpathyDispatchOperation*" "operation")
2258   )
2259 )
2260
2261 (define-method set_destination_for_incoming_handler
2262   (of-object "EmpathyFTFactory")
2263   (c-name "empathy_ft_factory_set_destination_for_incoming_handler")
2264   (return-type "none")
2265   (parameters
2266     '("EmpathyFTHandler*" "handler")
2267     '("GFile*" "destination")
2268   )
2269 )
2270
2271
2272
2273 ;; From empathy-ft-handler.h
2274
2275 (define-function ft_handler_get_type
2276   (c-name "empathy_ft_handler_get_type")
2277   (return-type "GType")
2278 )
2279
2280 (define-function ft_handler_new_outgoing
2281   (c-name "empathy_ft_handler_new_outgoing")
2282   (return-type "none")
2283   (parameters
2284     '("EmpathyContact*" "contact")
2285     '("GFile*" "source")
2286     '("EmpathyFTHandlerReadyCallback" "callback")
2287     '("gpointer" "user_data")
2288   )
2289 )
2290
2291 (define-function ft_handler_new_incoming
2292   (c-name "empathy_ft_handler_new_incoming")
2293   (return-type "none")
2294   (parameters
2295     '("EmpathyTpFile*" "tp_file")
2296     '("EmpathyFTHandlerReadyCallback" "callback")
2297     '("gpointer" "user_data")
2298   )
2299 )
2300
2301 (define-method incoming_set_destination
2302   (of-object "EmpathyFTHandler")
2303   (c-name "empathy_ft_handler_incoming_set_destination")
2304   (return-type "none")
2305   (parameters
2306     '("GFile*" "destination")
2307   )
2308 )
2309
2310 (define-method start_transfer
2311   (of-object "EmpathyFTHandler")
2312   (c-name "empathy_ft_handler_start_transfer")
2313   (return-type "none")
2314 )
2315
2316 (define-method cancel_transfer
2317   (of-object "EmpathyFTHandler")
2318   (c-name "empathy_ft_handler_cancel_transfer")
2319   (return-type "none")
2320 )
2321
2322 (define-method get_filename
2323   (of-object "EmpathyFTHandler")
2324   (c-name "empathy_ft_handler_get_filename")
2325   (return-type "const-char*")
2326 )
2327
2328 (define-method get_content_type
2329   (of-object "EmpathyFTHandler")
2330   (c-name "empathy_ft_handler_get_content_type")
2331   (return-type "const-char*")
2332 )
2333
2334 (define-method get_contact
2335   (of-object "EmpathyFTHandler")
2336   (c-name "empathy_ft_handler_get_contact")
2337   (return-type "EmpathyContact*")
2338 )
2339
2340 (define-method get_gfile
2341   (of-object "EmpathyFTHandler")
2342   (c-name "empathy_ft_handler_get_gfile")
2343   (return-type "GFile*")
2344 )
2345
2346 (define-method get_use_hash
2347   (of-object "EmpathyFTHandler")
2348   (c-name "empathy_ft_handler_get_use_hash")
2349   (return-type "gboolean")
2350 )
2351
2352 (define-method is_incoming
2353   (of-object "EmpathyFTHandler")
2354   (c-name "empathy_ft_handler_is_incoming")
2355   (return-type "gboolean")
2356 )
2357
2358 (define-method get_transferred_bytes
2359   (of-object "EmpathyFTHandler")
2360   (c-name "empathy_ft_handler_get_transferred_bytes")
2361   (return-type "guint64")
2362 )
2363
2364 (define-method get_total_bytes
2365   (of-object "EmpathyFTHandler")
2366   (c-name "empathy_ft_handler_get_total_bytes")
2367   (return-type "guint64")
2368 )
2369
2370 (define-method is_completed
2371   (of-object "EmpathyFTHandler")
2372   (c-name "empathy_ft_handler_is_completed")
2373   (return-type "gboolean")
2374 )
2375
2376 (define-method is_cancelled
2377   (of-object "EmpathyFTHandler")
2378   (c-name "empathy_ft_handler_is_cancelled")
2379   (return-type "gboolean")
2380 )
2381
2382
2383
2384 ;; From empathy-idle.h
2385
2386 (define-function idle_get_type
2387   (c-name "empathy_idle_get_type")
2388   (return-type "GType")
2389 )
2390
2391 (define-function idle_dup_singleton
2392   (c-name "empathy_idle_dup_singleton")
2393   (return-type "EmpathyIdle*")
2394 )
2395
2396 (define-method get_state
2397   (of-object "EmpathyIdle")
2398   (c-name "empathy_idle_get_state")
2399   (return-type "TpConnectionPresenceType")
2400 )
2401
2402 (define-method set_state
2403   (of-object "EmpathyIdle")
2404   (c-name "empathy_idle_set_state")
2405   (return-type "none")
2406   (parameters
2407     '("TpConnectionPresenceType" "state")
2408   )
2409 )
2410
2411 (define-method get_status
2412   (of-object "EmpathyIdle")
2413   (c-name "empathy_idle_get_status")
2414   (return-type "const-gchar*")
2415 )
2416
2417 (define-method set_status
2418   (of-object "EmpathyIdle")
2419   (c-name "empathy_idle_set_status")
2420   (return-type "none")
2421   (parameters
2422     '("const-gchar*" "status")
2423   )
2424 )
2425
2426 (define-method get_flash_state
2427   (of-object "EmpathyIdle")
2428   (c-name "empathy_idle_get_flash_state")
2429   (return-type "TpConnectionPresenceType")
2430 )
2431
2432 (define-method set_flash_state
2433   (of-object "EmpathyIdle")
2434   (c-name "empathy_idle_set_flash_state")
2435   (return-type "none")
2436   (parameters
2437     '("TpConnectionPresenceType" "state")
2438   )
2439 )
2440
2441 (define-method set_presence
2442   (of-object "EmpathyIdle")
2443   (c-name "empathy_idle_set_presence")
2444   (return-type "none")
2445   (parameters
2446     '("TpConnectionPresenceType" "state")
2447     '("const-gchar*" "status")
2448   )
2449 )
2450
2451 (define-method get_auto_away
2452   (of-object "EmpathyIdle")
2453   (c-name "empathy_idle_get_auto_away")
2454   (return-type "gboolean")
2455 )
2456
2457 (define-method set_auto_away
2458   (of-object "EmpathyIdle")
2459   (c-name "empathy_idle_set_auto_away")
2460   (return-type "none")
2461   (parameters
2462     '("gboolean" "auto_away")
2463   )
2464 )
2465
2466
2467
2468 ;; From empathy-irc-network.h
2469
2470 (define-function irc_network_get_type
2471   (c-name "empathy_irc_network_get_type")
2472   (return-type "GType")
2473 )
2474
2475 (define-function irc_network_new
2476   (c-name "empathy_irc_network_new")
2477   (is-constructor-of "EmpathyIrcNetwork")
2478   (return-type "EmpathyIrcNetwork*")
2479   (parameters
2480     '("const-gchar*" "name")
2481   )
2482 )
2483
2484 (define-method get_servers
2485   (of-object "EmpathyIrcNetwork")
2486   (c-name "empathy_irc_network_get_servers")
2487   (return-type "GSList*")
2488 )
2489
2490 (define-method append_server
2491   (of-object "EmpathyIrcNetwork")
2492   (c-name "empathy_irc_network_append_server")
2493   (return-type "none")
2494   (parameters
2495     '("EmpathyIrcServer*" "server")
2496   )
2497 )
2498
2499 (define-method remove_server
2500   (of-object "EmpathyIrcNetwork")
2501   (c-name "empathy_irc_network_remove_server")
2502   (return-type "none")
2503   (parameters
2504     '("EmpathyIrcServer*" "server")
2505   )
2506 )
2507
2508 (define-method set_server_position
2509   (of-object "EmpathyIrcNetwork")
2510   (c-name "empathy_irc_network_set_server_position")
2511   (return-type "none")
2512   (parameters
2513     '("EmpathyIrcServer*" "server")
2514     '("gint" "pos")
2515   )
2516 )
2517
2518
2519
2520 ;; From empathy-irc-network-manager.h
2521
2522 (define-function irc_network_manager_get_type
2523   (c-name "empathy_irc_network_manager_get_type")
2524   (return-type "GType")
2525 )
2526
2527 (define-function irc_network_manager_new
2528   (c-name "empathy_irc_network_manager_new")
2529   (is-constructor-of "EmpathyIrcNetworkManager")
2530   (return-type "EmpathyIrcNetworkManager*")
2531   (parameters
2532     '("const-gchar*" "global_file")
2533     '("const-gchar*" "user_file")
2534   )
2535 )
2536
2537 (define-method add
2538   (of-object "EmpathyIrcNetworkManager")
2539   (c-name "empathy_irc_network_manager_add")
2540   (return-type "none")
2541   (parameters
2542     '("EmpathyIrcNetwork*" "network")
2543   )
2544 )
2545
2546 (define-method remove
2547   (of-object "EmpathyIrcNetworkManager")
2548   (c-name "empathy_irc_network_manager_remove")
2549   (return-type "none")
2550   (parameters
2551     '("EmpathyIrcNetwork*" "network")
2552   )
2553 )
2554
2555 (define-method get_networks
2556   (of-object "EmpathyIrcNetworkManager")
2557   (c-name "empathy_irc_network_manager_get_networks")
2558   (return-type "GSList*")
2559 )
2560
2561 (define-method find_network_by_address
2562   (of-object "EmpathyIrcNetworkManager")
2563   (c-name "empathy_irc_network_manager_find_network_by_address")
2564   (return-type "EmpathyIrcNetwork*")
2565   (parameters
2566     '("const-gchar*" "address")
2567   )
2568 )
2569
2570
2571
2572 ;; From empathy-irc-server.h
2573
2574 (define-function irc_server_get_type
2575   (c-name "empathy_irc_server_get_type")
2576   (return-type "GType")
2577 )
2578
2579 (define-function irc_server_new
2580   (c-name "empathy_irc_server_new")
2581   (is-constructor-of "EmpathyIrcServer")
2582   (return-type "EmpathyIrcServer*")
2583   (parameters
2584     '("const-gchar*" "address")
2585     '("guint" "port")
2586     '("gboolean" "ssl")
2587   )
2588 )
2589
2590
2591
2592 ;; From empathy-location.h
2593
2594
2595
2596 ;; From empathy-log-manager.h
2597
2598 (define-function log_manager_get_type
2599   (c-name "empathy_log_manager_get_type")
2600   (return-type "GType")
2601 )
2602
2603 (define-function log_manager_dup_singleton
2604   (c-name "empathy_log_manager_dup_singleton")
2605   (return-type "EmpathyLogManager*")
2606 )
2607
2608 (define-method add_message
2609   (of-object "EmpathyLogManager")
2610   (c-name "empathy_log_manager_add_message")
2611   (return-type "gboolean")
2612   (parameters
2613     '("const-gchar*" "chat_id")
2614     '("gboolean" "chatroom")
2615     '("EmpathyMessage*" "message")
2616     '("GError**" "error")
2617   )
2618 )
2619
2620 (define-method exists
2621   (of-object "EmpathyLogManager")
2622   (c-name "empathy_log_manager_exists")
2623   (return-type "gboolean")
2624   (parameters
2625     '("EmpathyAccount*" "account")
2626     '("const-gchar*" "chat_id")
2627     '("gboolean" "chatroom")
2628   )
2629 )
2630
2631 (define-method get_dates
2632   (of-object "EmpathyLogManager")
2633   (c-name "empathy_log_manager_get_dates")
2634   (return-type "GList*")
2635   (parameters
2636     '("EmpathyAccount*" "account")
2637     '("const-gchar*" "chat_id")
2638     '("gboolean" "chatroom")
2639   )
2640 )
2641
2642 (define-method get_messages_for_date
2643   (of-object "EmpathyLogManager")
2644   (c-name "empathy_log_manager_get_messages_for_date")
2645   (return-type "GList*")
2646   (parameters
2647     '("EmpathyAccount*" "account")
2648     '("const-gchar*" "chat_id")
2649     '("gboolean" "chatroom")
2650     '("const-gchar*" "date")
2651   )
2652 )
2653
2654 (define-method get_filtered_messages
2655   (of-object "EmpathyLogManager")
2656   (c-name "empathy_log_manager_get_filtered_messages")
2657   (return-type "GList*")
2658   (parameters
2659     '("EmpathyAccount*" "account")
2660     '("const-gchar*" "chat_id")
2661     '("gboolean" "chatroom")
2662     '("guint" "num_messages")
2663     '("EmpathyLogMessageFilter" "filter")
2664     '("gpointer" "user_data")
2665   )
2666 )
2667
2668 (define-method get_chats
2669   (of-object "EmpathyLogManager")
2670   (c-name "empathy_log_manager_get_chats")
2671   (return-type "GList*")
2672   (parameters
2673     '("EmpathyAccount*" "account")
2674   )
2675 )
2676
2677 (define-method search_new
2678   (of-object "EmpathyLogManager")
2679   (c-name "empathy_log_manager_search_new")
2680   (return-type "GList*")
2681   (parameters
2682     '("const-gchar*" "text")
2683   )
2684 )
2685
2686 (define-function log_manager_search_free
2687   (c-name "empathy_log_manager_search_free")
2688   (return-type "none")
2689   (parameters
2690     '("GList*" "hits")
2691   )
2692 )
2693
2694 (define-function log_manager_get_date_readable
2695   (c-name "empathy_log_manager_get_date_readable")
2696   (return-type "gchar*")
2697   (parameters
2698     '("const-gchar*" "date")
2699   )
2700 )
2701
2702 (define-function log_manager_search_hit_free
2703   (c-name "empathy_log_manager_search_hit_free")
2704   (return-type "none")
2705   (parameters
2706     '("EmpathyLogSearchHit*" "hit")
2707   )
2708 )
2709
2710 (define-method observe
2711   (of-object "EmpathyLogManager")
2712   (c-name "empathy_log_manager_observe")
2713   (return-type "none")
2714   (parameters
2715     '("EmpathyDispatcher*" "dispatcher")
2716   )
2717 )
2718
2719
2720
2721 ;; From empathy-log-store.h
2722
2723 (define-function log_store_get_type
2724   (c-name "empathy_log_store_get_type")
2725   (return-type "GType")
2726 )
2727
2728 (define-method get_name
2729   (of-object "EmpathyLogStore")
2730   (c-name "empathy_log_store_get_name")
2731   (return-type "const-gchar*")
2732 )
2733
2734 (define-method exists
2735   (of-object "EmpathyLogStore")
2736   (c-name "empathy_log_store_exists")
2737   (return-type "gboolean")
2738   (parameters
2739     '("EmpathyAccount*" "account")
2740     '("const-gchar*" "chat_id")
2741     '("gboolean" "chatroom")
2742   )
2743 )
2744
2745 (define-method add_message
2746   (of-object "EmpathyLogStore")
2747   (c-name "empathy_log_store_add_message")
2748   (return-type "gboolean")
2749   (parameters
2750     '("const-gchar*" "chat_id")
2751     '("gboolean" "chatroom")
2752     '("EmpathyMessage*" "message")
2753     '("GError**" "error")
2754   )
2755 )
2756
2757 (define-method get_dates
2758   (of-object "EmpathyLogStore")
2759   (c-name "empathy_log_store_get_dates")
2760   (return-type "GList*")
2761   (parameters
2762     '("EmpathyAccount*" "account")
2763     '("const-gchar*" "chat_id")
2764     '("gboolean" "chatroom")
2765   )
2766 )
2767
2768 (define-method get_messages_for_date
2769   (of-object "EmpathyLogStore")
2770   (c-name "empathy_log_store_get_messages_for_date")
2771   (return-type "GList*")
2772   (parameters
2773     '("EmpathyAccount*" "account")
2774     '("const-gchar*" "chat_id")
2775     '("gboolean" "chatroom")
2776     '("const-gchar*" "date")
2777   )
2778 )
2779
2780 (define-method get_last_messages
2781   (of-object "EmpathyLogStore")
2782   (c-name "empathy_log_store_get_last_messages")
2783   (return-type "GList*")
2784   (parameters
2785     '("EmpathyAccount*" "account")
2786     '("const-gchar*" "chat_id")
2787     '("gboolean" "chatroom")
2788   )
2789 )
2790
2791 (define-method get_chats
2792   (of-object "EmpathyLogStore")
2793   (c-name "empathy_log_store_get_chats")
2794   (return-type "GList*")
2795   (parameters
2796     '("EmpathyAccount*" "account")
2797   )
2798 )
2799
2800 (define-method search_new
2801   (of-object "EmpathyLogStore")
2802   (c-name "empathy_log_store_search_new")
2803   (return-type "GList*")
2804   (parameters
2805     '("const-gchar*" "text")
2806   )
2807 )
2808
2809 (define-method ack_message
2810   (of-object "EmpathyLogStore")
2811   (c-name "empathy_log_store_ack_message")
2812   (return-type "none")
2813   (parameters
2814     '("const-gchar*" "chat_id")
2815     '("gboolean" "chatroom")
2816     '("EmpathyMessage*" "message")
2817   )
2818 )
2819
2820 (define-method get_filtered_messages
2821   (of-object "EmpathyLogStore")
2822   (c-name "empathy_log_store_get_filtered_messages")
2823   (return-type "GList*")
2824   (parameters
2825     '("EmpathyAccount*" "account")
2826     '("const-gchar*" "chat_id")
2827     '("gboolean" "chatroom")
2828     '("guint" "num_messages")
2829     '("EmpathyLogMessageFilter" "filter")
2830     '("gpointer" "user_data")
2831   )
2832 )
2833
2834
2835
2836 ;; From empathy-log-store-empathy.h
2837
2838 (define-function log_store_empathy_get_type
2839   (c-name "empathy_log_store_empathy_get_type")
2840   (return-type "GType")
2841 )
2842
2843
2844
2845 ;; From empathy-message.h
2846
2847 (define-function message_get_type
2848   (c-name "empathy_message_get_type")
2849   (return-type "GType")
2850 )
2851
2852 (define-function message_new_from_entry
2853   (c-name "empathy_message_new_from_entry")
2854   (return-type "EmpathyMessage*")
2855   (parameters
2856     '("const-gchar*" "message")
2857   )
2858 )
2859
2860 (define-function message_new
2861   (c-name "empathy_message_new")
2862   (is-constructor-of "EmpathyMessage")
2863   (return-type "EmpathyMessage*")
2864   (parameters
2865     '("const-gchar*" "body")
2866   )
2867 )
2868
2869 (define-method get_tptype
2870   (of-object "EmpathyMessage")
2871   (c-name "empathy_message_get_tptype")
2872   (return-type "TpChannelTextMessageType")
2873 )
2874
2875 (define-method set_tptype
2876   (of-object "EmpathyMessage")
2877   (c-name "empathy_message_set_tptype")
2878   (return-type "none")
2879   (parameters
2880     '("TpChannelTextMessageType" "type")
2881   )
2882 )
2883
2884 (define-method get_sender
2885   (of-object "EmpathyMessage")
2886   (c-name "empathy_message_get_sender")
2887   (return-type "EmpathyContact*")
2888 )
2889
2890 (define-method set_sender
2891   (of-object "EmpathyMessage")
2892   (c-name "empathy_message_set_sender")
2893   (return-type "none")
2894   (parameters
2895     '("EmpathyContact*" "contact")
2896   )
2897 )
2898
2899 (define-method get_receiver
2900   (of-object "EmpathyMessage")
2901   (c-name "empathy_message_get_receiver")
2902   (return-type "EmpathyContact*")
2903 )
2904
2905 (define-method set_receiver
2906   (of-object "EmpathyMessage")
2907   (c-name "empathy_message_set_receiver")
2908   (return-type "none")
2909   (parameters
2910     '("EmpathyContact*" "contact")
2911   )
2912 )
2913
2914 (define-method get_body
2915   (of-object "EmpathyMessage")
2916   (c-name "empathy_message_get_body")
2917   (return-type "const-gchar*")
2918 )
2919
2920 (define-method set_body
2921   (of-object "EmpathyMessage")
2922   (c-name "empathy_message_set_body")
2923   (return-type "none")
2924   (parameters
2925     '("const-gchar*" "body")
2926   )
2927 )
2928
2929 (define-method get_timestamp
2930   (of-object "EmpathyMessage")
2931   (c-name "empathy_message_get_timestamp")
2932   (return-type "time_t")
2933 )
2934
2935 (define-method set_timestamp
2936   (of-object "EmpathyMessage")
2937   (c-name "empathy_message_set_timestamp")
2938   (return-type "none")
2939   (parameters
2940     '("time_t" "timestamp")
2941   )
2942 )
2943
2944 (define-method is_backlog
2945   (of-object "EmpathyMessage")
2946   (c-name "empathy_message_is_backlog")
2947   (return-type "gboolean")
2948 )
2949
2950 (define-method set_is_backlog
2951   (of-object "EmpathyMessage")
2952   (c-name "empathy_message_set_is_backlog")
2953   (return-type "none")
2954   (parameters
2955     '("gboolean" "is_backlog")
2956   )
2957 )
2958
2959 (define-method is_incoming
2960   (of-object "EmpathyMessage")
2961   (c-name "empathy_message_is_incoming")
2962   (return-type "gboolean")
2963 )
2964
2965 (define-method set_incoming
2966   (of-object "EmpathyMessage")
2967   (c-name "empathy_message_set_incoming")
2968   (return-type "none")
2969   (parameters
2970     '("gboolean" "incoming")
2971   )
2972 )
2973
2974 (define-method should_highlight
2975   (of-object "EmpathyMessage")
2976   (c-name "empathy_message_should_highlight")
2977   (return-type "gboolean")
2978 )
2979
2980 (define-function message_type_from_str
2981   (c-name "empathy_message_type_from_str")
2982   (return-type "TpChannelTextMessageType")
2983   (parameters
2984     '("const-gchar*" "type_str")
2985   )
2986 )
2987
2988 (define-function message_type_to_str
2989   (c-name "empathy_message_type_to_str")
2990   (return-type "const-gchar*")
2991   (parameters
2992     '("TpChannelTextMessageType" "type")
2993   )
2994 )
2995
2996 (define-method get_id
2997   (of-object "EmpathyMessage")
2998   (c-name "empathy_message_get_id")
2999   (return-type "guint")
3000 )
3001
3002 (define-method set_id
3003   (of-object "EmpathyMessage")
3004   (c-name "empathy_message_set_id")
3005   (return-type "none")
3006   (parameters
3007     '("guint" "id")
3008   )
3009 )
3010
3011 (define-method equal
3012   (of-object "EmpathyMessage")
3013   (c-name "empathy_message_equal")
3014   (return-type "gboolean")
3015   (parameters
3016     '("EmpathyMessage*" "message2")
3017   )
3018 )
3019
3020
3021
3022 ;; From empathy-status-presets.h
3023
3024 (define-function status_presets_get_all
3025   (c-name "empathy_status_presets_get_all")
3026   (return-type "none")
3027 )
3028
3029 (define-function status_presets_get
3030   (c-name "empathy_status_presets_get")
3031   (return-type "GList*")
3032   (parameters
3033     '("TpConnectionPresenceType" "state")
3034     '("gint" "max_number")
3035   )
3036 )
3037
3038 (define-function status_presets_set_last
3039   (c-name "empathy_status_presets_set_last")
3040   (return-type "none")
3041   (parameters
3042     '("TpConnectionPresenceType" "state")
3043     '("const-gchar*" "status")
3044   )
3045 )
3046
3047 (define-function status_presets_remove
3048   (c-name "empathy_status_presets_remove")
3049   (return-type "none")
3050   (parameters
3051     '("TpConnectionPresenceType" "state")
3052     '("const-gchar*" "status")
3053   )
3054 )
3055
3056 (define-function status_presets_reset
3057   (c-name "empathy_status_presets_reset")
3058   (return-type "none")
3059 )
3060
3061 (define-function status_presets_get_default_state
3062   (c-name "empathy_status_presets_get_default_state")
3063   (return-type "TpConnectionPresenceType")
3064 )
3065
3066 (define-function status_presets_get_default_status
3067   (c-name "empathy_status_presets_get_default_status")
3068   (return-type "const-gchar*")
3069 )
3070
3071 (define-function status_presets_set_default
3072   (c-name "empathy_status_presets_set_default")
3073   (return-type "none")
3074   (parameters
3075     '("TpConnectionPresenceType" "state")
3076     '("const-gchar*" "status")
3077   )
3078 )
3079
3080 (define-function status_presets_clear_default
3081   (c-name "empathy_status_presets_clear_default")
3082   (return-type "none")
3083 )
3084
3085 (define-function status_presets_is_valid
3086   (c-name "empathy_status_presets_is_valid")
3087   (return-type "gboolean")
3088   (parameters
3089     '("TpConnectionPresenceType" "state")
3090   )
3091 )
3092
3093
3094
3095 ;; From empathy-time.h
3096
3097 (define-function time_get_current
3098   (c-name "empathy_time_get_current")
3099   (return-type "time_t")
3100 )
3101
3102 (define-function time_get_local_time
3103   (c-name "empathy_time_get_local_time")
3104   (return-type "time_t")
3105   (parameters
3106     '("struct-tm*" "tm")
3107   )
3108 )
3109
3110 (define-function time_parse
3111   (c-name "empathy_time_parse")
3112   (return-type "time_t")
3113   (parameters
3114     '("const-gchar*" "str")
3115   )
3116 )
3117
3118 (define-function time_to_string_utc
3119   (c-name "empathy_time_to_string_utc")
3120   (return-type "gchar*")
3121   (parameters
3122     '("time_t" "t")
3123     '("const-gchar*" "format")
3124   )
3125 )
3126
3127 (define-function time_to_string_local
3128   (c-name "empathy_time_to_string_local")
3129   (return-type "gchar*")
3130   (parameters
3131     '("time_t" "t")
3132     '("const-gchar*" "format")
3133   )
3134 )
3135
3136 (define-function time_to_string_relative
3137   (c-name "empathy_time_to_string_relative")
3138   (return-type "gchar*")
3139   (parameters
3140     '("time_t" "t")
3141   )
3142 )
3143
3144
3145
3146 ;; From empathy-tp-call.h
3147
3148 (define-function tp_call_get_type
3149   (c-name "empathy_tp_call_get_type")
3150   (return-type "GType")
3151 )
3152
3153 (define-function tp_call_new
3154   (c-name "empathy_tp_call_new")
3155   (is-constructor-of "EmpathyTpCall")
3156   (return-type "EmpathyTpCall*")
3157   (parameters
3158     '("TpChannel*" "channel")
3159   )
3160 )
3161
3162 (define-method close
3163   (of-object "EmpathyTpCall")
3164   (c-name "empathy_tp_call_close")
3165   (return-type "none")
3166 )
3167
3168 (define-method to
3169   (of-object "EmpathyTpCall")
3170   (c-name "empathy_tp_call_to")
3171   (return-type "none")
3172   (parameters
3173     '("EmpathyContact*" "contact")
3174     '("gboolean" "audio")
3175     '("gboolean" "video")
3176   )
3177 )
3178
3179 (define-method accept_incoming_call
3180   (of-object "EmpathyTpCall")
3181   (c-name "empathy_tp_call_accept_incoming_call")
3182   (return-type "none")
3183 )
3184
3185 (define-method request_video_stream_direction
3186   (of-object "EmpathyTpCall")
3187   (c-name "empathy_tp_call_request_video_stream_direction")
3188   (return-type "none")
3189   (parameters
3190     '("gboolean" "is_sending")
3191   )
3192 )
3193
3194 (define-method start_tone
3195   (of-object "EmpathyTpCall")
3196   (c-name "empathy_tp_call_start_tone")
3197   (return-type "none")
3198   (parameters
3199     '("TpDTMFEvent" "event")
3200   )
3201 )
3202
3203 (define-method stop_tone
3204   (of-object "EmpathyTpCall")
3205   (c-name "empathy_tp_call_stop_tone")
3206   (return-type "none")
3207 )
3208
3209 (define-method has_dtmf
3210   (of-object "EmpathyTpCall")
3211   (c-name "empathy_tp_call_has_dtmf")
3212   (return-type "gboolean")
3213 )
3214
3215 (define-method is_receiving_video
3216   (of-object "EmpathyTpCall")
3217   (c-name "empathy_tp_call_is_receiving_video")
3218   (return-type "gboolean")
3219 )
3220
3221 (define-method is_sending_video
3222   (of-object "EmpathyTpCall")
3223   (c-name "empathy_tp_call_is_sending_video")
3224   (return-type "gboolean")
3225 )
3226
3227
3228
3229 ;; From empathy-tp-chat.h
3230
3231 (define-function tp_chat_get_type
3232   (c-name "empathy_tp_chat_get_type")
3233   (return-type "GType")
3234 )
3235
3236 (define-function tp_chat_new
3237   (c-name "empathy_tp_chat_new")
3238   (is-constructor-of "EmpathyTpChat")
3239   (return-type "EmpathyTpChat*")
3240   (parameters
3241     '("TpChannel*" "channel")
3242   )
3243 )
3244
3245 (define-method close
3246   (of-object "EmpathyTpChat")
3247   (c-name "empathy_tp_chat_close")
3248   (return-type "none")
3249 )
3250
3251 (define-method get_id
3252   (of-object "EmpathyTpChat")
3253   (c-name "empathy_tp_chat_get_id")
3254   (return-type "const-gchar*")
3255 )
3256
3257 (define-method get_remote_contact
3258   (of-object "EmpathyTpChat")
3259   (c-name "empathy_tp_chat_get_remote_contact")
3260   (return-type "EmpathyContact*")
3261 )
3262
3263 (define-method get_channel
3264   (of-object "EmpathyTpChat")
3265   (c-name "empathy_tp_chat_get_channel")
3266   (return-type "TpChannel*")
3267 )
3268
3269 (define-method get_connection
3270   (of-object "EmpathyTpChat")
3271   (c-name "empathy_tp_chat_get_connection")
3272   (return-type "TpConnection*")
3273 )
3274
3275 (define-method is_ready
3276   (of-object "EmpathyTpChat")
3277   (c-name "empathy_tp_chat_is_ready")
3278   (return-type "gboolean")
3279 )
3280
3281 (define-method send
3282   (of-object "EmpathyTpChat")
3283   (c-name "empathy_tp_chat_send")
3284   (return-type "none")
3285   (parameters
3286     '("EmpathyMessage*" "message")
3287   )
3288 )
3289
3290 (define-method set_state
3291   (of-object "EmpathyTpChat")
3292   (c-name "empathy_tp_chat_set_state")
3293   (return-type "none")
3294   (parameters
3295     '("TpChannelChatState" "state")
3296   )
3297 )
3298
3299 (define-method set_property
3300   (of-object "EmpathyTpChat")
3301   (c-name "empathy_tp_chat_set_property")
3302   (return-type "none")
3303   (parameters
3304     '("const-gchar*" "name")
3305     '("const-GValue*" "value")
3306   )
3307 )
3308
3309 (define-method get_pending_messages
3310   (of-object "EmpathyTpChat")
3311   (c-name "empathy_tp_chat_get_pending_messages")
3312   (return-type "const-GList*")
3313 )
3314
3315 (define-method acknowledge_message
3316   (of-object "EmpathyTpChat")
3317   (c-name "empathy_tp_chat_acknowledge_message")
3318   (return-type "none")
3319   (parameters
3320     '("EmpathyMessage*" "message")
3321   )
3322 )
3323
3324 (define-method acknowledge_messages
3325   (of-object "EmpathyTpChat")
3326   (c-name "empathy_tp_chat_acknowledge_messages")
3327   (return-type "none")
3328   (parameters
3329     '("const-GList*" "messages")
3330   )
3331 )
3332
3333
3334
3335 ;; From empathy-tp-contact-factory.h
3336
3337 (define-function tp_contact_factory_get_type
3338   (c-name "empathy_tp_contact_factory_get_type")
3339   (return-type "GType")
3340 )
3341
3342 (define-function tp_contact_factory_dup_singleton
3343   (c-name "empathy_tp_contact_factory_dup_singleton")
3344   (return-type "EmpathyTpContactFactory*")
3345   (parameters
3346     '("TpConnection*" "connection")
3347   )
3348 )
3349
3350 (define-method get_from_ids
3351   (of-object "EmpathyTpContactFactory")
3352   (c-name "empathy_tp_contact_factory_get_from_ids")
3353   (return-type "none")
3354   (parameters
3355     '("guint" "n_ids")
3356     '("const-gchar*-const*" "ids")
3357     '("EmpathyTpContactFactoryContactsByIdCb" "callback")
3358     '("gpointer" "user_data")
3359     '("GDestroyNotify" "destroy")
3360     '("GObject*" "weak_object")
3361   )
3362 )
3363
3364 (define-method get_from_handles
3365   (of-object "EmpathyTpContactFactory")
3366   (c-name "empathy_tp_contact_factory_get_from_handles")
3367   (return-type "none")
3368   (parameters
3369     '("guint" "n_handles")
3370     '("const-TpHandle*" "handles")
3371     '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
3372     '("gpointer" "user_data")
3373     '("GDestroyNotify" "destroy")
3374     '("GObject*" "weak_object")
3375   )
3376 )
3377
3378 (define-method get_from_id
3379   (of-object "EmpathyTpContactFactory")
3380   (c-name "empathy_tp_contact_factory_get_from_id")
3381   (return-type "none")
3382   (parameters
3383     '("const-gchar*" "id")
3384     '("EmpathyTpContactFactoryContactCb" "callback")
3385     '("gpointer" "user_data")
3386     '("GDestroyNotify" "destroy")
3387     '("GObject*" "weak_object")
3388   )
3389 )
3390
3391 (define-method get_from_handle
3392   (of-object "EmpathyTpContactFactory")
3393   (c-name "empathy_tp_contact_factory_get_from_handle")
3394   (return-type "none")
3395   (parameters
3396     '("TpHandle" "handle")
3397     '("EmpathyTpContactFactoryContactCb" "callback")
3398     '("gpointer" "user_data")
3399     '("GDestroyNotify" "destroy")
3400     '("GObject*" "weak_object")
3401   )
3402 )
3403
3404 (define-method set_alias
3405   (of-object "EmpathyTpContactFactory")
3406   (c-name "empathy_tp_contact_factory_set_alias")
3407   (return-type "none")
3408   (parameters
3409     '("EmpathyContact*" "contact")
3410     '("const-gchar*" "alias")
3411   )
3412 )
3413
3414 (define-method set_avatar
3415   (of-object "EmpathyTpContactFactory")
3416   (c-name "empathy_tp_contact_factory_set_avatar")
3417   (return-type "none")
3418   (parameters
3419     '("const-gchar*" "data")
3420     '("gsize" "size")
3421     '("const-gchar*" "mime_type")
3422   )
3423 )
3424
3425 (define-method set_location
3426   (of-object "EmpathyTpContactFactory")
3427   (c-name "empathy_tp_contact_factory_set_location")
3428   (return-type "none")
3429   (parameters
3430     '("GHashTable*" "location")
3431   )
3432 )
3433
3434
3435
3436 ;; From empathy-tp-contact-list.h
3437
3438 (define-function tp_contact_list_get_type
3439   (c-name "empathy_tp_contact_list_get_type")
3440   (return-type "GType")
3441 )
3442
3443 (define-function tp_contact_list_new
3444   (c-name "empathy_tp_contact_list_new")
3445   (is-constructor-of "EmpathyTpContactList")
3446   (return-type "EmpathyTpContactList*")
3447   (parameters
3448     '("TpConnection*" "connection")
3449   )
3450 )
3451
3452 (define-method get_connection
3453   (of-object "EmpathyTpContactList")
3454   (c-name "empathy_tp_contact_list_get_connection")
3455   (return-type "TpConnection*")
3456 )
3457
3458 (define-method remove_all
3459   (of-object "EmpathyTpContactList")
3460   (c-name "empathy_tp_contact_list_remove_all")
3461   (return-type "none")
3462 )
3463
3464
3465
3466 ;; From empathy-tp-file.h
3467
3468 (define-function tp_file_get_type
3469   (c-name "empathy_tp_file_get_type")
3470   (return-type "GType")
3471 )
3472
3473 (define-function tp_file_new
3474   (c-name "empathy_tp_file_new")
3475   (is-constructor-of "EmpathyTpFile")
3476   (return-type "EmpathyTpFile*")
3477   (parameters
3478     '("TpChannel*" "channel")
3479     '("gboolean" "incoming")
3480   )
3481 )
3482
3483 (define-method accept
3484   (of-object "EmpathyTpFile")
3485   (c-name "empathy_tp_file_accept")
3486   (return-type "none")
3487   (parameters
3488     '("guint64" "offset")
3489     '("GFile*" "gfile")
3490     '("GCancellable*" "cancellable")
3491     '("EmpathyTpFileProgressCallback" "progress_callback")
3492     '("gpointer" "progress_user_data")
3493     '("EmpathyTpFileOperationCallback" "op_callback")
3494     '("gpointer" "op_user_data")
3495   )
3496 )
3497
3498 (define-method offer
3499   (of-object "EmpathyTpFile")
3500   (c-name "empathy_tp_file_offer")
3501   (return-type "none")
3502   (parameters
3503     '("GFile*" "gfile")
3504     '("GCancellable*" "cancellable")
3505     '("EmpathyTpFileProgressCallback" "progress_callback")
3506     '("gpointer" "progress_user_data")
3507     '("EmpathyTpFileOperationCallback" "op_callback")
3508     '("gpointer" "op_user_data")
3509   )
3510 )
3511
3512 (define-method cancel
3513   (of-object "EmpathyTpFile")
3514   (c-name "empathy_tp_file_cancel")
3515   (return-type "none")
3516 )
3517
3518 (define-method close
3519   (of-object "EmpathyTpFile")
3520   (c-name "empathy_tp_file_close")
3521   (return-type "none")
3522 )
3523
3524 (define-method is_incoming
3525   (of-object "EmpathyTpFile")
3526   (c-name "empathy_tp_file_is_incoming")
3527   (return-type "gboolean")
3528 )
3529
3530
3531
3532 ;; From empathy-tp-roomlist.h
3533
3534 (define-function tp_roomlist_get_type
3535   (c-name "empathy_tp_roomlist_get_type")
3536   (return-type "GType")
3537 )
3538
3539 (define-function tp_roomlist_new
3540   (c-name "empathy_tp_roomlist_new")
3541   (is-constructor-of "EmpathyTpRoomlist")
3542   (return-type "EmpathyTpRoomlist*")
3543   (parameters
3544     '("EmpathyAccount*" "account")
3545   )
3546 )
3547
3548 (define-method is_listing
3549   (of-object "EmpathyTpRoomlist")
3550   (c-name "empathy_tp_roomlist_is_listing")
3551   (return-type "gboolean")
3552 )
3553
3554 (define-method start
3555   (of-object "EmpathyTpRoomlist")
3556   (c-name "empathy_tp_roomlist_start")
3557   (return-type "none")
3558 )
3559
3560 (define-method stop
3561   (of-object "EmpathyTpRoomlist")
3562   (c-name "empathy_tp_roomlist_stop")
3563   (return-type "none")
3564 )
3565
3566
3567
3568 ;; From empathy-tube-handler.h
3569
3570 (define-function tube_handler_get_type
3571   (c-name "empathy_tube_handler_get_type")
3572   (return-type "GType")
3573 )
3574
3575 (define-function tube_handler_new
3576   (c-name "empathy_tube_handler_new")
3577   (is-constructor-of "EmpathyTubeHandler")
3578   (return-type "EmpathyTubeHandler*")
3579   (parameters
3580     '("TpTubeType" "type")
3581     '("const-gchar*" "service")
3582   )
3583 )
3584
3585 (define-function tube_handler_build_bus_name
3586   (c-name "empathy_tube_handler_build_bus_name")
3587   (return-type "gchar*")
3588   (parameters
3589     '("TpTubeType" "type")
3590     '("const-gchar*" "service")
3591   )
3592 )
3593
3594 (define-function tube_handler_build_object_path
3595   (c-name "empathy_tube_handler_build_object_path")
3596   (return-type "gchar*")
3597   (parameters
3598     '("TpTubeType" "type")
3599     '("const-gchar*" "service")
3600   )
3601 )
3602
3603
3604
3605 ;; From empathy-types.h
3606
3607
3608
3609 ;; From empathy-utils.h
3610
3611 (define-function init
3612   (c-name "empathy_init")
3613   (return-type "none")
3614 )
3615
3616 (define-function substring
3617   (c-name "empathy_substring")
3618   (return-type "gchar*")
3619   (parameters
3620     '("const-gchar*" "str")
3621     '("gint" "start")
3622     '("gint" "end")
3623   )
3624 )
3625
3626 (define-function strcasecmp
3627   (c-name "empathy_strcasecmp")
3628   (return-type "gint")
3629   (parameters
3630     '("const-gchar*" "s1")
3631     '("const-gchar*" "s2")
3632   )
3633 )
3634
3635 (define-function strncasecmp
3636   (c-name "empathy_strncasecmp")
3637   (return-type "gint")
3638   (parameters
3639     '("const-gchar*" "s1")
3640     '("const-gchar*" "s2")
3641     '("gsize" "n")
3642   )
3643 )
3644
3645 (define-function xml_validate
3646   (c-name "empathy_xml_validate")
3647   (return-type "gboolean")
3648   (parameters
3649     '("xmlDoc*" "doc")
3650     '("const-gchar*" "dtd_filename")
3651   )
3652 )
3653
3654 (define-function xml_node_get_child
3655   (c-name "empathy_xml_node_get_child")
3656   (return-type "xmlNodePtr")
3657   (parameters
3658     '("xmlNodePtr" "node")
3659     '("const-gchar*" "child_name")
3660   )
3661 )
3662
3663 (define-function xml_node_get_child_content
3664   (c-name "empathy_xml_node_get_child_content")
3665   (return-type "xmlChar*")
3666   (parameters
3667     '("xmlNodePtr" "node")
3668     '("const-gchar*" "child_name")
3669   )
3670 )
3671
3672 (define-function xml_node_find_child_prop_value
3673   (c-name "empathy_xml_node_find_child_prop_value")
3674   (return-type "xmlNodePtr")
3675   (parameters
3676     '("xmlNodePtr" "node")
3677     '("const-gchar*" "prop_name")
3678     '("const-gchar*" "prop_value")
3679   )
3680 )
3681
3682 (define-function presence_get_default_message
3683   (c-name "empathy_presence_get_default_message")
3684   (return-type "const-gchar*")
3685   (parameters
3686     '("TpConnectionPresenceType" "presence")
3687   )
3688 )
3689
3690 (define-function presence_to_str
3691   (c-name "empathy_presence_to_str")
3692   (return-type "const-gchar*")
3693   (parameters
3694     '("TpConnectionPresenceType" "presence")
3695   )
3696 )
3697
3698 (define-function presence_from_str
3699   (c-name "empathy_presence_from_str")
3700   (return-type "TpConnectionPresenceType")
3701   (parameters
3702     '("const-gchar*" "str")
3703   )
3704 )
3705
3706 (define-function file_lookup
3707   (c-name "empathy_file_lookup")
3708   (return-type "gchar*")
3709   (parameters
3710     '("const-gchar*" "filename")
3711     '("const-gchar*" "subdir")
3712   )
3713 )
3714
3715 (define-function proxy_equal
3716   (c-name "empathy_proxy_equal")
3717   (return-type "gboolean")
3718   (parameters
3719     '("gconstpointer" "a")
3720     '("gconstpointer" "b")
3721   )
3722 )
3723
3724 (define-function proxy_hash
3725   (c-name "empathy_proxy_hash")
3726   (return-type "guint")
3727   (parameters
3728     '("gconstpointer" "key")
3729   )
3730 )
3731
3732 (define-function check_available_state
3733   (c-name "empathy_check_available_state")
3734   (return-type "gboolean")
3735 )
3736
3737 (define-function uint_compare
3738   (c-name "empathy_uint_compare")
3739   (return-type "gint")
3740   (parameters
3741     '("gconstpointer" "a")
3742     '("gconstpointer" "b")
3743   )
3744 )
3745
3746 (define-function protocol_icon_name
3747   (c-name "empathy_protocol_icon_name")
3748   (return-type "gchar*")
3749   (parameters
3750     '("const-gchar*" "protocol")
3751   )
3752 )
3753
3754 (define-function protocol_name_to_display_name
3755   (c-name "empathy_protocol_name_to_display_name")
3756   (return-type "const-gchar*")
3757   (parameters
3758     '("const-gchar*" "proto_name")
3759   )
3760 )
3761
3762 (define-function type_dbus_ao
3763   (c-name "empathy_type_dbus_ao")
3764   (return-type "GType")
3765 )
3766
3767