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