]> git.0d.be Git - empathy.git/blob - python/pyempathy/pyempathy.defs
55ca3d6dfc417811733d9960d69262388558c754
[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_call_with_contact
481   (c-name "empathy_call_with_contact")
482   (return-type "none")
483   (parameters
484     '("EmpathyContact*" "contact")
485   )
486 )
487
488 (define-function empathy_call_with_contact_id
489   (c-name "empathy_call_with_contact_id")
490   (return-type "none")
491   (parameters
492     '("McAccount*" "account")
493     '("const-gchar*" "contact_id")
494   )
495 )
496
497 (define-function empathy_chat_with_contact
498   (c-name "empathy_chat_with_contact")
499   (return-type "none")
500   (parameters
501     '("EmpathyContact*" "contact")
502   )
503 )
504
505 (define-function empathy_chat_with_contact_id
506   (c-name "empathy_chat_with_contact_id")
507   (return-type "none")
508   (parameters
509     '("McAccount*" "account")
510     '("const-gchar*" "contact_id")
511   )
512 )
513
514 (define-function empathy_presence_get_default_message
515   (c-name "empathy_presence_get_default_message")
516   (return-type "const-gchar*")
517   (parameters
518     '("McPresence" "presence")
519   )
520 )
521
522 (define-function empathy_presence_to_str
523   (c-name "empathy_presence_to_str")
524   (return-type "const-gchar*")
525   (parameters
526     '("McPresence" "presence")
527   )
528 )
529
530 (define-function empathy_presence_from_str
531   (c-name "empathy_presence_from_str")
532   (return-type "McPresence")
533   (parameters
534     '("const-gchar*" "str")
535   )
536 )
537
538 (define-function empathy_file_lookup
539   (c-name "empathy_file_lookup")
540   (return-type "gchar*")
541   (parameters
542     '("const-gchar*" "filename")
543     '("const-gchar*" "subdir")
544   )
545 )
546
547 (define-function empathy_run_until_ready
548   (c-name "empathy_run_until_ready")
549   (return-type "none")
550   (parameters
551     '("gpointer" "object")
552   )
553 )
554
555 (define-function empathy_run_until_ready_full
556   (c-name "empathy_run_until_ready_full")
557   (return-type "none")
558   (parameters
559     '("gpointer" "object")
560     '("const-gchar*" "signal")
561     '("EmpathyRunUntilReadyFunc" "func")
562     '("gpointer" "user_data")
563     '("GMainLoop**" "loop")
564   )
565 )
566
567 (define-function empathy_channel_get_account
568   (c-name "empathy_channel_get_account")
569   (return-type "McAccount*")
570   (parameters
571     '("TpChannel*" "channel")
572   )
573 )
574
575
576
577 ;; From empathy-message.h
578
579 (define-function empathy_message_get_gtype
580   (c-name "empathy_message_get_gtype")
581   (return-type "GType")
582 )
583
584 (define-function empathy_message_new
585   (c-name "empathy_message_new")
586   (is-constructor-of "EmpathyMessage")
587   (return-type "EmpathyMessage*")
588   (parameters
589     '("const-gchar*" "body")
590   )
591 )
592
593 (define-method get_type
594   (of-object "EmpathyMessage")
595   (c-name "empathy_message_get_type")
596   (return-type "EmpathyMessageType")
597 )
598
599 (define-method set_type
600   (of-object "EmpathyMessage")
601   (c-name "empathy_message_set_type")
602   (return-type "none")
603   (parameters
604     '("EmpathyMessageType" "type")
605   )
606 )
607
608 (define-method get_sender
609   (of-object "EmpathyMessage")
610   (c-name "empathy_message_get_sender")
611   (return-type "EmpathyContact*")
612 )
613
614 (define-method set_sender
615   (of-object "EmpathyMessage")
616   (c-name "empathy_message_set_sender")
617   (return-type "none")
618   (parameters
619     '("EmpathyContact*" "contact")
620   )
621 )
622
623 (define-method get_receiver
624   (of-object "EmpathyMessage")
625   (c-name "empathy_message_get_receiver")
626   (return-type "EmpathyContact*")
627 )
628
629 (define-method set_receiver
630   (of-object "EmpathyMessage")
631   (c-name "empathy_message_set_receiver")
632   (return-type "none")
633   (parameters
634     '("EmpathyContact*" "contact")
635   )
636 )
637
638 (define-method get_body
639   (of-object "EmpathyMessage")
640   (c-name "empathy_message_get_body")
641   (return-type "const-gchar*")
642 )
643
644 (define-method set_body
645   (of-object "EmpathyMessage")
646   (c-name "empathy_message_set_body")
647   (return-type "none")
648   (parameters
649     '("const-gchar*" "body")
650   )
651 )
652
653 (define-method get_timestamp
654   (of-object "EmpathyMessage")
655   (c-name "empathy_message_get_timestamp")
656   (return-type "time_t")
657 )
658
659 (define-method set_timestamp
660   (of-object "EmpathyMessage")
661   (c-name "empathy_message_set_timestamp")
662   (return-type "none")
663   (parameters
664     '("time_t" "timestamp")
665   )
666 )
667
668 (define-method get_date_and_time
669   (of-object "EmpathyMessage")
670   (c-name "empathy_message_get_date_and_time")
671   (return-type "GDate*")
672   (parameters
673     '("time_t*" "timestamp")
674   )
675 )
676
677 (define-method should_highlight
678   (of-object "EmpathyMessage")
679   (c-name "empathy_message_should_highlight")
680   (return-type "gboolean")
681 )
682
683 (define-function empathy_message_type_from_str
684   (c-name "empathy_message_type_from_str")
685   (return-type "EmpathyMessageType")
686   (parameters
687     '("const-gchar*" "type_str")
688   )
689 )
690
691 (define-method to_str
692   (of-object "EmpathyMessageType")
693   (c-name "empathy_message_type_to_str")
694   (return-type "const-gchar*")
695 )
696
697
698
699 ;; From empathy-chatroom-manager.h
700
701 (define-function empathy_chatroom_manager_get_type
702   (c-name "empathy_chatroom_manager_get_type")
703   (return-type "GType")
704 )
705
706 (define-function empathy_chatroom_manager_new
707   (c-name "empathy_chatroom_manager_new")
708   (is-constructor-of "EmpathyChatroomManager")
709   (return-type "EmpathyChatroomManager*")
710 )
711
712 (define-method add
713   (of-object "EmpathyChatroomManager")
714   (c-name "empathy_chatroom_manager_add")
715   (return-type "gboolean")
716   (parameters
717     '("EmpathyChatroom*" "chatroom")
718   )
719 )
720
721 (define-method remove
722   (of-object "EmpathyChatroomManager")
723   (c-name "empathy_chatroom_manager_remove")
724   (return-type "none")
725   (parameters
726     '("EmpathyChatroom*" "chatroom")
727   )
728 )
729
730 (define-method find
731   (of-object "EmpathyChatroomManager")
732   (c-name "empathy_chatroom_manager_find")
733   (return-type "EmpathyChatroom*")
734   (parameters
735     '("McAccount*" "account")
736     '("const-gchar*" "room")
737   )
738 )
739
740 (define-method get_chatrooms
741   (of-object "EmpathyChatroomManager")
742   (c-name "empathy_chatroom_manager_get_chatrooms")
743   (return-type "GList*")
744   (parameters
745     '("McAccount*" "account")
746   )
747 )
748
749 (define-method get_count
750   (of-object "EmpathyChatroomManager")
751   (c-name "empathy_chatroom_manager_get_count")
752   (return-type "guint")
753   (parameters
754     '("McAccount*" "account")
755   )
756 )
757
758 (define-method store
759   (of-object "EmpathyChatroomManager")
760   (c-name "empathy_chatroom_manager_store")
761   (return-type "none")
762 )
763
764
765
766 ;; From empathy-chatroom.h
767
768 (define-function empathy_chatroom_get_type
769   (c-name "empathy_chatroom_get_type")
770   (return-type "GType")
771 )
772
773 (define-function empathy_chatroom_new
774   (c-name "empathy_chatroom_new")
775   (is-constructor-of "EmpathyChatroom")
776   (return-type "EmpathyChatroom*")
777   (parameters
778     '("McAccount*" "account")
779     '("const-gchar*" "room")
780   )
781 )
782
783 (define-function empathy_chatroom_new_full
784   (c-name "empathy_chatroom_new_full")
785   (return-type "EmpathyChatroom*")
786   (parameters
787     '("McAccount*" "account")
788     '("const-gchar*" "room")
789     '("const-gchar*" "name")
790     '("gboolean" "auto_connect")
791   )
792 )
793
794 (define-method get_account
795   (of-object "EmpathyChatroom")
796   (c-name "empathy_chatroom_get_account")
797   (return-type "McAccount*")
798 )
799
800 (define-method set_account
801   (of-object "EmpathyChatroom")
802   (c-name "empathy_chatroom_set_account")
803   (return-type "none")
804   (parameters
805     '("McAccount*" "account")
806   )
807 )
808
809 (define-method get_room
810   (of-object "EmpathyChatroom")
811   (c-name "empathy_chatroom_get_room")
812   (return-type "const-gchar*")
813 )
814
815 (define-method set_room
816   (of-object "EmpathyChatroom")
817   (c-name "empathy_chatroom_set_room")
818   (return-type "none")
819   (parameters
820     '("const-gchar*" "room")
821   )
822 )
823
824 (define-method get_name
825   (of-object "EmpathyChatroom")
826   (c-name "empathy_chatroom_get_name")
827   (return-type "const-gchar*")
828 )
829
830 (define-method set_name
831   (of-object "EmpathyChatroom")
832   (c-name "empathy_chatroom_set_name")
833   (return-type "none")
834   (parameters
835     '("const-gchar*" "name")
836   )
837 )
838
839 (define-method get_auto_connect
840   (of-object "EmpathyChatroom")
841   (c-name "empathy_chatroom_get_auto_connect")
842   (return-type "gboolean")
843 )
844
845 (define-method set_auto_connect
846   (of-object "EmpathyChatroom")
847   (c-name "empathy_chatroom_set_auto_connect")
848   (return-type "none")
849   (parameters
850     '("gboolean" "auto_connect")
851   )
852 )
853
854 (define-function empathy_chatroom_equal
855   (c-name "empathy_chatroom_equal")
856   (return-type "gboolean")
857   (parameters
858     '("gconstpointer" "v1")
859     '("gconstpointer" "v2")
860   )
861 )
862
863
864
865 ;; From empathy-contact.h
866
867 (define-function empathy_contact_get_type
868   (c-name "empathy_contact_get_type")
869   (return-type "GType")
870 )
871
872 (define-function empathy_contact_new
873   (c-name "empathy_contact_new")
874   (is-constructor-of "EmpathyContact")
875   (return-type "EmpathyContact*")
876   (parameters
877     '("McAccount*" "account")
878   )
879 )
880
881 (define-function empathy_contact_new_full
882   (c-name "empathy_contact_new_full")
883   (return-type "EmpathyContact*")
884   (parameters
885     '("McAccount*" "account")
886     '("const-gchar*" "id")
887     '("const-gchar*" "name")
888   )
889 )
890
891 (define-method get_id
892   (of-object "EmpathyContact")
893   (c-name "empathy_contact_get_id")
894   (return-type "const-gchar*")
895 )
896
897 (define-method set_id
898   (of-object "EmpathyContact")
899   (c-name "empathy_contact_set_id")
900   (return-type "none")
901   (parameters
902     '("const-gchar*" "id")
903   )
904 )
905
906 (define-method get_name
907   (of-object "EmpathyContact")
908   (c-name "empathy_contact_get_name")
909   (return-type "const-gchar*")
910 )
911
912 (define-method set_name
913   (of-object "EmpathyContact")
914   (c-name "empathy_contact_set_name")
915   (return-type "none")
916   (parameters
917     '("const-gchar*" "name")
918   )
919 )
920
921 (define-method get_avatar
922   (of-object "EmpathyContact")
923   (c-name "empathy_contact_get_avatar")
924   (return-type "EmpathyAvatar*")
925 )
926
927 (define-method set_avatar
928   (of-object "EmpathyContact")
929   (c-name "empathy_contact_set_avatar")
930   (return-type "none")
931   (parameters
932     '("EmpathyAvatar*" "avatar")
933   )
934 )
935
936 (define-method get_account
937   (of-object "EmpathyContact")
938   (c-name "empathy_contact_get_account")
939   (return-type "McAccount*")
940 )
941
942 (define-method set_account
943   (of-object "EmpathyContact")
944   (c-name "empathy_contact_set_account")
945   (return-type "none")
946   (parameters
947     '("McAccount*" "account")
948   )
949 )
950
951 (define-method get_presence
952   (of-object "EmpathyContact")
953   (c-name "empathy_contact_get_presence")
954   (return-type "McPresence")
955 )
956
957 (define-method set_presence
958   (of-object "EmpathyContact")
959   (c-name "empathy_contact_set_presence")
960   (return-type "none")
961   (parameters
962     '("McPresence" "presence")
963   )
964 )
965
966 (define-method get_presence_message
967   (of-object "EmpathyContact")
968   (c-name "empathy_contact_get_presence_message")
969   (return-type "const-gchar*")
970 )
971
972 (define-method set_presence_message
973   (of-object "EmpathyContact")
974   (c-name "empathy_contact_set_presence_message")
975   (return-type "none")
976   (parameters
977     '("const-gchar*" "message")
978   )
979 )
980
981 (define-method get_handle
982   (of-object "EmpathyContact")
983   (c-name "empathy_contact_get_handle")
984   (return-type "guint")
985 )
986
987 (define-method set_handle
988   (of-object "EmpathyContact")
989   (c-name "empathy_contact_set_handle")
990   (return-type "none")
991   (parameters
992     '("guint" "handle")
993   )
994 )
995
996 (define-method get_capabilities
997   (of-object "EmpathyContact")
998   (c-name "empathy_contact_get_capabilities")
999   (return-type "EmpathyCapabilities")
1000 )
1001
1002 (define-method set_capabilities
1003   (of-object "EmpathyContact")
1004   (c-name "empathy_contact_set_capabilities")
1005   (return-type "none")
1006   (parameters
1007     '("EmpathyCapabilities" "capabilities")
1008   )
1009 )
1010
1011 (define-method get_ready
1012   (of-object "EmpathyContact")
1013   (c-name "empathy_contact_get_ready")
1014   (return-type "EmpathyContactReady")
1015 )
1016
1017 (define-method is_user
1018   (of-object "EmpathyContact")
1019   (c-name "empathy_contact_is_user")
1020   (return-type "gboolean")
1021 )
1022
1023 (define-method set_is_user
1024   (of-object "EmpathyContact")
1025   (c-name "empathy_contact_set_is_user")
1026   (return-type "none")
1027   (parameters
1028     '("gboolean" "is_user")
1029   )
1030 )
1031
1032 (define-method is_online
1033   (of-object "EmpathyContact")
1034   (c-name "empathy_contact_is_online")
1035   (return-type "gboolean")
1036 )
1037
1038 (define-method get_status
1039   (of-object "EmpathyContact")
1040   (c-name "empathy_contact_get_status")
1041   (return-type "const-gchar*")
1042 )
1043
1044 (define-method can_voip
1045   (of-object "EmpathyContact")
1046   (c-name "empathy_contact_can_voip")
1047   (return-type "gboolean")
1048 )
1049
1050 (define-function empathy_contact_equal
1051   (c-name "empathy_contact_equal")
1052   (return-type "gboolean")
1053   (parameters
1054     '("gconstpointer" "v1")
1055     '("gconstpointer" "v2")
1056   )
1057 )
1058
1059 (define-function empathy_contact_hash
1060   (c-name "empathy_contact_hash")
1061   (return-type "guint")
1062   (parameters
1063     '("gconstpointer" "key")
1064   )
1065 )
1066
1067 (define-method run_until_ready
1068   (of-object "EmpathyContact")
1069   (c-name "empathy_contact_run_until_ready")
1070   (return-type "none")
1071   (parameters
1072     '("EmpathyContactReady" "ready")
1073     '("GMainLoop**" "loop")
1074   )
1075 )
1076
1077
1078
1079 ;; From empathy-contact-groups.h
1080
1081 (define-function empathy_contact_groups_get_all
1082   (c-name "empathy_contact_groups_get_all")
1083   (return-type "none")
1084 )
1085
1086 (define-function empathy_contact_group_get_expanded
1087   (c-name "empathy_contact_group_get_expanded")
1088   (return-type "gboolean")
1089   (parameters
1090     '("const-gchar*" "group")
1091   )
1092 )
1093
1094 (define-function empathy_contact_group_set_expanded
1095   (c-name "empathy_contact_group_set_expanded")
1096   (return-type "none")
1097   (parameters
1098     '("const-gchar*" "group")
1099     '("gboolean" "expanded")
1100   )
1101 )
1102
1103
1104
1105 ;; From empathy-contact-list.h
1106
1107 (define-function empathy_contact_list_get_type
1108   (c-name "empathy_contact_list_get_type")
1109   (return-type "GType")
1110 )
1111
1112 (define-method add
1113   (of-object "EmpathyContactList")
1114   (c-name "empathy_contact_list_add")
1115   (return-type "none")
1116   (parameters
1117     '("EmpathyContact*" "contact")
1118     '("const-gchar*" "message")
1119   )
1120 )
1121
1122 (define-method remove
1123   (of-object "EmpathyContactList")
1124   (c-name "empathy_contact_list_remove")
1125   (return-type "none")
1126   (parameters
1127     '("EmpathyContact*" "contact")
1128     '("const-gchar*" "message")
1129   )
1130 )
1131
1132 (define-method get_members
1133   (of-object "EmpathyContactList")
1134   (c-name "empathy_contact_list_get_members")
1135   (return-type "GList*")
1136 )
1137
1138 (define-method get_pendings
1139   (of-object "EmpathyContactList")
1140   (c-name "empathy_contact_list_get_pendings")
1141   (return-type "GList*")
1142 )
1143
1144 (define-method get_all_groups
1145   (of-object "EmpathyContactList")
1146   (c-name "empathy_contact_list_get_all_groups")
1147   (return-type "GList*")
1148 )
1149
1150 (define-method get_groups
1151   (of-object "EmpathyContactList")
1152   (c-name "empathy_contact_list_get_groups")
1153   (return-type "GList*")
1154   (parameters
1155     '("EmpathyContact*" "contact")
1156   )
1157 )
1158
1159 (define-method add_to_group
1160   (of-object "EmpathyContactList")
1161   (c-name "empathy_contact_list_add_to_group")
1162   (return-type "none")
1163   (parameters
1164     '("EmpathyContact*" "contact")
1165     '("const-gchar*" "group")
1166   )
1167 )
1168
1169 (define-method remove_from_group
1170   (of-object "EmpathyContactList")
1171   (c-name "empathy_contact_list_remove_from_group")
1172   (return-type "none")
1173   (parameters
1174     '("EmpathyContact*" "contact")
1175     '("const-gchar*" "group")
1176   )
1177 )
1178
1179 (define-method rename_group
1180   (of-object "EmpathyContactList")
1181   (c-name "empathy_contact_list_rename_group")
1182   (return-type "none")
1183   (parameters
1184     '("const-gchar*" "old_group")
1185     '("const-gchar*" "new_group")
1186   )
1187 )
1188
1189 (define-method remove_group
1190   (of-object "EmpathyContactList")
1191   (c-name "empathy_contact_list_remove_group")
1192   (return-type "none")
1193   (parameters
1194     '("const-gchar*" "group")
1195   )
1196 )
1197
1198
1199
1200 ;; From empathy-contact-manager.h
1201
1202 (define-function empathy_contact_manager_get_type
1203   (c-name "empathy_contact_manager_get_type")
1204   (return-type "GType")
1205 )
1206
1207 (define-function empathy_contact_manager_new
1208   (c-name "empathy_contact_manager_new")
1209   (is-constructor-of "EmpathyContactManager")
1210   (return-type "EmpathyContactManager*")
1211 )
1212
1213 (define-method get_list
1214   (of-object "EmpathyContactManager")
1215   (c-name "empathy_contact_manager_get_list")
1216   (return-type "EmpathyTpContactList*")
1217   (parameters
1218     '("McAccount*" "account")
1219   )
1220 )
1221
1222
1223
1224 ;; From empathy-contact-factory.h
1225
1226 (define-function empathy_contact_factory_get_type
1227   (c-name "empathy_contact_factory_get_type")
1228   (return-type "GType")
1229 )
1230
1231 (define-function empathy_contact_factory_new
1232   (c-name "empathy_contact_factory_new")
1233   (is-constructor-of "EmpathyContactFactory")
1234   (return-type "EmpathyContactFactory*")
1235 )
1236
1237 (define-method get_tp_factory
1238   (of-object "EmpathyContactFactory")
1239   (c-name "empathy_contact_factory_get_tp_factory")
1240   (return-type "EmpathyTpContactFactory*")
1241   (parameters
1242     '("McAccount*" "account")
1243   )
1244 )
1245
1246 (define-method get_user
1247   (of-object "EmpathyContactFactory")
1248   (c-name "empathy_contact_factory_get_user")
1249   (return-type "EmpathyContact*")
1250   (parameters
1251     '("McAccount*" "account")
1252   )
1253 )
1254
1255 (define-method get_from_id
1256   (of-object "EmpathyContactFactory")
1257   (c-name "empathy_contact_factory_get_from_id")
1258   (return-type "EmpathyContact*")
1259   (parameters
1260     '("McAccount*" "account")
1261     '("const-gchar*" "id")
1262   )
1263 )
1264
1265 (define-method get_from_handle
1266   (of-object "EmpathyContactFactory")
1267   (c-name "empathy_contact_factory_get_from_handle")
1268   (return-type "EmpathyContact*")
1269   (parameters
1270     '("McAccount*" "account")
1271     '("guint" "handle")
1272   )
1273 )
1274
1275 (define-method get_from_handles
1276   (of-object "EmpathyContactFactory")
1277   (c-name "empathy_contact_factory_get_from_handles")
1278   (return-type "GList*")
1279   (parameters
1280     '("McAccount*" "account")
1281     '("const-GArray*" "handles")
1282   )
1283 )
1284
1285 (define-method set_alias
1286   (of-object "EmpathyContactFactory")
1287   (c-name "empathy_contact_factory_set_alias")
1288   (return-type "none")
1289   (parameters
1290     '("EmpathyContact*" "contact")
1291     '("const-gchar*" "alias")
1292   )
1293 )
1294
1295 (define-method set_avatar
1296   (of-object "EmpathyContactFactory")
1297   (c-name "empathy_contact_factory_set_avatar")
1298   (return-type "none")
1299   (parameters
1300     '("McAccount*" "account")
1301     '("const-gchar*" "data")
1302     '("gsize" "size")
1303     '("const-gchar*" "mime_type")
1304   )
1305 )
1306
1307
1308
1309 ;; From empathy-tp-contact-factory.h
1310
1311 (define-function empathy_tp_contact_factory_get_type
1312   (c-name "empathy_tp_contact_factory_get_type")
1313   (return-type "GType")
1314 )
1315
1316 (define-function empathy_tp_contact_factory_new
1317   (c-name "empathy_tp_contact_factory_new")
1318   (is-constructor-of "EmpathyTpContactFactory")
1319   (return-type "EmpathyTpContactFactory*")
1320   (parameters
1321     '("McAccount*" "account")
1322   )
1323 )
1324
1325 (define-method get_user
1326   (of-object "EmpathyTpContactFactory")
1327   (c-name "empathy_tp_contact_factory_get_user")
1328   (return-type "EmpathyContact*")
1329 )
1330
1331 (define-method get_from_id
1332   (of-object "EmpathyTpContactFactory")
1333   (c-name "empathy_tp_contact_factory_get_from_id")
1334   (return-type "EmpathyContact*")
1335   (parameters
1336     '("const-gchar*" "id")
1337   )
1338 )
1339
1340 (define-method get_from_handle
1341   (of-object "EmpathyTpContactFactory")
1342   (c-name "empathy_tp_contact_factory_get_from_handle")
1343   (return-type "EmpathyContact*")
1344   (parameters
1345     '("guint" "handle")
1346   )
1347 )
1348
1349 (define-method get_from_handles
1350   (of-object "EmpathyTpContactFactory")
1351   (c-name "empathy_tp_contact_factory_get_from_handles")
1352   (return-type "GList*")
1353   (parameters
1354     '("const-GArray*" "handles")
1355   )
1356 )
1357
1358 (define-method set_alias
1359   (of-object "EmpathyTpContactFactory")
1360   (c-name "empathy_tp_contact_factory_set_alias")
1361   (return-type "none")
1362   (parameters
1363     '("EmpathyContact*" "contact")
1364     '("const-gchar*" "alias")
1365   )
1366 )
1367
1368 (define-method set_avatar
1369   (of-object "EmpathyTpContactFactory")
1370   (c-name "empathy_tp_contact_factory_set_avatar")
1371   (return-type "none")
1372   (parameters
1373     '("const-gchar*" "data")
1374     '("gsize" "size")
1375     '("const-gchar*" "mime_type")
1376   )
1377 )
1378
1379 (define-method is_ready
1380   (of-object "EmpathyTpContactFactory")
1381   (c-name "empathy_tp_contact_factory_is_ready")
1382   (return-type "gboolean")
1383 )
1384
1385
1386
1387 ;; From empathy-tp-group.h
1388
1389 (define-function empathy_tp_group_get_type
1390   (c-name "empathy_tp_group_get_type")
1391   (return-type "GType")
1392 )
1393
1394 (define-function empathy_tp_group_new
1395   (c-name "empathy_tp_group_new")
1396   (is-constructor-of "EmpathyTpGroup")
1397   (return-type "EmpathyTpGroup*")
1398   (parameters
1399     '("TpChannel*" "channel")
1400   )
1401 )
1402
1403 (define-method close
1404   (of-object "EmpathyTpGroup")
1405   (c-name "empathy_tp_group_close")
1406   (return-type "none")
1407 )
1408
1409 (define-method add_members
1410   (of-object "EmpathyTpGroup")
1411   (c-name "empathy_tp_group_add_members")
1412   (return-type "none")
1413   (parameters
1414     '("GList*" "contacts")
1415     '("const-gchar*" "message")
1416   )
1417 )
1418
1419 (define-method add_member
1420   (of-object "EmpathyTpGroup")
1421   (c-name "empathy_tp_group_add_member")
1422   (return-type "none")
1423   (parameters
1424     '("EmpathyContact*" "contact")
1425     '("const-gchar*" "message")
1426   )
1427 )
1428
1429 (define-method remove_members
1430   (of-object "EmpathyTpGroup")
1431   (c-name "empathy_tp_group_remove_members")
1432   (return-type "none")
1433   (parameters
1434     '("GList*" "contacts")
1435     '("const-gchar*" "message")
1436   )
1437 )
1438
1439 (define-method remove_member
1440   (of-object "EmpathyTpGroup")
1441   (c-name "empathy_tp_group_remove_member")
1442   (return-type "none")
1443   (parameters
1444     '("EmpathyContact*" "contact")
1445     '("const-gchar*" "message")
1446   )
1447 )
1448
1449 (define-method get_members
1450   (of-object "EmpathyTpGroup")
1451   (c-name "empathy_tp_group_get_members")
1452   (return-type "GList*")
1453 )
1454
1455 (define-method get_local_pendings
1456   (of-object "EmpathyTpGroup")
1457   (c-name "empathy_tp_group_get_local_pendings")
1458   (return-type "GList*")
1459 )
1460
1461 (define-method get_remote_pendings
1462   (of-object "EmpathyTpGroup")
1463   (c-name "empathy_tp_group_get_remote_pendings")
1464   (return-type "GList*")
1465 )
1466
1467 (define-method get_name
1468   (of-object "EmpathyTpGroup")
1469   (c-name "empathy_tp_group_get_name")
1470   (return-type "const-gchar*")
1471 )
1472
1473 (define-method get_self_contact
1474   (of-object "EmpathyTpGroup")
1475   (c-name "empathy_tp_group_get_self_contact")
1476   (return-type "EmpathyContact*")
1477 )
1478
1479 (define-method is_member
1480   (of-object "EmpathyTpGroup")
1481   (c-name "empathy_tp_group_is_member")
1482   (return-type "gboolean")
1483   (parameters
1484     '("EmpathyContact*" "contact")
1485   )
1486 )
1487
1488 (define-method is_ready
1489   (of-object "EmpathyTpGroup")
1490   (c-name "empathy_tp_group_is_ready")
1491   (return-type "gboolean")
1492 )
1493
1494 (define-method get_invitation
1495   (of-object "EmpathyTpGroup")
1496   (c-name "empathy_tp_group_get_invitation")
1497   (return-type "EmpathyPendingInfo*")
1498   (parameters
1499     '("EmpathyContact**" "remote_contact")
1500   )
1501 )
1502
1503 (define-function empathy_pending_info_new
1504   (c-name "empathy_pending_info_new")
1505   (is-constructor-of "EmpathyPendingInfo")
1506   (return-type "EmpathyPendingInfo*")
1507   (parameters
1508     '("EmpathyContact*" "member")
1509     '("EmpathyContact*" "actor")
1510     '("const-gchar*" "message")
1511   )
1512 )
1513
1514 (define-method free
1515   (of-object "EmpathyPendingInfo")
1516   (c-name "empathy_pending_info_free")
1517   (return-type "none")
1518 )
1519
1520
1521
1522 ;; From empathy-tp-contact-list.h
1523
1524 (define-function empathy_tp_contact_list_get_type
1525   (c-name "empathy_tp_contact_list_get_type")
1526   (return-type "GType")
1527 )
1528
1529 (define-function empathy_tp_contact_list_new
1530   (c-name "empathy_tp_contact_list_new")
1531   (is-constructor-of "EmpathyTpContactList")
1532   (return-type "EmpathyTpContactList*")
1533   (parameters
1534     '("McAccount*" "account")
1535   )
1536 )
1537
1538 (define-method get_account
1539   (of-object "EmpathyTpContactList")
1540   (c-name "empathy_tp_contact_list_get_account")
1541   (return-type "McAccount*")
1542 )
1543
1544
1545
1546 ;; From empathy-tp-chat.h
1547
1548 (define-function empathy_tp_chat_get_type
1549   (c-name "empathy_tp_chat_get_type")
1550   (return-type "GType")
1551 )
1552
1553 (define-function empathy_tp_chat_new
1554   (c-name "empathy_tp_chat_new")
1555   (is-constructor-of "EmpathyTpChat")
1556   (return-type "EmpathyTpChat*")
1557   (parameters
1558     '("TpChannel*" "channel")
1559     '("gboolean" "acknowledge")
1560   )
1561 )
1562
1563 (define-method get_id
1564   (of-object "EmpathyTpChat")
1565   (c-name "empathy_tp_chat_get_id")
1566   (return-type "const-gchar*")
1567 )
1568
1569 (define-method get_remote_contact
1570   (of-object "EmpathyTpChat")
1571   (c-name "empathy_tp_chat_get_remote_contact")
1572   (return-type "EmpathyContact*")
1573 )
1574
1575 (define-method get_account
1576   (of-object "EmpathyTpChat")
1577   (c-name "empathy_tp_chat_get_account")
1578   (return-type "McAccount*")
1579 )
1580
1581 (define-method is_ready
1582   (of-object "EmpathyTpChat")
1583   (c-name "empathy_tp_chat_is_ready")
1584   (return-type "gboolean")
1585 )
1586
1587 (define-method send
1588   (of-object "EmpathyTpChat")
1589   (c-name "empathy_tp_chat_send")
1590   (return-type "none")
1591   (parameters
1592     '("EmpathyMessage*" "message")
1593   )
1594 )
1595
1596 (define-method set_state
1597   (of-object "EmpathyTpChat")
1598   (c-name "empathy_tp_chat_set_state")
1599   (return-type "none")
1600   (parameters
1601     '("TpChannelChatState" "state")
1602   )
1603 )
1604
1605 (define-method set_property
1606   (of-object "EmpathyTpChat")
1607   (c-name "empathy_tp_chat_set_property")
1608   (return-type "none")
1609   (parameters
1610     '("const-gchar*" "name")
1611     '("const-GValue*" "value")
1612   )
1613 )
1614
1615
1616
1617 ;; From empathy-tp-roomlist.h
1618
1619 (define-function empathy_tp_roomlist_get_type
1620   (c-name "empathy_tp_roomlist_get_type")
1621   (return-type "GType")
1622 )
1623
1624 (define-function empathy_tp_roomlist_new
1625   (c-name "empathy_tp_roomlist_new")
1626   (is-constructor-of "EmpathyTpRoomlist")
1627   (return-type "EmpathyTpRoomlist*")
1628   (parameters
1629     '("McAccount*" "account")
1630   )
1631 )
1632
1633 (define-method is_listing
1634   (of-object "EmpathyTpRoomlist")
1635   (c-name "empathy_tp_roomlist_is_listing")
1636   (return-type "gboolean")
1637 )
1638
1639 (define-method start
1640   (of-object "EmpathyTpRoomlist")
1641   (c-name "empathy_tp_roomlist_start")
1642   (return-type "none")
1643 )
1644
1645 (define-method stop
1646   (of-object "EmpathyTpRoomlist")
1647   (c-name "empathy_tp_roomlist_stop")
1648   (return-type "none")
1649 )
1650
1651
1652
1653 ;; From empathy-tp-call.h
1654
1655 (define-function empathy_tp_call_get_type
1656   (c-name "empathy_tp_call_get_type")
1657   (return-type "GType")
1658 )
1659
1660 (define-function empathy_tp_call_new
1661   (c-name "empathy_tp_call_new")
1662   (is-constructor-of "EmpathyTpCall")
1663   (return-type "EmpathyTpCall*")
1664   (parameters
1665     '("TpChannel*" "channel")
1666   )
1667 )
1668
1669 (define-method accept_incoming_call
1670   (of-object "EmpathyTpCall")
1671   (c-name "empathy_tp_call_accept_incoming_call")
1672   (return-type "none")
1673 )
1674
1675 (define-method request_video_stream_direction
1676   (of-object "EmpathyTpCall")
1677   (c-name "empathy_tp_call_request_video_stream_direction")
1678   (return-type "none")
1679   (parameters
1680     '("gboolean" "is_sending")
1681   )
1682 )
1683
1684 (define-method add_preview_video
1685   (of-object "EmpathyTpCall")
1686   (c-name "empathy_tp_call_add_preview_video")
1687   (return-type "none")
1688   (parameters
1689     '("guint" "preview_video_socket_id")
1690   )
1691 )
1692
1693 (define-method remove_preview_video
1694   (of-object "EmpathyTpCall")
1695   (c-name "empathy_tp_call_remove_preview_video")
1696   (return-type "none")
1697   (parameters
1698     '("guint" "preview_video_socket_id")
1699   )
1700 )
1701
1702 (define-method add_output_video
1703   (of-object "EmpathyTpCall")
1704   (c-name "empathy_tp_call_add_output_video")
1705   (return-type "none")
1706   (parameters
1707     '("guint" "output_video_socket_id")
1708   )
1709 )
1710
1711 (define-method set_output_volume
1712   (of-object "EmpathyTpCall")
1713   (c-name "empathy_tp_call_set_output_volume")
1714   (return-type "none")
1715   (parameters
1716     '("guint" "volume")
1717   )
1718 )
1719
1720 (define-method mute_output
1721   (of-object "EmpathyTpCall")
1722   (c-name "empathy_tp_call_mute_output")
1723   (return-type "none")
1724   (parameters
1725     '("gboolean" "is_muted")
1726   )
1727 )
1728
1729 (define-method mute_input
1730   (of-object "EmpathyTpCall")
1731   (c-name "empathy_tp_call_mute_input")
1732   (return-type "none")
1733   (parameters
1734     '("gboolean" "is_muted")
1735   )
1736 )
1737
1738
1739
1740 ;; From empathy-chandler.h
1741
1742 (define-function empathy_chandler_get_type
1743   (c-name "empathy_chandler_get_type")
1744   (return-type "GType")
1745 )
1746
1747 (define-function empathy_chandler_new
1748   (c-name "empathy_chandler_new")
1749   (is-constructor-of "EmpathyChandler")
1750   (return-type "EmpathyChandler*")
1751   (parameters
1752     '("const-gchar*" "bus_name")
1753     '("const-gchar*" "object_path")
1754   )
1755 )
1756
1757
1758
1759 ;; From empathy-filter.h
1760
1761 (define-function empathy_filter_get_type
1762   (c-name "empathy_filter_get_type")
1763   (return-type "GType")
1764 )
1765
1766 (define-function empathy_filter_new
1767   (c-name "empathy_filter_new")
1768   (is-constructor-of "EmpathyFilter")
1769   (return-type "EmpathyFilter*")
1770   (parameters
1771     '("const-gchar*" "bus_name")
1772     '("const-gchar*" "object_path")
1773     '("const-gchar*" "channel_type")
1774     '("guint" "priority")
1775     '("guint" "flags")
1776   )
1777 )
1778
1779 (define-method process
1780   (of-object "EmpathyFilter")
1781   (c-name "empathy_filter_process")
1782   (return-type "none")
1783   (parameters
1784     '("TpChannel*" "channel")
1785     '("gboolean" "process")
1786   )
1787 )
1788
1789
1790
1791 ;; From empathy-idle.h
1792
1793 (define-function empathy_idle_get_type
1794   (c-name "empathy_idle_get_type")
1795   (return-type "GType")
1796 )
1797
1798 (define-function empathy_idle_new
1799   (c-name "empathy_idle_new")
1800   (is-constructor-of "EmpathyIdle")
1801   (return-type "EmpathyIdle*")
1802 )
1803
1804 (define-method get_state
1805   (of-object "EmpathyIdle")
1806   (c-name "empathy_idle_get_state")
1807   (return-type "McPresence")
1808 )
1809
1810 (define-method set_state
1811   (of-object "EmpathyIdle")
1812   (c-name "empathy_idle_set_state")
1813   (return-type "none")
1814   (parameters
1815     '("McPresence" "state")
1816   )
1817 )
1818
1819 (define-method get_status
1820   (of-object "EmpathyIdle")
1821   (c-name "empathy_idle_get_status")
1822   (return-type "const-gchar*")
1823 )
1824
1825 (define-method set_status
1826   (of-object "EmpathyIdle")
1827   (c-name "empathy_idle_set_status")
1828   (return-type "none")
1829   (parameters
1830     '("const-gchar*" "status")
1831   )
1832 )
1833
1834 (define-method get_flash_state
1835   (of-object "EmpathyIdle")
1836   (c-name "empathy_idle_get_flash_state")
1837   (return-type "McPresence")
1838 )
1839
1840 (define-method set_flash_state
1841   (of-object "EmpathyIdle")
1842   (c-name "empathy_idle_set_flash_state")
1843   (return-type "none")
1844   (parameters
1845     '("McPresence" "state")
1846   )
1847 )
1848
1849 (define-method set_presence
1850   (of-object "EmpathyIdle")
1851   (c-name "empathy_idle_set_presence")
1852   (return-type "none")
1853   (parameters
1854     '("McPresence" "state")
1855     '("const-gchar*" "status")
1856   )
1857 )
1858
1859 (define-method get_auto_away
1860   (of-object "EmpathyIdle")
1861   (c-name "empathy_idle_get_auto_away")
1862   (return-type "gboolean")
1863 )
1864
1865 (define-method set_auto_away
1866   (of-object "EmpathyIdle")
1867   (c-name "empathy_idle_set_auto_away")
1868   (return-type "none")
1869   (parameters
1870     '("gboolean" "auto_away")
1871   )
1872 )
1873
1874 (define-method get_use_nm
1875   (of-object "EmpathyIdle")
1876   (c-name "empathy_idle_get_use_nm")
1877   (return-type "gboolean")
1878 )
1879
1880 (define-method set_use_nm
1881   (of-object "EmpathyIdle")
1882   (c-name "empathy_idle_set_use_nm")
1883   (return-type "none")
1884   (parameters
1885     '("gboolean" "use_nm")
1886   )
1887 )
1888
1889
1890
1891 ;; From empathy-log-manager.h
1892
1893 (define-function empathy_log_manager_get_type
1894   (c-name "empathy_log_manager_get_type")
1895   (return-type "GType")
1896 )
1897
1898 (define-function empathy_log_manager_new
1899   (c-name "empathy_log_manager_new")
1900   (is-constructor-of "EmpathyLogManager")
1901   (return-type "EmpathyLogManager*")
1902 )
1903
1904 (define-method add_message
1905   (of-object "EmpathyLogManager")
1906   (c-name "empathy_log_manager_add_message")
1907   (return-type "none")
1908   (parameters
1909     '("const-gchar*" "chat_id")
1910     '("gboolean" "chatroom")
1911     '("EmpathyMessage*" "message")
1912   )
1913 )
1914
1915 (define-method exists
1916   (of-object "EmpathyLogManager")
1917   (c-name "empathy_log_manager_exists")
1918   (return-type "gboolean")
1919   (parameters
1920     '("McAccount*" "account")
1921     '("const-gchar*" "chat_id")
1922     '("gboolean" "chatroom")
1923   )
1924 )
1925
1926 (define-method get_dates
1927   (of-object "EmpathyLogManager")
1928   (c-name "empathy_log_manager_get_dates")
1929   (return-type "GList*")
1930   (parameters
1931     '("McAccount*" "account")
1932     '("const-gchar*" "chat_id")
1933     '("gboolean" "chatroom")
1934   )
1935 )
1936
1937 (define-method get_messages_for_file
1938   (of-object "EmpathyLogManager")
1939   (c-name "empathy_log_manager_get_messages_for_file")
1940   (return-type "GList*")
1941   (parameters
1942     '("const-gchar*" "filename")
1943   )
1944 )
1945
1946 (define-method get_messages_for_date
1947   (of-object "EmpathyLogManager")
1948   (c-name "empathy_log_manager_get_messages_for_date")
1949   (return-type "GList*")
1950   (parameters
1951     '("McAccount*" "account")
1952     '("const-gchar*" "chat_id")
1953     '("gboolean" "chatroom")
1954     '("const-gchar*" "date")
1955   )
1956 )
1957
1958 (define-method get_last_messages
1959   (of-object "EmpathyLogManager")
1960   (c-name "empathy_log_manager_get_last_messages")
1961   (return-type "GList*")
1962   (parameters
1963     '("McAccount*" "account")
1964     '("const-gchar*" "chat_id")
1965     '("gboolean" "chatroom")
1966   )
1967 )
1968
1969 (define-method get_messages_for_file
1970   (of-object "EmpathyLogManager")
1971   (c-name "empathy_log_manager_get_messages_for_file")
1972   (return-type "GList*")
1973   (parameters
1974     '("const-gchar*" "filename")
1975   )
1976 )
1977
1978 (define-method get_chats
1979   (of-object "EmpathyLogManager")
1980   (c-name "empathy_log_manager_get_chats")
1981   (return-type "GList*")
1982   (parameters
1983     '("McAccount*" "account")
1984   )
1985 )
1986
1987 (define-method search_new
1988   (of-object "EmpathyLogManager")
1989   (c-name "empathy_log_manager_search_new")
1990   (return-type "GList*")
1991   (parameters
1992     '("const-gchar*" "text")
1993   )
1994 )
1995
1996 (define-function empathy_log_manager_search_free
1997   (c-name "empathy_log_manager_search_free")
1998   (return-type "none")
1999   (parameters
2000     '("GList*" "hits")
2001   )
2002 )
2003
2004 (define-function empathy_log_manager_get_date_readable
2005   (c-name "empathy_log_manager_get_date_readable")
2006   (return-type "gchar*")
2007   (parameters
2008     '("const-gchar*" "date")
2009   )
2010 )
2011
2012
2013
2014 ;; From empathy-irc-network-manager.h
2015
2016 (define-function empathy_irc_network_manager_get_type
2017   (c-name "empathy_irc_network_manager_get_type")
2018   (return-type "GType")
2019 )
2020
2021 (define-function empathy_irc_network_manager_new
2022   (c-name "empathy_irc_network_manager_new")
2023   (is-constructor-of "EmpathyIrcNetworkManager")
2024   (return-type "EmpathyIrcNetworkManager*")
2025   (parameters
2026     '("const-gchar*" "global_file")
2027     '("const-gchar*" "user_file")
2028   )
2029 )
2030
2031 (define-method add
2032   (of-object "EmpathyIrcNetworkManager")
2033   (c-name "empathy_irc_network_manager_add")
2034   (return-type "none")
2035   (parameters
2036     '("EmpathyIrcNetwork*" "network")
2037   )
2038 )
2039
2040 (define-method remove
2041   (of-object "EmpathyIrcNetworkManager")
2042   (c-name "empathy_irc_network_manager_remove")
2043   (return-type "none")
2044   (parameters
2045     '("EmpathyIrcNetwork*" "network")
2046   )
2047 )
2048
2049 (define-method get_networks
2050   (of-object "EmpathyIrcNetworkManager")
2051   (c-name "empathy_irc_network_manager_get_networks")
2052   (return-type "GSList*")
2053 )
2054
2055 (define-method find_network_by_address
2056   (of-object "EmpathyIrcNetworkManager")
2057   (c-name "empathy_irc_network_manager_find_network_by_address")
2058   (return-type "EmpathyIrcNetwork*")
2059   (parameters
2060     '("const-gchar*" "address")
2061   )
2062 )
2063
2064
2065
2066 ;; From empathy-irc-network.h
2067
2068 (define-function empathy_irc_network_get_type
2069   (c-name "empathy_irc_network_get_type")
2070   (return-type "GType")
2071 )
2072
2073 (define-function empathy_irc_network_new
2074   (c-name "empathy_irc_network_new")
2075   (is-constructor-of "EmpathyIrcNetwork")
2076   (return-type "EmpathyIrcNetwork*")
2077   (parameters
2078     '("const-gchar*" "name")
2079   )
2080 )
2081
2082 (define-method get_servers
2083   (of-object "EmpathyIrcNetwork")
2084   (c-name "empathy_irc_network_get_servers")
2085   (return-type "GSList*")
2086 )
2087
2088 (define-method append_server
2089   (of-object "EmpathyIrcNetwork")
2090   (c-name "empathy_irc_network_append_server")
2091   (return-type "none")
2092   (parameters
2093     '("EmpathyIrcServer*" "server")
2094   )
2095 )
2096
2097 (define-method remove_server
2098   (of-object "EmpathyIrcNetwork")
2099   (c-name "empathy_irc_network_remove_server")
2100   (return-type "none")
2101   (parameters
2102     '("EmpathyIrcServer*" "server")
2103   )
2104 )
2105
2106 (define-method set_server_position
2107   (of-object "EmpathyIrcNetwork")
2108   (c-name "empathy_irc_network_set_server_position")
2109   (return-type "none")
2110   (parameters
2111     '("EmpathyIrcServer*" "server")
2112     '("gint" "pos")
2113   )
2114 )
2115
2116
2117
2118 ;; From empathy-irc-server.h
2119
2120 (define-function empathy_irc_server_get_type
2121   (c-name "empathy_irc_server_get_type")
2122   (return-type "GType")
2123 )
2124
2125 (define-function empathy_irc_server_new
2126   (c-name "empathy_irc_server_new")
2127   (is-constructor-of "EmpathyIrcServer")
2128   (return-type "EmpathyIrcServer*")
2129   (parameters
2130     '("const-gchar*" "address")
2131     '("guint" "port")
2132     '("gboolean" "ssl")
2133   )
2134 )
2135
2136