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