]> git.0d.be Git - empathy.git/blob - python/pyempathy/pyempathy.defs
Make use of tp-glib debug system.
[empathy.git] / python / pyempathy / pyempathy.defs
1 ;; -*- scheme -*-
2 ; object definitions ...
3 (define-object Chatroom
4   (in-module "Empathy")
5   (parent "GObject")
6   (c-name "EmpathyChatroom")
7   (gtype-id "EMPATHY_TYPE_CHATROOM")
8 )
9
10 (define-object ChatroomManager
11   (in-module "Empathy")
12   (parent "GObject")
13   (c-name "EmpathyChatroomManager")
14   (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
15 )
16
17 (define-object Contact
18   (in-module "Empathy")
19   (parent "GObject")
20   (c-name "EmpathyContact")
21   (gtype-id "EMPATHY_TYPE_CONTACT")
22 )
23
24 (define-object ContactFactory
25   (in-module "Empathy")
26   (parent "GObject")
27   (c-name "EmpathyContactFactory")
28   (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
29 )
30
31 (define-interface ContactList
32   (in-module "Empathy")
33   (c-name "EmpathyContactList")
34   (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
35 )
36
37 (define-object ContactManager
38   (in-module "Empathy")
39   (parent "GObject")
40   (implements "EmpathyContactList")
41   (c-name "EmpathyContactManager")
42   (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
43 )
44
45 (define-object Idle
46   (in-module "Empathy")
47   (parent "GObject")
48   (c-name "EmpathyIdle")
49   (gtype-id "EMPATHY_TYPE_IDLE")
50 )
51
52 (define-object IrcNetwork
53   (in-module "Empathy")
54   (parent "GObject")
55   (c-name "EmpathyIrcNetwork")
56   (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
57 )
58
59 (define-object IrcNetworkManager
60   (in-module "Empathy")
61   (parent "GObject")
62   (c-name "EmpathyIrcNetworkManager")
63   (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
64 )
65
66 (define-object IrcServer
67   (in-module "Empathy")
68   (parent "GObject")
69   (c-name "EmpathyIrcServer")
70   (gtype-id "EMPATHY_TYPE_IRC_SERVER")
71 )
72
73 (define-object LogManager
74   (in-module "Empathy")
75   (parent "GObject")
76   (c-name "EmpathyLogManager")
77   (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
78 )
79
80 (define-object Message
81   (in-module "Empathy")
82   (parent "GObject")
83   (c-name "EmpathyMessage")
84   (gtype-id "EMPATHY_TYPE_MESSAGE")
85 )
86
87 (define-object TpCall
88   (in-module "Empathy")
89   (parent "GObject")
90   (c-name "EmpathyTpCall")
91   (gtype-id "EMPATHY_TYPE_TP_CALL")
92 )
93
94 (define-object TpChat
95   (in-module "Empathy")
96   (parent "GObject")
97   (c-name "EmpathyTpChat")
98   (gtype-id "EMPATHY_TYPE_TP_CHAT")
99 )
100
101 (define-object TpContactFactory
102   (in-module "Empathy")
103   (parent "GObject")
104   (c-name "EmpathyTpContactFactory")
105   (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
106 )
107
108 (define-object TpContactList
109   (in-module "Empathy")
110   (parent "GObject")
111   (implements "EmpathyContactList")
112   (c-name "EmpathyTpContactList")
113   (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
114 )
115
116 (define-object TpGroup
117   (in-module "Empathy")
118   (parent "GObject")
119   (c-name "EmpathyTpGroup")
120   (gtype-id "EMPATHY_TYPE_TP_GROUP")
121 )
122
123 (define-object TpRoomlist
124   (in-module "Empathy")
125   (parent "GObject")
126   (c-name "EmpathyTpRoomlist")
127   (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
128 )
129
130 (define-object TpTube
131   (in-module "Empathy")
132   (parent "GObject")
133   (c-name "EmpathyTpTube")
134   (gtype-id "EMPATHY_TYPE_TP_TUBE")
135 )
136
137 (define-object TubeHandler
138   (in-module "Empathy")
139   (parent "GObject")
140   (c-name "EmpathyTubeHandler")
141   (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
142 )
143
144 ;; Enumerations and flags ...
145
146 (define-flags DebugFlags
147   (in-module "Empathy")
148   (c-name "EmpathyDebugFlags")
149   (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
150   (values
151     '("tp" "EMPATHY_DEBUG_TP")
152     '("chat" "EMPATHY_DEBUG_CHAT")
153     '("contact" "EMPATHY_DEBUG_CONTACT")
154     '("account" "EMPATHY_DEBUG_ACCOUNT")
155     '("irc" "EMPATHY_DEBUG_IRC")
156     '("filter" "EMPATHY_DEBUG_FILTER")
157     '("other" "EMPATHY_DEBUG_OTHER")
158   )
159 )
160
161 (define-enum RegExType
162   (in-module "Empathy")
163   (c-name "EmpathyRegExType")
164   (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
165   (values
166     '("as-is" "EMPATHY_REGEX_AS_IS")
167     '("browser" "EMPATHY_REGEX_BROWSER")
168     '("apt" "EMPATHY_REGEX_APT")
169     '("email" "EMPATHY_REGEX_EMAIL")
170     '("other" "EMPATHY_REGEX_OTHER")
171     '("all" "EMPATHY_REGEX_ALL")
172   )
173 )
174
175 (define-enum MessageType
176   (in-module "Empathy")
177   (c-name "EmpathyMessageType")
178   (gtype-id "EMPATHY_TYPE_MESSAGE_TYPE")
179   (values
180     '("normal" "EMPATHY_MESSAGE_TYPE_NORMAL")
181     '("action" "EMPATHY_MESSAGE_TYPE_ACTION")
182     '("notice" "EMPATHY_MESSAGE_TYPE_NOTICE")
183     '("auto-reply" "EMPATHY_MESSAGE_TYPE_AUTO_REPLY")
184     '("last" "EMPATHY_MESSAGE_TYPE_LAST")
185   )
186 )
187
188 (define-flags Capabilities
189   (in-module "Empathy")
190   (c-name "EmpathyCapabilities")
191   (gtype-id "EMPATHY_TYPE_CAPABILITIES")
192   (values
193     '("none" "EMPATHY_CAPABILITIES_NONE")
194     '("audio" "EMPATHY_CAPABILITIES_AUDIO")
195     '("video" "EMPATHY_CAPABILITIES_VIDEO")
196     '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
197   )
198 )
199
200 (define-flags ContactReady
201   (in-module "Empathy")
202   (c-name "EmpathyContactReady")
203   (gtype-id "EMPATHY_TYPE_CONTACT_READY")
204   (values
205     '("none" "EMPATHY_CONTACT_READY_NONE")
206     '("id" "EMPATHY_CONTACT_READY_ID")
207     '("handle" "EMPATHY_CONTACT_READY_HANDLE")
208     '("name" "EMPATHY_CONTACT_READY_NAME")
209     '("all" "EMPATHY_CONTACT_READY_ALL")
210   )
211 )
212
213 (define-enum TpCallStatus
214   (in-module "Empathy")
215   (c-name "EmpathyTpCallStatus")
216   (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
217   (values
218     '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
219     '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
220     '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
221     '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
222   )
223 )
224
225
226 ;; From empathy-avatar.h
227
228 (define-function empathy_avatar_get_type
229   (c-name "empathy_avatar_get_type")
230   (return-type "GType")
231 )
232
233 (define-function empathy_avatar_new
234   (c-name "empathy_avatar_new")
235   (is-constructor-of "EmpathyAvatar")
236   (return-type "EmpathyAvatar*")
237   (parameters
238     '("const-guchar*" "avatar")
239     '("const-gsize" "len")
240     '("const-gchar*" "format")
241     '("const-gchar*" "token")
242   )
243 )
244
245 (define-function empathy_avatar_new_from_cache
246   (c-name "empathy_avatar_new_from_cache")
247   (return-type "EmpathyAvatar*")
248   (parameters
249     '("const-gchar*" "token")
250   )
251 )
252
253 (define-method ref
254   (of-object "EmpathyAvatar")
255   (c-name "empathy_avatar_ref")
256   (return-type "EmpathyAvatar*")
257 )
258
259 (define-method unref
260   (of-object "EmpathyAvatar")
261   (c-name "empathy_avatar_unref")
262   (return-type "none")
263 )
264
265
266
267 ;; From empathy-time.h
268
269 (define-function empathy_time_get_current
270   (c-name "empathy_time_get_current")
271   (return-type "time_t")
272 )
273
274 (define-function empathy_time_get_local_time
275   (c-name "empathy_time_get_local_time")
276   (return-type "time_t")
277   (parameters
278     '("struct-tm*" "tm")
279   )
280 )
281
282 (define-function empathy_time_parse
283   (c-name "empathy_time_parse")
284   (return-type "time_t")
285   (parameters
286     '("const-gchar*" "str")
287   )
288 )
289
290 (define-function empathy_time_to_string_utc
291   (c-name "empathy_time_to_string_utc")
292   (return-type "gchar*")
293   (parameters
294     '("time_t" "t")
295     '("const-gchar*" "format")
296   )
297 )
298
299 (define-function empathy_time_to_string_local
300   (c-name "empathy_time_to_string_local")
301   (return-type "gchar*")
302   (parameters
303     '("time_t" "t")
304     '("const-gchar*" "format")
305   )
306 )
307
308
309
310 ;; From empathy-status-presets.h
311
312 (define-function empathy_status_presets_get_all
313   (c-name "empathy_status_presets_get_all")
314   (return-type "none")
315 )
316
317 (define-function empathy_status_presets_get
318   (c-name "empathy_status_presets_get")
319   (return-type "GList*")
320   (parameters
321     '("McPresence" "state")
322     '("gint" "max_number")
323   )
324 )
325
326 (define-function empathy_status_presets_set_last
327   (c-name "empathy_status_presets_set_last")
328   (return-type "none")
329   (parameters
330     '("McPresence" "state")
331     '("const-gchar*" "status")
332   )
333 )
334
335 (define-function empathy_status_presets_remove
336   (c-name "empathy_status_presets_remove")
337   (return-type "none")
338   (parameters
339     '("McPresence" "state")
340     '("const-gchar*" "status")
341   )
342 )
343
344 (define-function empathy_status_presets_reset
345   (c-name "empathy_status_presets_reset")
346   (return-type "none")
347 )
348
349 (define-function empathy_status_presets_get_default_state
350   (c-name "empathy_status_presets_get_default_state")
351   (return-type "McPresence")
352 )
353
354 (define-function empathy_status_presets_get_default_status
355   (c-name "empathy_status_presets_get_default_status")
356   (return-type "const-gchar*")
357 )
358
359 (define-function empathy_status_presets_set_default
360   (c-name "empathy_status_presets_set_default")
361   (return-type "none")
362   (parameters
363     '("McPresence" "state")
364     '("const-gchar*" "status")
365   )
366 )
367
368 (define-function empathy_status_presets_clear_default
369   (c-name "empathy_status_presets_clear_default")
370   (return-type "none")
371 )
372
373
374
375 ;; From empathy-debug.h
376
377 (define-function empathy_debug_flag_is_set
378   (c-name "empathy_debug_flag_is_set")
379   (return-type "gboolean")
380   (parameters
381     '("EmpathyDebugFlags" "flag")
382   )
383 )
384
385 (define-function empathy_debug
386   (c-name "empathy_debug")
387   (return-type "none")
388   (parameters
389     '("EmpathyDebugFlags" "flag")
390     '("const-gchar*" "format")
391   )
392   (varargs #t)
393 )
394
395 (define-function empathy_debug_set_flags
396   (c-name "empathy_debug_set_flags")
397   (return-type "none")
398   (parameters
399     '("const-gchar*" "flags_string")
400   )
401 )
402
403
404
405 ;; From empathy-utils.h
406
407 (define-function empathy_substring
408   (c-name "empathy_substring")
409   (return-type "gchar*")
410   (parameters
411     '("const-gchar*" "str")
412     '("gint" "start")
413     '("gint" "end")
414   )
415 )
416
417 (define-function empathy_regex_match
418   (c-name "empathy_regex_match")
419   (return-type "gint")
420   (parameters
421     '("EmpathyRegExType" "type")
422     '("const-gchar*" "msg")
423     '("GArray*" "start")
424     '("GArray*" "end")
425   )
426 )
427
428 (define-function empathy_strcasecmp
429   (c-name "empathy_strcasecmp")
430   (return-type "gint")
431   (parameters
432     '("const-gchar*" "s1")
433     '("const-gchar*" "s2")
434   )
435 )
436
437 (define-function empathy_strncasecmp
438   (c-name "empathy_strncasecmp")
439   (return-type "gint")
440   (parameters
441     '("const-gchar*" "s1")
442     '("const-gchar*" "s2")
443     '("gsize" "n")
444   )
445 )
446
447 (define-function empathy_xml_validate
448   (c-name "empathy_xml_validate")
449   (return-type "gboolean")
450   (parameters
451     '("xmlDoc*" "doc")
452     '("const-gchar*" "dtd_filename")
453   )
454 )
455
456 (define-function empathy_xml_node_get_child
457   (c-name "empathy_xml_node_get_child")
458   (return-type "xmlNodePtr")
459   (parameters
460     '("xmlNodePtr" "node")
461     '("const-gchar*" "child_name")
462   )
463 )
464
465 (define-function empathy_xml_node_get_child_content
466   (c-name "empathy_xml_node_get_child_content")
467   (return-type "xmlChar*")
468   (parameters
469     '("xmlNodePtr" "node")
470     '("const-gchar*" "child_name")
471   )
472 )
473
474 (define-function empathy_xml_node_find_child_prop_value
475   (c-name "empathy_xml_node_find_child_prop_value")
476   (return-type "xmlNodePtr")
477   (parameters
478     '("xmlNodePtr" "node")
479     '("const-gchar*" "prop_name")
480     '("const-gchar*" "prop_value")
481   )
482 )
483
484 (define-function empathy_account_hash
485   (c-name "empathy_account_hash")
486   (return-type "guint")
487   (parameters
488     '("gconstpointer" "key")
489   )
490 )
491
492 (define-function empathy_account_equal
493   (c-name "empathy_account_equal")
494   (return-type "gboolean")
495   (parameters
496     '("gconstpointer" "a")
497     '("gconstpointer" "b")
498   )
499 )
500
501 (define-function empathy_mission_control_new
502   (c-name "empathy_mission_control_new")
503   (is-constructor-of "EmpathyMissionControl")
504   (return-type "MissionControl*")
505 )
506
507 (define-function empathy_call_with_contact
508   (c-name "empathy_call_with_contact")
509   (return-type "none")
510   (parameters
511     '("EmpathyContact*" "contact")
512   )
513 )
514
515 (define-function empathy_call_with_contact_id
516   (c-name "empathy_call_with_contact_id")
517   (return-type "none")
518   (parameters
519     '("McAccount*" "account")
520     '("const-gchar*" "contact_id")
521   )
522 )
523
524 (define-function empathy_chat_with_contact
525   (c-name "empathy_chat_with_contact")
526   (return-type "none")
527   (parameters
528     '("EmpathyContact*" "contact")
529   )
530 )
531
532 (define-function empathy_chat_with_contact_id
533   (c-name "empathy_chat_with_contact_id")
534   (return-type "none")
535   (parameters
536     '("McAccount*" "account")
537     '("const-gchar*" "contact_id")
538   )
539 )
540
541 (define-function empathy_presence_get_default_message
542   (c-name "empathy_presence_get_default_message")
543   (return-type "const-gchar*")
544   (parameters
545     '("McPresence" "presence")
546   )
547 )
548
549 (define-function empathy_presence_to_str
550   (c-name "empathy_presence_to_str")
551   (return-type "const-gchar*")
552   (parameters
553     '("McPresence" "presence")
554   )
555 )
556
557 (define-function empathy_presence_from_str
558   (c-name "empathy_presence_from_str")
559   (return-type "McPresence")
560   (parameters
561     '("const-gchar*" "str")
562   )
563 )
564
565 (define-function empathy_file_lookup
566   (c-name "empathy_file_lookup")
567   (return-type "gchar*")
568   (parameters
569     '("const-gchar*" "filename")
570     '("const-gchar*" "subdir")
571   )
572 )
573
574 (define-function empathy_run_until_ready
575   (c-name "empathy_run_until_ready")
576   (return-type "none")
577   (parameters
578     '("gpointer" "object")
579   )
580 )
581
582 (define-function empathy_run_until_ready_full
583   (c-name "empathy_run_until_ready_full")
584   (return-type "none")
585   (parameters
586     '("gpointer" "object")
587     '("const-gchar*" "signal")
588     '("EmpathyRunUntilReadyFunc" "func")
589     '("gpointer" "user_data")
590     '("GMainLoop**" "loop")
591   )
592 )
593
594 (define-function empathy_channel_get_account
595   (c-name "empathy_channel_get_account")
596   (return-type "McAccount*")
597   (parameters
598     '("TpChannel*" "channel")
599   )
600 )
601
602 (define-function empathy_connect_to_account_status_changed
603   (c-name "empathy_connect_to_account_status_changed")
604   (return-type "gpointer")
605   (parameters
606     '("MissionControl*" "mc")
607     '("GCallback" "handler")
608     '("gpointer" "user_data")
609     '("GClosureNotify" "free_func")
610   )
611 )
612
613 (define-function empathy_disconnect_account_status_changed
614   (c-name "empathy_disconnect_account_status_changed")
615   (return-type "none")
616   (parameters
617     '("gpointer" "token")
618   )
619 )
620
621
622
623 ;; From empathy-message.h
624
625 (define-function empathy_message_get_gtype
626   (c-name "empathy_message_get_gtype")
627   (return-type "GType")
628 )
629
630 (define-function empathy_message_new
631   (c-name "empathy_message_new")
632   (is-constructor-of "EmpathyMessage")
633   (return-type "EmpathyMessage*")
634   (parameters
635     '("const-gchar*" "body")
636   )
637 )
638
639 (define-method get_type
640   (of-object "EmpathyMessage")
641   (c-name "empathy_message_get_type")
642   (return-type "EmpathyMessageType")
643 )
644
645 (define-method set_type
646   (of-object "EmpathyMessage")
647   (c-name "empathy_message_set_type")
648   (return-type "none")
649   (parameters
650     '("EmpathyMessageType" "type")
651   )
652 )
653
654 (define-method get_sender
655   (of-object "EmpathyMessage")
656   (c-name "empathy_message_get_sender")
657   (return-type "EmpathyContact*")
658 )
659
660 (define-method set_sender
661   (of-object "EmpathyMessage")
662   (c-name "empathy_message_set_sender")
663   (return-type "none")
664   (parameters
665     '("EmpathyContact*" "contact")
666   )
667 )
668
669 (define-method get_receiver
670   (of-object "EmpathyMessage")
671   (c-name "empathy_message_get_receiver")
672   (return-type "EmpathyContact*")
673 )
674
675 (define-method set_receiver
676   (of-object "EmpathyMessage")
677   (c-name "empathy_message_set_receiver")
678   (return-type "none")
679   (parameters
680     '("EmpathyContact*" "contact")
681   )
682 )
683
684 (define-method get_body
685   (of-object "EmpathyMessage")
686   (c-name "empathy_message_get_body")
687   (return-type "const-gchar*")
688 )
689
690 (define-method set_body
691   (of-object "EmpathyMessage")
692   (c-name "empathy_message_set_body")
693   (return-type "none")
694   (parameters
695     '("const-gchar*" "body")
696   )
697 )
698
699 (define-method get_timestamp
700   (of-object "EmpathyMessage")
701   (c-name "empathy_message_get_timestamp")
702   (return-type "time_t")
703 )
704
705 (define-method set_timestamp
706   (of-object "EmpathyMessage")
707   (c-name "empathy_message_set_timestamp")
708   (return-type "none")
709   (parameters
710     '("time_t" "timestamp")
711   )
712 )
713
714 (define-method get_date_and_time
715   (of-object "EmpathyMessage")
716   (c-name "empathy_message_get_date_and_time")
717   (return-type "GDate*")
718   (parameters
719     '("time_t*" "timestamp")
720   )
721 )
722
723 (define-method should_highlight
724   (of-object "EmpathyMessage")
725   (c-name "empathy_message_should_highlight")
726   (return-type "gboolean")
727 )
728
729 (define-function empathy_message_type_from_str
730   (c-name "empathy_message_type_from_str")
731   (return-type "EmpathyMessageType")
732   (parameters
733     '("const-gchar*" "type_str")
734   )
735 )
736
737 (define-method to_str
738   (of-object "EmpathyMessageType")
739   (c-name "empathy_message_type_to_str")
740   (return-type "const-gchar*")
741 )
742
743
744
745 ;; From empathy-chatroom-manager.h
746
747 (define-function empathy_chatroom_manager_get_type
748   (c-name "empathy_chatroom_manager_get_type")
749   (return-type "GType")
750 )
751
752 (define-function empathy_chatroom_manager_new
753   (c-name "empathy_chatroom_manager_new")
754   (is-constructor-of "EmpathyChatroomManager")
755   (return-type "EmpathyChatroomManager*")
756 )
757
758 (define-method add
759   (of-object "EmpathyChatroomManager")
760   (c-name "empathy_chatroom_manager_add")
761   (return-type "gboolean")
762   (parameters
763     '("EmpathyChatroom*" "chatroom")
764   )
765 )
766
767 (define-method remove
768   (of-object "EmpathyChatroomManager")
769   (c-name "empathy_chatroom_manager_remove")
770   (return-type "none")
771   (parameters
772     '("EmpathyChatroom*" "chatroom")
773   )
774 )
775
776 (define-method find
777   (of-object "EmpathyChatroomManager")
778   (c-name "empathy_chatroom_manager_find")
779   (return-type "EmpathyChatroom*")
780   (parameters
781     '("McAccount*" "account")
782     '("const-gchar*" "room")
783   )
784 )
785
786 (define-method get_chatrooms
787   (of-object "EmpathyChatroomManager")
788   (c-name "empathy_chatroom_manager_get_chatrooms")
789   (return-type "GList*")
790   (parameters
791     '("McAccount*" "account")
792   )
793 )
794
795 (define-method get_count
796   (of-object "EmpathyChatroomManager")
797   (c-name "empathy_chatroom_manager_get_count")
798   (return-type "guint")
799   (parameters
800     '("McAccount*" "account")
801   )
802 )
803
804 (define-method store
805   (of-object "EmpathyChatroomManager")
806   (c-name "empathy_chatroom_manager_store")
807   (return-type "none")
808 )
809
810
811
812 ;; From empathy-chatroom.h
813
814 (define-function empathy_chatroom_get_type
815   (c-name "empathy_chatroom_get_type")
816   (return-type "GType")
817 )
818
819 (define-function empathy_chatroom_new
820   (c-name "empathy_chatroom_new")
821   (is-constructor-of "EmpathyChatroom")
822   (return-type "EmpathyChatroom*")
823   (parameters
824     '("McAccount*" "account")
825     '("const-gchar*" "room")
826   )
827 )
828
829 (define-function empathy_chatroom_new_full
830   (c-name "empathy_chatroom_new_full")
831   (return-type "EmpathyChatroom*")
832   (parameters
833     '("McAccount*" "account")
834     '("const-gchar*" "room")
835     '("const-gchar*" "name")
836     '("gboolean" "auto_connect")
837   )
838 )
839
840 (define-method get_account
841   (of-object "EmpathyChatroom")
842   (c-name "empathy_chatroom_get_account")
843   (return-type "McAccount*")
844 )
845
846 (define-method set_account
847   (of-object "EmpathyChatroom")
848   (c-name "empathy_chatroom_set_account")
849   (return-type "none")
850   (parameters
851     '("McAccount*" "account")
852   )
853 )
854
855 (define-method get_room
856   (of-object "EmpathyChatroom")
857   (c-name "empathy_chatroom_get_room")
858   (return-type "const-gchar*")
859 )
860
861 (define-method set_room
862   (of-object "EmpathyChatroom")
863   (c-name "empathy_chatroom_set_room")
864   (return-type "none")
865   (parameters
866     '("const-gchar*" "room")
867   )
868 )
869
870 (define-method get_name
871   (of-object "EmpathyChatroom")
872   (c-name "empathy_chatroom_get_name")
873   (return-type "const-gchar*")
874 )
875
876 (define-method set_name
877   (of-object "EmpathyChatroom")
878   (c-name "empathy_chatroom_set_name")
879   (return-type "none")
880   (parameters
881     '("const-gchar*" "name")
882   )
883 )
884
885 (define-method get_auto_connect
886   (of-object "EmpathyChatroom")
887   (c-name "empathy_chatroom_get_auto_connect")
888   (return-type "gboolean")
889 )
890
891 (define-method set_auto_connect
892   (of-object "EmpathyChatroom")
893   (c-name "empathy_chatroom_set_auto_connect")
894   (return-type "none")
895   (parameters
896     '("gboolean" "auto_connect")
897   )
898 )
899
900 (define-function empathy_chatroom_equal
901   (c-name "empathy_chatroom_equal")
902   (return-type "gboolean")
903   (parameters
904     '("gconstpointer" "v1")
905     '("gconstpointer" "v2")
906   )
907 )
908
909
910
911 ;; From empathy-contact.h
912
913 (define-function empathy_contact_get_type
914   (c-name "empathy_contact_get_type")
915   (return-type "GType")
916 )
917
918 (define-function empathy_contact_new
919   (c-name "empathy_contact_new")
920   (is-constructor-of "EmpathyContact")
921   (return-type "EmpathyContact*")
922   (parameters
923     '("McAccount*" "account")
924   )
925 )
926
927 (define-function empathy_contact_new_full
928   (c-name "empathy_contact_new_full")
929   (return-type "EmpathyContact*")
930   (parameters
931     '("McAccount*" "account")
932     '("const-gchar*" "id")
933     '("const-gchar*" "name")
934   )
935 )
936
937 (define-method get_id
938   (of-object "EmpathyContact")
939   (c-name "empathy_contact_get_id")
940   (return-type "const-gchar*")
941 )
942
943 (define-method set_id
944   (of-object "EmpathyContact")
945   (c-name "empathy_contact_set_id")
946   (return-type "none")
947   (parameters
948     '("const-gchar*" "id")
949   )
950 )
951
952 (define-method get_name
953   (of-object "EmpathyContact")
954   (c-name "empathy_contact_get_name")
955   (return-type "const-gchar*")
956 )
957
958 (define-method set_name
959   (of-object "EmpathyContact")
960   (c-name "empathy_contact_set_name")
961   (return-type "none")
962   (parameters
963     '("const-gchar*" "name")
964   )
965 )
966
967 (define-method get_avatar
968   (of-object "EmpathyContact")
969   (c-name "empathy_contact_get_avatar")
970   (return-type "EmpathyAvatar*")
971 )
972
973 (define-method set_avatar
974   (of-object "EmpathyContact")
975   (c-name "empathy_contact_set_avatar")
976   (return-type "none")
977   (parameters
978     '("EmpathyAvatar*" "avatar")
979   )
980 )
981
982 (define-method get_account
983   (of-object "EmpathyContact")
984   (c-name "empathy_contact_get_account")
985   (return-type "McAccount*")
986 )
987
988 (define-method set_account
989   (of-object "EmpathyContact")
990   (c-name "empathy_contact_set_account")
991   (return-type "none")
992   (parameters
993     '("McAccount*" "account")
994   )
995 )
996
997 (define-method get_presence
998   (of-object "EmpathyContact")
999   (c-name "empathy_contact_get_presence")
1000   (return-type "McPresence")
1001 )
1002
1003 (define-method set_presence
1004   (of-object "EmpathyContact")
1005   (c-name "empathy_contact_set_presence")
1006   (return-type "none")
1007   (parameters
1008     '("McPresence" "presence")
1009   )
1010 )
1011
1012 (define-method get_presence_message
1013   (of-object "EmpathyContact")
1014   (c-name "empathy_contact_get_presence_message")
1015   (return-type "const-gchar*")
1016 )
1017
1018 (define-method set_presence_message
1019   (of-object "EmpathyContact")
1020   (c-name "empathy_contact_set_presence_message")
1021   (return-type "none")
1022   (parameters
1023     '("const-gchar*" "message")
1024   )
1025 )
1026
1027 (define-method get_handle
1028   (of-object "EmpathyContact")
1029   (c-name "empathy_contact_get_handle")
1030   (return-type "guint")
1031 )
1032
1033 (define-method set_handle
1034   (of-object "EmpathyContact")
1035   (c-name "empathy_contact_set_handle")
1036   (return-type "none")
1037   (parameters
1038     '("guint" "handle")
1039   )
1040 )
1041
1042 (define-method get_capabilities
1043   (of-object "EmpathyContact")
1044   (c-name "empathy_contact_get_capabilities")
1045   (return-type "EmpathyCapabilities")
1046 )
1047
1048 (define-method set_capabilities
1049   (of-object "EmpathyContact")
1050   (c-name "empathy_contact_set_capabilities")
1051   (return-type "none")
1052   (parameters
1053     '("EmpathyCapabilities" "capabilities")
1054   )
1055 )
1056
1057 (define-method get_ready
1058   (of-object "EmpathyContact")
1059   (c-name "empathy_contact_get_ready")
1060   (return-type "EmpathyContactReady")
1061 )
1062
1063 (define-method is_user
1064   (of-object "EmpathyContact")
1065   (c-name "empathy_contact_is_user")
1066   (return-type "gboolean")
1067 )
1068
1069 (define-method set_is_user
1070   (of-object "EmpathyContact")
1071   (c-name "empathy_contact_set_is_user")
1072   (return-type "none")
1073   (parameters
1074     '("gboolean" "is_user")
1075   )
1076 )
1077
1078 (define-method is_online
1079   (of-object "EmpathyContact")
1080   (c-name "empathy_contact_is_online")
1081   (return-type "gboolean")
1082 )
1083
1084 (define-method get_status
1085   (of-object "EmpathyContact")
1086   (c-name "empathy_contact_get_status")
1087   (return-type "const-gchar*")
1088 )
1089
1090 (define-method can_voip
1091   (of-object "EmpathyContact")
1092   (c-name "empathy_contact_can_voip")
1093   (return-type "gboolean")
1094 )
1095
1096 (define-function empathy_contact_equal
1097   (c-name "empathy_contact_equal")
1098   (return-type "gboolean")
1099   (parameters
1100     '("gconstpointer" "v1")
1101     '("gconstpointer" "v2")
1102   )
1103 )
1104
1105 (define-function empathy_contact_hash
1106   (c-name "empathy_contact_hash")
1107   (return-type "guint")
1108   (parameters
1109     '("gconstpointer" "key")
1110   )
1111 )
1112
1113 (define-method run_until_ready
1114   (of-object "EmpathyContact")
1115   (c-name "empathy_contact_run_until_ready")
1116   (return-type "none")
1117   (parameters
1118     '("EmpathyContactReady" "ready")
1119     '("GMainLoop**" "loop")
1120   )
1121 )
1122
1123
1124
1125 ;; From empathy-contact-groups.h
1126
1127 (define-function empathy_contact_groups_get_all
1128   (c-name "empathy_contact_groups_get_all")
1129   (return-type "none")
1130 )
1131
1132 (define-function empathy_contact_group_get_expanded
1133   (c-name "empathy_contact_group_get_expanded")
1134   (return-type "gboolean")
1135   (parameters
1136     '("const-gchar*" "group")
1137   )
1138 )
1139
1140 (define-function empathy_contact_group_set_expanded
1141   (c-name "empathy_contact_group_set_expanded")
1142   (return-type "none")
1143   (parameters
1144     '("const-gchar*" "group")
1145     '("gboolean" "expanded")
1146   )
1147 )
1148
1149
1150
1151 ;; From empathy-contact-list.h
1152
1153 (define-function empathy_contact_list_get_type
1154   (c-name "empathy_contact_list_get_type")
1155   (return-type "GType")
1156 )
1157
1158 (define-method add
1159   (of-object "EmpathyContactList")
1160   (c-name "empathy_contact_list_add")
1161   (return-type "none")
1162   (parameters
1163     '("EmpathyContact*" "contact")
1164     '("const-gchar*" "message")
1165   )
1166 )
1167
1168 (define-method remove
1169   (of-object "EmpathyContactList")
1170   (c-name "empathy_contact_list_remove")
1171   (return-type "none")
1172   (parameters
1173     '("EmpathyContact*" "contact")
1174     '("const-gchar*" "message")
1175   )
1176 )
1177
1178 (define-method get_members
1179   (of-object "EmpathyContactList")
1180   (c-name "empathy_contact_list_get_members")
1181   (return-type "GList*")
1182 )
1183
1184 (define-method get_pendings
1185   (of-object "EmpathyContactList")
1186   (c-name "empathy_contact_list_get_pendings")
1187   (return-type "GList*")
1188 )
1189
1190 (define-method get_all_groups
1191   (of-object "EmpathyContactList")
1192   (c-name "empathy_contact_list_get_all_groups")
1193   (return-type "GList*")
1194 )
1195
1196 (define-method get_groups
1197   (of-object "EmpathyContactList")
1198   (c-name "empathy_contact_list_get_groups")
1199   (return-type "GList*")
1200   (parameters
1201     '("EmpathyContact*" "contact")
1202   )
1203 )
1204
1205 (define-method add_to_group
1206   (of-object "EmpathyContactList")
1207   (c-name "empathy_contact_list_add_to_group")
1208   (return-type "none")
1209   (parameters
1210     '("EmpathyContact*" "contact")
1211     '("const-gchar*" "group")
1212   )
1213 )
1214
1215 (define-method remove_from_group
1216   (of-object "EmpathyContactList")
1217   (c-name "empathy_contact_list_remove_from_group")
1218   (return-type "none")
1219   (parameters
1220     '("EmpathyContact*" "contact")
1221     '("const-gchar*" "group")
1222   )
1223 )
1224
1225 (define-method rename_group
1226   (of-object "EmpathyContactList")
1227   (c-name "empathy_contact_list_rename_group")
1228   (return-type "none")
1229   (parameters
1230     '("const-gchar*" "old_group")
1231     '("const-gchar*" "new_group")
1232   )
1233 )
1234
1235 (define-method remove_group
1236   (of-object "EmpathyContactList")
1237   (c-name "empathy_contact_list_remove_group")
1238   (return-type "none")
1239   (parameters
1240     '("const-gchar*" "group")
1241   )
1242 )
1243
1244
1245
1246 ;; From empathy-contact-manager.h
1247
1248 (define-function empathy_contact_manager_get_type
1249   (c-name "empathy_contact_manager_get_type")
1250   (return-type "GType")
1251 )
1252
1253 (define-function empathy_contact_manager_new
1254   (c-name "empathy_contact_manager_new")
1255   (is-constructor-of "EmpathyContactManager")
1256   (return-type "EmpathyContactManager*")
1257 )
1258
1259 (define-method get_list
1260   (of-object "EmpathyContactManager")
1261   (c-name "empathy_contact_manager_get_list")
1262   (return-type "EmpathyTpContactList*")
1263   (parameters
1264     '("McAccount*" "account")
1265   )
1266 )
1267
1268
1269
1270 ;; From empathy-contact-factory.h
1271
1272 (define-function empathy_contact_factory_get_type
1273   (c-name "empathy_contact_factory_get_type")
1274   (return-type "GType")
1275 )
1276
1277 (define-function empathy_contact_factory_new
1278   (c-name "empathy_contact_factory_new")
1279   (is-constructor-of "EmpathyContactFactory")
1280   (return-type "EmpathyContactFactory*")
1281 )
1282
1283 (define-method get_tp_factory
1284   (of-object "EmpathyContactFactory")
1285   (c-name "empathy_contact_factory_get_tp_factory")
1286   (return-type "EmpathyTpContactFactory*")
1287   (parameters
1288     '("McAccount*" "account")
1289   )
1290 )
1291
1292 (define-method get_user
1293   (of-object "EmpathyContactFactory")
1294   (c-name "empathy_contact_factory_get_user")
1295   (return-type "EmpathyContact*")
1296   (parameters
1297     '("McAccount*" "account")
1298   )
1299 )
1300
1301 (define-method get_from_id
1302   (of-object "EmpathyContactFactory")
1303   (c-name "empathy_contact_factory_get_from_id")
1304   (return-type "EmpathyContact*")
1305   (parameters
1306     '("McAccount*" "account")
1307     '("const-gchar*" "id")
1308   )
1309 )
1310
1311 (define-method get_from_handle
1312   (of-object "EmpathyContactFactory")
1313   (c-name "empathy_contact_factory_get_from_handle")
1314   (return-type "EmpathyContact*")
1315   (parameters
1316     '("McAccount*" "account")
1317     '("guint" "handle")
1318   )
1319 )
1320
1321 (define-method get_from_handles
1322   (of-object "EmpathyContactFactory")
1323   (c-name "empathy_contact_factory_get_from_handles")
1324   (return-type "GList*")
1325   (parameters
1326     '("McAccount*" "account")
1327     '("const-GArray*" "handles")
1328   )
1329 )
1330
1331 (define-method set_alias
1332   (of-object "EmpathyContactFactory")
1333   (c-name "empathy_contact_factory_set_alias")
1334   (return-type "none")
1335   (parameters
1336     '("EmpathyContact*" "contact")
1337     '("const-gchar*" "alias")
1338   )
1339 )
1340
1341 (define-method set_avatar
1342   (of-object "EmpathyContactFactory")
1343   (c-name "empathy_contact_factory_set_avatar")
1344   (return-type "none")
1345   (parameters
1346     '("McAccount*" "account")
1347     '("const-gchar*" "data")
1348     '("gsize" "size")
1349     '("const-gchar*" "mime_type")
1350   )
1351 )
1352
1353
1354
1355 ;; From empathy-tp-contact-factory.h
1356
1357 (define-function empathy_tp_contact_factory_get_type
1358   (c-name "empathy_tp_contact_factory_get_type")
1359   (return-type "GType")
1360 )
1361
1362 (define-function empathy_tp_contact_factory_new
1363   (c-name "empathy_tp_contact_factory_new")
1364   (is-constructor-of "EmpathyTpContactFactory")
1365   (return-type "EmpathyTpContactFactory*")
1366   (parameters
1367     '("McAccount*" "account")
1368   )
1369 )
1370
1371 (define-method get_user
1372   (of-object "EmpathyTpContactFactory")
1373   (c-name "empathy_tp_contact_factory_get_user")
1374   (return-type "EmpathyContact*")
1375 )
1376
1377 (define-method get_from_id
1378   (of-object "EmpathyTpContactFactory")
1379   (c-name "empathy_tp_contact_factory_get_from_id")
1380   (return-type "EmpathyContact*")
1381   (parameters
1382     '("const-gchar*" "id")
1383   )
1384 )
1385
1386 (define-method get_from_handle
1387   (of-object "EmpathyTpContactFactory")
1388   (c-name "empathy_tp_contact_factory_get_from_handle")
1389   (return-type "EmpathyContact*")
1390   (parameters
1391     '("guint" "handle")
1392   )
1393 )
1394
1395 (define-method get_from_handles
1396   (of-object "EmpathyTpContactFactory")
1397   (c-name "empathy_tp_contact_factory_get_from_handles")
1398   (return-type "GList*")
1399   (parameters
1400     '("const-GArray*" "handles")
1401   )
1402 )
1403
1404 (define-method set_alias
1405   (of-object "EmpathyTpContactFactory")
1406   (c-name "empathy_tp_contact_factory_set_alias")
1407   (return-type "none")
1408   (parameters
1409     '("EmpathyContact*" "contact")
1410     '("const-gchar*" "alias")
1411   )
1412 )
1413
1414 (define-method set_avatar
1415   (of-object "EmpathyTpContactFactory")
1416   (c-name "empathy_tp_contact_factory_set_avatar")
1417   (return-type "none")
1418   (parameters
1419     '("const-gchar*" "data")
1420     '("gsize" "size")
1421     '("const-gchar*" "mime_type")
1422   )
1423 )
1424
1425 (define-method is_ready
1426   (of-object "EmpathyTpContactFactory")
1427   (c-name "empathy_tp_contact_factory_is_ready")
1428   (return-type "gboolean")
1429 )
1430
1431
1432
1433 ;; From empathy-tp-group.h
1434
1435 (define-function empathy_tp_group_get_type
1436   (c-name "empathy_tp_group_get_type")
1437   (return-type "GType")
1438 )
1439
1440 (define-function empathy_tp_group_new
1441   (c-name "empathy_tp_group_new")
1442   (is-constructor-of "EmpathyTpGroup")
1443   (return-type "EmpathyTpGroup*")
1444   (parameters
1445     '("TpChannel*" "channel")
1446   )
1447 )
1448
1449 (define-method close
1450   (of-object "EmpathyTpGroup")
1451   (c-name "empathy_tp_group_close")
1452   (return-type "none")
1453 )
1454
1455 (define-method add_members
1456   (of-object "EmpathyTpGroup")
1457   (c-name "empathy_tp_group_add_members")
1458   (return-type "none")
1459   (parameters
1460     '("GList*" "contacts")
1461     '("const-gchar*" "message")
1462   )
1463 )
1464
1465 (define-method add_member
1466   (of-object "EmpathyTpGroup")
1467   (c-name "empathy_tp_group_add_member")
1468   (return-type "none")
1469   (parameters
1470     '("EmpathyContact*" "contact")
1471     '("const-gchar*" "message")
1472   )
1473 )
1474
1475 (define-method remove_members
1476   (of-object "EmpathyTpGroup")
1477   (c-name "empathy_tp_group_remove_members")
1478   (return-type "none")
1479   (parameters
1480     '("GList*" "contacts")
1481     '("const-gchar*" "message")
1482   )
1483 )
1484
1485 (define-method remove_member
1486   (of-object "EmpathyTpGroup")
1487   (c-name "empathy_tp_group_remove_member")
1488   (return-type "none")
1489   (parameters
1490     '("EmpathyContact*" "contact")
1491     '("const-gchar*" "message")
1492   )
1493 )
1494
1495 (define-method get_members
1496   (of-object "EmpathyTpGroup")
1497   (c-name "empathy_tp_group_get_members")
1498   (return-type "GList*")
1499 )
1500
1501 (define-method get_local_pendings
1502   (of-object "EmpathyTpGroup")
1503   (c-name "empathy_tp_group_get_local_pendings")
1504   (return-type "GList*")
1505 )
1506
1507 (define-method get_remote_pendings
1508   (of-object "EmpathyTpGroup")
1509   (c-name "empathy_tp_group_get_remote_pendings")
1510   (return-type "GList*")
1511 )
1512
1513 (define-method get_name
1514   (of-object "EmpathyTpGroup")
1515   (c-name "empathy_tp_group_get_name")
1516   (return-type "const-gchar*")
1517 )
1518
1519 (define-method get_self_contact
1520   (of-object "EmpathyTpGroup")
1521   (c-name "empathy_tp_group_get_self_contact")
1522   (return-type "EmpathyContact*")
1523 )
1524
1525 (define-method is_member
1526   (of-object "EmpathyTpGroup")
1527   (c-name "empathy_tp_group_is_member")
1528   (return-type "gboolean")
1529   (parameters
1530     '("EmpathyContact*" "contact")
1531   )
1532 )
1533
1534 (define-method is_ready
1535   (of-object "EmpathyTpGroup")
1536   (c-name "empathy_tp_group_is_ready")
1537   (return-type "gboolean")
1538 )
1539
1540 (define-method get_invitation
1541   (of-object "EmpathyTpGroup")
1542   (c-name "empathy_tp_group_get_invitation")
1543   (return-type "EmpathyPendingInfo*")
1544   (parameters
1545     '("EmpathyContact**" "remote_contact")
1546   )
1547 )
1548
1549 (define-function empathy_pending_info_new
1550   (c-name "empathy_pending_info_new")
1551   (is-constructor-of "EmpathyPendingInfo")
1552   (return-type "EmpathyPendingInfo*")
1553   (parameters
1554     '("EmpathyContact*" "member")
1555     '("EmpathyContact*" "actor")
1556     '("const-gchar*" "message")
1557   )
1558 )
1559
1560 (define-method free
1561   (of-object "EmpathyPendingInfo")
1562   (c-name "empathy_pending_info_free")
1563   (return-type "none")
1564 )
1565
1566
1567
1568 ;; From empathy-tp-contact-list.h
1569
1570 (define-function empathy_tp_contact_list_get_type
1571   (c-name "empathy_tp_contact_list_get_type")
1572   (return-type "GType")
1573 )
1574
1575 (define-function empathy_tp_contact_list_new
1576   (c-name "empathy_tp_contact_list_new")
1577   (is-constructor-of "EmpathyTpContactList")
1578   (return-type "EmpathyTpContactList*")
1579   (parameters
1580     '("McAccount*" "account")
1581   )
1582 )
1583
1584 (define-method get_account
1585   (of-object "EmpathyTpContactList")
1586   (c-name "empathy_tp_contact_list_get_account")
1587   (return-type "McAccount*")
1588 )
1589
1590
1591
1592 ;; From empathy-tp-chat.h
1593
1594 (define-function empathy_tp_chat_get_type
1595   (c-name "empathy_tp_chat_get_type")
1596   (return-type "GType")
1597 )
1598
1599 (define-function empathy_tp_chat_new
1600   (c-name "empathy_tp_chat_new")
1601   (is-constructor-of "EmpathyTpChat")
1602   (return-type "EmpathyTpChat*")
1603   (parameters
1604     '("TpChannel*" "channel")
1605     '("gboolean" "acknowledge")
1606   )
1607 )
1608
1609 (define-method get_id
1610   (of-object "EmpathyTpChat")
1611   (c-name "empathy_tp_chat_get_id")
1612   (return-type "const-gchar*")
1613 )
1614
1615 (define-method get_remote_contact
1616   (of-object "EmpathyTpChat")
1617   (c-name "empathy_tp_chat_get_remote_contact")
1618   (return-type "EmpathyContact*")
1619 )
1620
1621 (define-method get_account
1622   (of-object "EmpathyTpChat")
1623   (c-name "empathy_tp_chat_get_account")
1624   (return-type "McAccount*")
1625 )
1626
1627 (define-method get_channel
1628   (of-object "EmpathyTpChat")
1629   (c-name "empathy_tp_chat_get_channel")
1630   (return-type "TpChannel*")
1631 )
1632
1633 (define-method is_ready
1634   (of-object "EmpathyTpChat")
1635   (c-name "empathy_tp_chat_is_ready")
1636   (return-type "gboolean")
1637 )
1638
1639 (define-method get_members_count
1640   (of-object "EmpathyTpChat")
1641   (c-name "empathy_tp_chat_get_members_count")
1642   (return-type "guint")
1643 )
1644
1645 (define-method set_acknowledge
1646   (of-object "EmpathyTpChat")
1647   (c-name "empathy_tp_chat_set_acknowledge")
1648   (return-type "none")
1649   (parameters
1650     '("gboolean" "acknowledge")
1651   )
1652 )
1653
1654 (define-method emit_pendings
1655   (of-object "EmpathyTpChat")
1656   (c-name "empathy_tp_chat_emit_pendings")
1657   (return-type "none")
1658 )
1659
1660 (define-method send
1661   (of-object "EmpathyTpChat")
1662   (c-name "empathy_tp_chat_send")
1663   (return-type "none")
1664   (parameters
1665     '("EmpathyMessage*" "message")
1666   )
1667 )
1668
1669 (define-method set_state
1670   (of-object "EmpathyTpChat")
1671   (c-name "empathy_tp_chat_set_state")
1672   (return-type "none")
1673   (parameters
1674     '("TpChannelChatState" "state")
1675   )
1676 )
1677
1678 (define-method set_property
1679   (of-object "EmpathyTpChat")
1680   (c-name "empathy_tp_chat_set_property")
1681   (return-type "none")
1682   (parameters
1683     '("const-gchar*" "name")
1684     '("const-GValue*" "value")
1685   )
1686 )
1687
1688
1689
1690 ;; From empathy-tp-roomlist.h
1691
1692 (define-function empathy_tp_roomlist_get_type
1693   (c-name "empathy_tp_roomlist_get_type")
1694   (return-type "GType")
1695 )
1696
1697 (define-function empathy_tp_roomlist_new
1698   (c-name "empathy_tp_roomlist_new")
1699   (is-constructor-of "EmpathyTpRoomlist")
1700   (return-type "EmpathyTpRoomlist*")
1701   (parameters
1702     '("McAccount*" "account")
1703   )
1704 )
1705
1706 (define-method is_listing
1707   (of-object "EmpathyTpRoomlist")
1708   (c-name "empathy_tp_roomlist_is_listing")
1709   (return-type "gboolean")
1710 )
1711
1712 (define-method start
1713   (of-object "EmpathyTpRoomlist")
1714   (c-name "empathy_tp_roomlist_start")
1715   (return-type "none")
1716 )
1717
1718 (define-method stop
1719   (of-object "EmpathyTpRoomlist")
1720   (c-name "empathy_tp_roomlist_stop")
1721   (return-type "none")
1722 )
1723
1724
1725
1726 ;; From empathy-tp-call.h
1727
1728 (define-function empathy_tp_call_get_type
1729   (c-name "empathy_tp_call_get_type")
1730   (return-type "GType")
1731 )
1732
1733 (define-function empathy_tp_call_new
1734   (c-name "empathy_tp_call_new")
1735   (is-constructor-of "EmpathyTpCall")
1736   (return-type "EmpathyTpCall*")
1737   (parameters
1738     '("TpChannel*" "channel")
1739   )
1740 )
1741
1742 (define-method accept_incoming_call
1743   (of-object "EmpathyTpCall")
1744   (c-name "empathy_tp_call_accept_incoming_call")
1745   (return-type "none")
1746 )
1747
1748 (define-method request_video_stream_direction
1749   (of-object "EmpathyTpCall")
1750   (c-name "empathy_tp_call_request_video_stream_direction")
1751   (return-type "none")
1752   (parameters
1753     '("gboolean" "is_sending")
1754   )
1755 )
1756
1757 (define-method add_preview_video
1758   (of-object "EmpathyTpCall")
1759   (c-name "empathy_tp_call_add_preview_video")
1760   (return-type "none")
1761   (parameters
1762     '("guint" "preview_video_socket_id")
1763   )
1764 )
1765
1766 (define-method remove_preview_video
1767   (of-object "EmpathyTpCall")
1768   (c-name "empathy_tp_call_remove_preview_video")
1769   (return-type "none")
1770   (parameters
1771     '("guint" "preview_video_socket_id")
1772   )
1773 )
1774
1775 (define-method add_output_video
1776   (of-object "EmpathyTpCall")
1777   (c-name "empathy_tp_call_add_output_video")
1778   (return-type "none")
1779   (parameters
1780     '("guint" "output_video_socket_id")
1781   )
1782 )
1783
1784 (define-method set_output_volume
1785   (of-object "EmpathyTpCall")
1786   (c-name "empathy_tp_call_set_output_volume")
1787   (return-type "none")
1788   (parameters
1789     '("guint" "volume")
1790   )
1791 )
1792
1793 (define-method mute_output
1794   (of-object "EmpathyTpCall")
1795   (c-name "empathy_tp_call_mute_output")
1796   (return-type "none")
1797   (parameters
1798     '("gboolean" "is_muted")
1799   )
1800 )
1801
1802 (define-method mute_input
1803   (of-object "EmpathyTpCall")
1804   (c-name "empathy_tp_call_mute_input")
1805   (return-type "none")
1806   (parameters
1807     '("gboolean" "is_muted")
1808   )
1809 )
1810
1811
1812
1813 ;; From empathy-tp-tube.h
1814
1815 (define-function empathy_tp_tube_get_type
1816   (c-name "empathy_tp_tube_get_type")
1817   (return-type "GType")
1818 )
1819
1820 (define-function empathy_tp_tube_new
1821   (c-name "empathy_tp_tube_new")
1822   (is-constructor-of "EmpathyTpTube")
1823   (return-type "EmpathyTpTube*")
1824   (parameters
1825     '("TpChannel*" "channel")
1826     '("guint" "tube_id")
1827   )
1828 )
1829
1830 (define-function empathy_tp_tube_new_stream_tube
1831   (c-name "empathy_tp_tube_new_stream_tube")
1832   (return-type "EmpathyTpTube*")
1833   (parameters
1834     '("EmpathyContact*" "contact")
1835     '("TpSocketAddressType" "type")
1836     '("const-gchar*" "hostname")
1837     '("guint" "port")
1838     '("const-gchar*" "service")
1839   )
1840 )
1841
1842 (define-method accept_stream_tube
1843   (of-object "EmpathyTpTube")
1844   (c-name "empathy_tp_tube_accept_stream_tube")
1845   (return-type "none")
1846   (parameters
1847     '("TpSocketAddressType" "type")
1848   )
1849 )
1850
1851 (define-method get_socket
1852   (of-object "EmpathyTpTube")
1853   (c-name "empathy_tp_tube_get_socket")
1854   (return-type "none")
1855   (parameters
1856     '("gchar**" "hostname")
1857     '("guint*" "port")
1858   )
1859 )
1860
1861
1862
1863 ;; From empathy-idle.h
1864
1865 (define-function empathy_idle_get_type
1866   (c-name "empathy_idle_get_type")
1867   (return-type "GType")
1868 )
1869
1870 (define-function empathy_idle_new
1871   (c-name "empathy_idle_new")
1872   (is-constructor-of "EmpathyIdle")
1873   (return-type "EmpathyIdle*")
1874 )
1875
1876 (define-method get_state
1877   (of-object "EmpathyIdle")
1878   (c-name "empathy_idle_get_state")
1879   (return-type "McPresence")
1880 )
1881
1882 (define-method set_state
1883   (of-object "EmpathyIdle")
1884   (c-name "empathy_idle_set_state")
1885   (return-type "none")
1886   (parameters
1887     '("McPresence" "state")
1888   )
1889 )
1890
1891 (define-method get_status
1892   (of-object "EmpathyIdle")
1893   (c-name "empathy_idle_get_status")
1894   (return-type "const-gchar*")
1895 )
1896
1897 (define-method set_status
1898   (of-object "EmpathyIdle")
1899   (c-name "empathy_idle_set_status")
1900   (return-type "none")
1901   (parameters
1902     '("const-gchar*" "status")
1903   )
1904 )
1905
1906 (define-method get_flash_state
1907   (of-object "EmpathyIdle")
1908   (c-name "empathy_idle_get_flash_state")
1909   (return-type "McPresence")
1910 )
1911
1912 (define-method set_flash_state
1913   (of-object "EmpathyIdle")
1914   (c-name "empathy_idle_set_flash_state")
1915   (return-type "none")
1916   (parameters
1917     '("McPresence" "state")
1918   )
1919 )
1920
1921 (define-method set_presence
1922   (of-object "EmpathyIdle")
1923   (c-name "empathy_idle_set_presence")
1924   (return-type "none")
1925   (parameters
1926     '("McPresence" "state")
1927     '("const-gchar*" "status")
1928   )
1929 )
1930
1931 (define-method get_auto_away
1932   (of-object "EmpathyIdle")
1933   (c-name "empathy_idle_get_auto_away")
1934   (return-type "gboolean")
1935 )
1936
1937 (define-method set_auto_away
1938   (of-object "EmpathyIdle")
1939   (c-name "empathy_idle_set_auto_away")
1940   (return-type "none")
1941   (parameters
1942     '("gboolean" "auto_away")
1943   )
1944 )
1945
1946 (define-method get_use_nm
1947   (of-object "EmpathyIdle")
1948   (c-name "empathy_idle_get_use_nm")
1949   (return-type "gboolean")
1950 )
1951
1952 (define-method set_use_nm
1953   (of-object "EmpathyIdle")
1954   (c-name "empathy_idle_set_use_nm")
1955   (return-type "none")
1956   (parameters
1957     '("gboolean" "use_nm")
1958   )
1959 )
1960
1961
1962
1963 ;; From empathy-log-manager.h
1964
1965 (define-function empathy_log_manager_get_type
1966   (c-name "empathy_log_manager_get_type")
1967   (return-type "GType")
1968 )
1969
1970 (define-function empathy_log_manager_new
1971   (c-name "empathy_log_manager_new")
1972   (is-constructor-of "EmpathyLogManager")
1973   (return-type "EmpathyLogManager*")
1974 )
1975
1976 (define-method add_message
1977   (of-object "EmpathyLogManager")
1978   (c-name "empathy_log_manager_add_message")
1979   (return-type "none")
1980   (parameters
1981     '("const-gchar*" "chat_id")
1982     '("gboolean" "chatroom")
1983     '("EmpathyMessage*" "message")
1984   )
1985 )
1986
1987 (define-method exists
1988   (of-object "EmpathyLogManager")
1989   (c-name "empathy_log_manager_exists")
1990   (return-type "gboolean")
1991   (parameters
1992     '("McAccount*" "account")
1993     '("const-gchar*" "chat_id")
1994     '("gboolean" "chatroom")
1995   )
1996 )
1997
1998 (define-method get_dates
1999   (of-object "EmpathyLogManager")
2000   (c-name "empathy_log_manager_get_dates")
2001   (return-type "GList*")
2002   (parameters
2003     '("McAccount*" "account")
2004     '("const-gchar*" "chat_id")
2005     '("gboolean" "chatroom")
2006   )
2007 )
2008
2009 (define-method get_messages_for_file
2010   (of-object "EmpathyLogManager")
2011   (c-name "empathy_log_manager_get_messages_for_file")
2012   (return-type "GList*")
2013   (parameters
2014     '("const-gchar*" "filename")
2015   )
2016 )
2017
2018 (define-method get_messages_for_date
2019   (of-object "EmpathyLogManager")
2020   (c-name "empathy_log_manager_get_messages_for_date")
2021   (return-type "GList*")
2022   (parameters
2023     '("McAccount*" "account")
2024     '("const-gchar*" "chat_id")
2025     '("gboolean" "chatroom")
2026     '("const-gchar*" "date")
2027   )
2028 )
2029
2030 (define-method get_last_messages
2031   (of-object "EmpathyLogManager")
2032   (c-name "empathy_log_manager_get_last_messages")
2033   (return-type "GList*")
2034   (parameters
2035     '("McAccount*" "account")
2036     '("const-gchar*" "chat_id")
2037     '("gboolean" "chatroom")
2038   )
2039 )
2040
2041 (define-method get_messages_for_file
2042   (of-object "EmpathyLogManager")
2043   (c-name "empathy_log_manager_get_messages_for_file")
2044   (return-type "GList*")
2045   (parameters
2046     '("const-gchar*" "filename")
2047   )
2048 )
2049
2050 (define-method get_chats
2051   (of-object "EmpathyLogManager")
2052   (c-name "empathy_log_manager_get_chats")
2053   (return-type "GList*")
2054   (parameters
2055     '("McAccount*" "account")
2056   )
2057 )
2058
2059 (define-method search_new
2060   (of-object "EmpathyLogManager")
2061   (c-name "empathy_log_manager_search_new")
2062   (return-type "GList*")
2063   (parameters
2064     '("const-gchar*" "text")
2065   )
2066 )
2067
2068 (define-function empathy_log_manager_search_free
2069   (c-name "empathy_log_manager_search_free")
2070   (return-type "none")
2071   (parameters
2072     '("GList*" "hits")
2073   )
2074 )
2075
2076 (define-function empathy_log_manager_get_date_readable
2077   (c-name "empathy_log_manager_get_date_readable")
2078   (return-type "gchar*")
2079   (parameters
2080     '("const-gchar*" "date")
2081   )
2082 )
2083
2084
2085
2086 ;; From empathy-irc-network-manager.h
2087
2088 (define-function empathy_irc_network_manager_get_type
2089   (c-name "empathy_irc_network_manager_get_type")
2090   (return-type "GType")
2091 )
2092
2093 (define-function empathy_irc_network_manager_new
2094   (c-name "empathy_irc_network_manager_new")
2095   (is-constructor-of "EmpathyIrcNetworkManager")
2096   (return-type "EmpathyIrcNetworkManager*")
2097   (parameters
2098     '("const-gchar*" "global_file")
2099     '("const-gchar*" "user_file")
2100   )
2101 )
2102
2103 (define-method add
2104   (of-object "EmpathyIrcNetworkManager")
2105   (c-name "empathy_irc_network_manager_add")
2106   (return-type "none")
2107   (parameters
2108     '("EmpathyIrcNetwork*" "network")
2109   )
2110 )
2111
2112 (define-method remove
2113   (of-object "EmpathyIrcNetworkManager")
2114   (c-name "empathy_irc_network_manager_remove")
2115   (return-type "none")
2116   (parameters
2117     '("EmpathyIrcNetwork*" "network")
2118   )
2119 )
2120
2121 (define-method get_networks
2122   (of-object "EmpathyIrcNetworkManager")
2123   (c-name "empathy_irc_network_manager_get_networks")
2124   (return-type "GSList*")
2125 )
2126
2127 (define-method find_network_by_address
2128   (of-object "EmpathyIrcNetworkManager")
2129   (c-name "empathy_irc_network_manager_find_network_by_address")
2130   (return-type "EmpathyIrcNetwork*")
2131   (parameters
2132     '("const-gchar*" "address")
2133   )
2134 )
2135
2136
2137
2138 ;; From empathy-irc-network.h
2139
2140 (define-function empathy_irc_network_get_type
2141   (c-name "empathy_irc_network_get_type")
2142   (return-type "GType")
2143 )
2144
2145 (define-function empathy_irc_network_new
2146   (c-name "empathy_irc_network_new")
2147   (is-constructor-of "EmpathyIrcNetwork")
2148   (return-type "EmpathyIrcNetwork*")
2149   (parameters
2150     '("const-gchar*" "name")
2151   )
2152 )
2153
2154 (define-method get_servers
2155   (of-object "EmpathyIrcNetwork")
2156   (c-name "empathy_irc_network_get_servers")
2157   (return-type "GSList*")
2158 )
2159
2160 (define-method append_server
2161   (of-object "EmpathyIrcNetwork")
2162   (c-name "empathy_irc_network_append_server")
2163   (return-type "none")
2164   (parameters
2165     '("EmpathyIrcServer*" "server")
2166   )
2167 )
2168
2169 (define-method remove_server
2170   (of-object "EmpathyIrcNetwork")
2171   (c-name "empathy_irc_network_remove_server")
2172   (return-type "none")
2173   (parameters
2174     '("EmpathyIrcServer*" "server")
2175   )
2176 )
2177
2178 (define-method set_server_position
2179   (of-object "EmpathyIrcNetwork")
2180   (c-name "empathy_irc_network_set_server_position")
2181   (return-type "none")
2182   (parameters
2183     '("EmpathyIrcServer*" "server")
2184     '("gint" "pos")
2185   )
2186 )
2187
2188
2189
2190 ;; From empathy-irc-server.h
2191
2192 (define-function empathy_irc_server_get_type
2193   (c-name "empathy_irc_server_get_type")
2194   (return-type "GType")
2195 )
2196
2197 (define-function empathy_irc_server_new
2198   (c-name "empathy_irc_server_new")
2199   (is-constructor-of "EmpathyIrcServer")
2200   (return-type "EmpathyIrcServer*")
2201   (parameters
2202     '("const-gchar*" "address")
2203     '("guint" "port")
2204     '("gboolean" "ssl")
2205   )
2206 )
2207
2208
2209
2210 ;; From empathy-tube-handler.h
2211
2212 (define-function empathy_tube_handler_get_type
2213   (c-name "empathy_tube_handler_get_type")
2214   (return-type "GType")
2215 )
2216
2217 (define-function empathy_tube_handler_new
2218   (c-name "empathy_tube_handler_new")
2219   (is-constructor-of "EmpathyTubeHandler")
2220   (return-type "EmpathyTubeHandler*")
2221   (parameters
2222     '("TpTubeType" "type")
2223     '("const-gchar*" "service")
2224   )
2225 )
2226
2227 (define-function empathy_tube_handler_build_bus_name
2228   (c-name "empathy_tube_handler_build_bus_name")
2229   (return-type "gchar*")
2230   (parameters
2231     '("TpTubeType" "type")
2232     '("const-gchar*" "service")
2233   )
2234 )
2235
2236 (define-function empathy_tube_handler_build_object_path
2237   (c-name "empathy_tube_handler_build_object_path")
2238   (return-type "gchar*")
2239   (parameters
2240     '("TpTubeType" "type")
2241     '("const-gchar*" "service")
2242   )
2243 )
2244
2245