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