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