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