]> git.0d.be Git - empathy.git/blob - python/pyempathy/pyempathy.defs
80799117094227ba3f7f010b92c4d1af14c8ff11
[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_parse_format
1419   (c-name "empathy_time_parse_format")
1420   (return-type "time_t")
1421   (parameters
1422     '("const-gchar*" "str")
1423     '("const-gchar*" "format")
1424   )
1425 )
1426
1427 (define-function empathy_time_to_string_utc
1428   (c-name "empathy_time_to_string_utc")
1429   (return-type "gchar*")
1430   (parameters
1431     '("time_t" "t")
1432     '("const-gchar*" "format")
1433   )
1434 )
1435
1436 (define-function empathy_time_to_string_local
1437   (c-name "empathy_time_to_string_local")
1438   (return-type "gchar*")
1439   (parameters
1440     '("time_t" "t")
1441     '("const-gchar*" "format")
1442   )
1443 )
1444
1445
1446
1447 ;; From empathy-tp-call.h
1448
1449 (define-function empathy_tp_call_get_type
1450   (c-name "empathy_tp_call_get_type")
1451   (return-type "GType")
1452 )
1453
1454 (define-function empathy_tp_call_new
1455   (c-name "empathy_tp_call_new")
1456   (is-constructor-of "EmpathyTpCall")
1457   (return-type "EmpathyTpCall*")
1458   (parameters
1459     '("McAccount*" "account")
1460     '("TpChan*" "tp_chan")
1461   )
1462 )
1463
1464 (define-method is_incoming
1465   (of-object "EmpathyTpCall")
1466   (c-name "empathy_tp_call_is_incoming")
1467   (return-type "gboolean")
1468 )
1469
1470 (define-method get_status
1471   (of-object "EmpathyTpCall")
1472   (c-name "empathy_tp_call_get_status")
1473   (return-type "EmpathyTpCallStatus")
1474 )
1475
1476 (define-method get_contact
1477   (of-object "EmpathyTpCall")
1478   (c-name "empathy_tp_call_get_contact")
1479   (return-type "EmpathyContact*")
1480 )
1481
1482 (define-method accept
1483   (of-object "EmpathyTpCall")
1484   (c-name "empathy_tp_call_accept")
1485   (return-type "none")
1486 )
1487
1488 (define-method invite
1489   (of-object "EmpathyTpCall")
1490   (c-name "empathy_tp_call_invite")
1491   (return-type "none")
1492   (parameters
1493     '("EmpathyContact*" "contact")
1494   )
1495 )
1496
1497 (define-method request_streams
1498   (of-object "EmpathyTpCall")
1499   (c-name "empathy_tp_call_request_streams")
1500   (return-type "none")
1501   (parameters
1502     '("gboolean" "audio")
1503     '("gboolean" "video")
1504   )
1505 )
1506
1507 (define-method send_video
1508   (of-object "EmpathyTpCall")
1509   (c-name "empathy_tp_call_send_video")
1510   (return-type "none")
1511   (parameters
1512     '("gboolean" "send")
1513   )
1514 )
1515
1516 (define-method add_preview_window
1517   (of-object "EmpathyTpCall")
1518   (c-name "empathy_tp_call_add_preview_window")
1519   (return-type "none")
1520   (parameters
1521     '("guint" "socket_id")
1522   )
1523 )
1524
1525 (define-method remove_preview_window
1526   (of-object "EmpathyTpCall")
1527   (c-name "empathy_tp_call_remove_preview_window")
1528   (return-type "none")
1529   (parameters
1530     '("guint" "socket_id")
1531   )
1532 )
1533
1534 (define-method set_output_window
1535   (of-object "EmpathyTpCall")
1536   (c-name "empathy_tp_call_set_output_window")
1537   (return-type "none")
1538   (parameters
1539     '("guint" "socket_id")
1540   )
1541 )
1542
1543 (define-method set_output_volume
1544   (of-object "EmpathyTpCall")
1545   (c-name "empathy_tp_call_set_output_volume")
1546   (return-type "none")
1547   (parameters
1548     '("guint" "volume")
1549   )
1550 )
1551
1552 (define-method mute_output
1553   (of-object "EmpathyTpCall")
1554   (c-name "empathy_tp_call_mute_output")
1555   (return-type "none")
1556   (parameters
1557     '("gboolean" "is_muted")
1558   )
1559 )
1560
1561 (define-method mute_input
1562   (of-object "EmpathyTpCall")
1563   (c-name "empathy_tp_call_mute_input")
1564   (return-type "none")
1565   (parameters
1566     '("gboolean" "is_muted")
1567   )
1568 )
1569
1570
1571
1572 ;; From empathy-tp-chat.h
1573
1574 (define-function empathy_tp_chat_get_type
1575   (c-name "empathy_tp_chat_get_type")
1576   (return-type "GType")
1577 )
1578
1579 (define-function empathy_tp_chat_new
1580   (c-name "empathy_tp_chat_new")
1581   (is-constructor-of "EmpathyTpChat")
1582   (return-type "EmpathyTpChat*")
1583   (parameters
1584     '("McAccount*" "account")
1585     '("TpChan*" "tp_chan")
1586   )
1587 )
1588
1589 (define-function empathy_tp_chat_new_with_contact
1590   (c-name "empathy_tp_chat_new_with_contact")
1591   (return-type "EmpathyTpChat*")
1592   (parameters
1593     '("EmpathyContact*" "contact")
1594   )
1595 )
1596
1597 (define-method get_acknowledge
1598   (of-object "EmpathyTpChat")
1599   (c-name "empathy_tp_chat_get_acknowledge")
1600   (return-type "gboolean")
1601 )
1602
1603 (define-method set_acknowledge
1604   (of-object "EmpathyTpChat")
1605   (c-name "empathy_tp_chat_set_acknowledge")
1606   (return-type "none")
1607   (parameters
1608     '("gboolean" "acknowledge")
1609   )
1610 )
1611
1612 (define-method get_account
1613   (of-object "EmpathyTpChat")
1614   (c-name "empathy_tp_chat_get_account")
1615   (return-type "McAccount*")
1616 )
1617
1618 (define-method get_channel
1619   (of-object "EmpathyTpChat")
1620   (c-name "empathy_tp_chat_get_channel")
1621   (return-type "TpChan*")
1622 )
1623
1624 (define-method get_pendings
1625   (of-object "EmpathyTpChat")
1626   (c-name "empathy_tp_chat_get_pendings")
1627   (return-type "GList*")
1628 )
1629
1630 (define-method send
1631   (of-object "EmpathyTpChat")
1632   (c-name "empathy_tp_chat_send")
1633   (return-type "none")
1634   (parameters
1635     '("EmpathyMessage*" "message")
1636   )
1637 )
1638
1639 (define-method set_state
1640   (of-object "EmpathyTpChat")
1641   (c-name "empathy_tp_chat_set_state")
1642   (return-type "none")
1643   (parameters
1644     '("TpChannelChatState" "state")
1645   )
1646 )
1647
1648 (define-method get_id
1649   (of-object "EmpathyTpChat")
1650   (c-name "empathy_tp_chat_get_id")
1651   (return-type "const-gchar*")
1652 )
1653
1654
1655
1656 ;; From empathy-tp-chatroom.h
1657
1658 (define-function empathy_tp_chatroom_get_type
1659   (c-name "empathy_tp_chatroom_get_type")
1660   (return-type "GType")
1661 )
1662
1663 (define-function empathy_tp_chatroom_new
1664   (c-name "empathy_tp_chatroom_new")
1665   (is-constructor-of "EmpathyTpChatroom")
1666   (return-type "EmpathyTpChatroom*")
1667   (parameters
1668     '("McAccount*" "account")
1669     '("TpChan*" "tp_chan")
1670   )
1671 )
1672
1673 (define-method get_invitation
1674   (of-object "EmpathyTpChatroom")
1675   (c-name "empathy_tp_chatroom_get_invitation")
1676   (return-type "gboolean")
1677   (parameters
1678     '("EmpathyContact**" "contact")
1679     '("const-gchar**" "message")
1680   )
1681 )
1682
1683 (define-method accept_invitation
1684   (of-object "EmpathyTpChatroom")
1685   (c-name "empathy_tp_chatroom_accept_invitation")
1686   (return-type "none")
1687 )
1688
1689 (define-method set_topic
1690   (of-object "EmpathyTpChatroom")
1691   (c-name "empathy_tp_chatroom_set_topic")
1692   (return-type "none")
1693   (parameters
1694     '("const-gchar*" "topic")
1695   )
1696 )
1697
1698
1699
1700 ;; From empathy-tp-contact-factory.h
1701
1702 (define-function empathy_tp_contact_factory_get_type
1703   (c-name "empathy_tp_contact_factory_get_type")
1704   (return-type "GType")
1705 )
1706
1707 (define-function empathy_tp_contact_factory_new
1708   (c-name "empathy_tp_contact_factory_new")
1709   (is-constructor-of "EmpathyTpContactFactory")
1710   (return-type "EmpathyTpContactFactory*")
1711   (parameters
1712     '("McAccount*" "account")
1713   )
1714 )
1715
1716 (define-method get_user
1717   (of-object "EmpathyTpContactFactory")
1718   (c-name "empathy_tp_contact_factory_get_user")
1719   (return-type "EmpathyContact*")
1720 )
1721
1722 (define-method get_from_id
1723   (of-object "EmpathyTpContactFactory")
1724   (c-name "empathy_tp_contact_factory_get_from_id")
1725   (return-type "EmpathyContact*")
1726   (parameters
1727     '("const-gchar*" "id")
1728   )
1729 )
1730
1731 (define-method get_from_handle
1732   (of-object "EmpathyTpContactFactory")
1733   (c-name "empathy_tp_contact_factory_get_from_handle")
1734   (return-type "EmpathyContact*")
1735   (parameters
1736     '("guint" "handle")
1737   )
1738 )
1739
1740 (define-method get_from_handles
1741   (of-object "EmpathyTpContactFactory")
1742   (c-name "empathy_tp_contact_factory_get_from_handles")
1743   (return-type "GList*")
1744   (parameters
1745     '("GArray*" "handles")
1746   )
1747 )
1748
1749 (define-method set_alias
1750   (of-object "EmpathyTpContactFactory")
1751   (c-name "empathy_tp_contact_factory_set_alias")
1752   (return-type "none")
1753   (parameters
1754     '("EmpathyContact*" "contact")
1755     '("const-gchar*" "alias")
1756   )
1757 )
1758
1759 (define-method set_avatar
1760   (of-object "EmpathyTpContactFactory")
1761   (c-name "empathy_tp_contact_factory_set_avatar")
1762   (return-type "none")
1763   (parameters
1764     '("const-gchar*" "data")
1765     '("gsize" "size")
1766     '("const-gchar*" "mime_type")
1767   )
1768 )
1769
1770
1771
1772 ;; From empathy-tp-contact-list.h
1773
1774 (define-function empathy_tp_contact_list_get_type
1775   (c-name "empathy_tp_contact_list_get_type")
1776   (return-type "GType")
1777 )
1778
1779 (define-function empathy_tp_contact_list_new
1780   (c-name "empathy_tp_contact_list_new")
1781   (is-constructor-of "EmpathyTpContactList")
1782   (return-type "EmpathyTpContactList*")
1783   (parameters
1784     '("McAccount*" "account")
1785   )
1786 )
1787
1788 (define-method get_account
1789   (of-object "EmpathyTpContactList")
1790   (c-name "empathy_tp_contact_list_get_account")
1791   (return-type "McAccount*")
1792 )
1793
1794
1795
1796 ;; From empathy-tp-group.h
1797
1798 (define-function empathy_tp_group_get_type
1799   (c-name "empathy_tp_group_get_type")
1800   (return-type "GType")
1801 )
1802
1803 (define-function empathy_tp_group_new
1804   (c-name "empathy_tp_group_new")
1805   (is-constructor-of "EmpathyTpGroup")
1806   (return-type "EmpathyTpGroup*")
1807   (parameters
1808     '("McAccount*" "account")
1809     '("TpChan*" "tp_chan")
1810   )
1811 )
1812
1813 (define-method close
1814   (of-object "EmpathyTpGroup")
1815   (c-name "empathy_tp_group_close")
1816   (return-type "none")
1817 )
1818
1819 (define-method add_members
1820   (of-object "EmpathyTpGroup")
1821   (c-name "empathy_tp_group_add_members")
1822   (return-type "none")
1823   (parameters
1824     '("GList*" "contacts")
1825     '("const-gchar*" "message")
1826   )
1827 )
1828
1829 (define-method add_member
1830   (of-object "EmpathyTpGroup")
1831   (c-name "empathy_tp_group_add_member")
1832   (return-type "none")
1833   (parameters
1834     '("EmpathyContact*" "contact")
1835     '("const-gchar*" "message")
1836   )
1837 )
1838
1839 (define-method remove_members
1840   (of-object "EmpathyTpGroup")
1841   (c-name "empathy_tp_group_remove_members")
1842   (return-type "none")
1843   (parameters
1844     '("GList*" "contacts")
1845     '("const-gchar*" "message")
1846   )
1847 )
1848
1849 (define-method remove_member
1850   (of-object "EmpathyTpGroup")
1851   (c-name "empathy_tp_group_remove_member")
1852   (return-type "none")
1853   (parameters
1854     '("EmpathyContact*" "contact")
1855     '("const-gchar*" "message")
1856   )
1857 )
1858
1859 (define-method get_members
1860   (of-object "EmpathyTpGroup")
1861   (c-name "empathy_tp_group_get_members")
1862   (return-type "GList*")
1863 )
1864
1865 (define-method get_local_pendings
1866   (of-object "EmpathyTpGroup")
1867   (c-name "empathy_tp_group_get_local_pendings")
1868   (return-type "GList*")
1869 )
1870
1871 (define-method get_remote_pendings
1872   (of-object "EmpathyTpGroup")
1873   (c-name "empathy_tp_group_get_remote_pendings")
1874   (return-type "GList*")
1875 )
1876
1877 (define-method get_name
1878   (of-object "EmpathyTpGroup")
1879   (c-name "empathy_tp_group_get_name")
1880   (return-type "const-gchar*")
1881 )
1882
1883 (define-method get_self_contact
1884   (of-object "EmpathyTpGroup")
1885   (c-name "empathy_tp_group_get_self_contact")
1886   (return-type "EmpathyContact*")
1887 )
1888
1889 (define-method get_object_path
1890   (of-object "EmpathyTpGroup")
1891   (c-name "empathy_tp_group_get_object_path")
1892   (return-type "const-gchar*")
1893 )
1894
1895 (define-method is_member
1896   (of-object "EmpathyTpGroup")
1897   (c-name "empathy_tp_group_is_member")
1898   (return-type "gboolean")
1899   (parameters
1900     '("EmpathyContact*" "contact")
1901   )
1902 )
1903
1904 (define-function empathy_pending_info_new
1905   (c-name "empathy_pending_info_new")
1906   (is-constructor-of "EmpathyPendingInfo")
1907   (return-type "EmpathyPendingInfo*")
1908   (parameters
1909     '("EmpathyContact*" "member")
1910     '("EmpathyContact*" "actor")
1911     '("const-gchar*" "message")
1912   )
1913 )
1914
1915 (define-method free
1916   (of-object "EmpathyPendingInfo")
1917   (c-name "empathy_pending_info_free")
1918   (return-type "none")
1919 )
1920
1921
1922
1923 ;; From empathy-tp-roomlist.h
1924
1925 (define-function empathy_tp_roomlist_get_type
1926   (c-name "empathy_tp_roomlist_get_type")
1927   (return-type "GType")
1928 )
1929
1930 (define-function empathy_tp_roomlist_new
1931   (c-name "empathy_tp_roomlist_new")
1932   (is-constructor-of "EmpathyTpRoomlist")
1933   (return-type "EmpathyTpRoomlist*")
1934   (parameters
1935     '("McAccount*" "account")
1936   )
1937 )
1938
1939 (define-method is_listing
1940   (of-object "EmpathyTpRoomlist")
1941   (c-name "empathy_tp_roomlist_is_listing")
1942   (return-type "gboolean")
1943 )
1944
1945 (define-method start
1946   (of-object "EmpathyTpRoomlist")
1947   (c-name "empathy_tp_roomlist_start")
1948   (return-type "none")
1949 )
1950
1951 (define-method stop
1952   (of-object "EmpathyTpRoomlist")
1953   (c-name "empathy_tp_roomlist_stop")
1954   (return-type "none")
1955 )
1956
1957
1958
1959 ;; From empathy-utils.h
1960
1961 (define-function empathy_substring
1962   (c-name "empathy_substring")
1963   (return-type "gchar*")
1964   (parameters
1965     '("const-gchar*" "str")
1966     '("gint" "start")
1967     '("gint" "end")
1968   )
1969 )
1970
1971 (define-function empathy_regex_match
1972   (c-name "empathy_regex_match")
1973   (return-type "gint")
1974   (parameters
1975     '("EmpathyRegExType" "type")
1976     '("const-gchar*" "msg")
1977     '("GArray*" "start")
1978     '("GArray*" "end")
1979   )
1980 )
1981
1982 (define-function empathy_strcasecmp
1983   (c-name "empathy_strcasecmp")
1984   (return-type "gint")
1985   (parameters
1986     '("const-gchar*" "s1")
1987     '("const-gchar*" "s2")
1988   )
1989 )
1990
1991 (define-function empathy_strncasecmp
1992   (c-name "empathy_strncasecmp")
1993   (return-type "gint")
1994   (parameters
1995     '("const-gchar*" "s1")
1996     '("const-gchar*" "s2")
1997     '("gsize" "n")
1998   )
1999 )
2000
2001 (define-function empathy_xml_validate
2002   (c-name "empathy_xml_validate")
2003   (return-type "gboolean")
2004   (parameters
2005     '("xmlDoc*" "doc")
2006     '("const-gchar*" "dtd_filename")
2007   )
2008 )
2009
2010 (define-function empathy_xml_node_get_child
2011   (c-name "empathy_xml_node_get_child")
2012   (return-type "xmlNodePtr")
2013   (parameters
2014     '("xmlNodePtr" "node")
2015     '("const-gchar*" "child_name")
2016   )
2017 )
2018
2019 (define-function empathy_xml_node_get_child_content
2020   (c-name "empathy_xml_node_get_child_content")
2021   (return-type "xmlChar*")
2022   (parameters
2023     '("xmlNodePtr" "node")
2024     '("const-gchar*" "child_name")
2025   )
2026 )
2027
2028 (define-function empathy_xml_node_find_child_prop_value
2029   (c-name "empathy_xml_node_find_child_prop_value")
2030   (return-type "xmlNodePtr")
2031   (parameters
2032     '("xmlNodePtr" "node")
2033     '("const-gchar*" "prop_name")
2034     '("const-gchar*" "prop_value")
2035   )
2036 )
2037
2038 (define-function empathy_account_hash
2039   (c-name "empathy_account_hash")
2040   (return-type "guint")
2041   (parameters
2042     '("gconstpointer" "key")
2043   )
2044 )
2045
2046 (define-function empathy_account_equal
2047   (c-name "empathy_account_equal")
2048   (return-type "gboolean")
2049   (parameters
2050     '("gconstpointer" "a")
2051     '("gconstpointer" "b")
2052   )
2053 )
2054
2055 (define-function empathy_mission_control_new
2056   (c-name "empathy_mission_control_new")
2057   (is-constructor-of "EmpathyMissionControl")
2058   (return-type "MissionControl*")
2059 )
2060
2061 (define-function empathy_inspect_handle
2062   (c-name "empathy_inspect_handle")
2063   (return-type "gchar*")
2064   (parameters
2065     '("McAccount*" "account")
2066     '("guint" "handle")
2067     '("guint" "handle_type")
2068   )
2069 )
2070
2071 (define-function empathy_inspect_channel
2072   (c-name "empathy_inspect_channel")
2073   (return-type "gchar*")
2074   (parameters
2075     '("McAccount*" "account")
2076     '("TpChan*" "tp_chan")
2077   )
2078 )
2079
2080 (define-function empathy_call_contact
2081   (c-name "empathy_call_contact")
2082   (return-type "none")
2083   (parameters
2084     '("EmpathyContact*" "contact")
2085   )
2086 )
2087
2088 (define-function empathy_chat_with_contact
2089   (c-name "empathy_chat_with_contact")
2090   (return-type "none")
2091   (parameters
2092     '("EmpathyContact*" "contact")
2093   )
2094 )
2095
2096 (define-function empathy_chat_with_contact_id
2097   (c-name "empathy_chat_with_contact_id")
2098   (return-type "none")
2099   (parameters
2100     '("McAccount*" "account")
2101     '("const-gchar*" "contact_id")
2102   )
2103 )
2104
2105
2106
2107 ;; From tp-stream-engine-gen.h
2108
2109 (define-function dbus_g_proxy_begin_call
2110   (c-name "dbus_g_proxy_begin_call")
2111   (return-type "return")
2112   (parameters
2113   )
2114 )
2115
2116 (define-function dbus_g_proxy_begin_call
2117   (c-name "dbus_g_proxy_begin_call")
2118   (return-type "return")
2119   (parameters
2120   )
2121 )
2122
2123 (define-function dbus_g_proxy_begin_call
2124   (c-name "dbus_g_proxy_begin_call")
2125   (return-type "return")
2126   (parameters
2127   )
2128 )
2129
2130 (define-function dbus_g_proxy_begin_call
2131   (c-name "dbus_g_proxy_begin_call")
2132   (return-type "return")
2133   (parameters
2134   )
2135 )
2136
2137 (define-function dbus_g_proxy_begin_call
2138   (c-name "dbus_g_proxy_begin_call")
2139   (return-type "return")
2140   (parameters
2141   )
2142 )
2143
2144 (define-function dbus_g_proxy_begin_call
2145   (c-name "dbus_g_proxy_begin_call")
2146   (return-type "return")
2147   (parameters
2148   )
2149 )
2150
2151 (define-function dbus_g_proxy_begin_call
2152   (c-name "dbus_g_proxy_begin_call")
2153   (return-type "return")
2154   (parameters
2155   )
2156 )
2157
2158 (define-function dbus_g_proxy_begin_call
2159   (c-name "dbus_g_proxy_begin_call")
2160   (return-type "return")
2161   (parameters
2162   )
2163 )
2164
2165