]> git.0d.be Git - empathy.git/blob - python/pyempathy/pyempathy.defs
8196a5a349fb7c933fe4b51447e08d8958512fd2
[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-method add_preview_video
1364   (of-object "EmpathyTpCall")
1365   (c-name "empathy_tp_call_add_preview_video")
1366   (return-type "none")
1367   (parameters
1368     '("guint" "preview_video_socket_id")
1369   )
1370 )
1371
1372 (define-method remove_preview_video
1373   (of-object "EmpathyTpCall")
1374   (c-name "empathy_tp_call_remove_preview_video")
1375   (return-type "none")
1376   (parameters
1377     '("guint" "preview_video_socket_id")
1378   )
1379 )
1380
1381 (define-method add_output_video
1382   (of-object "EmpathyTpCall")
1383   (c-name "empathy_tp_call_add_output_video")
1384   (return-type "none")
1385   (parameters
1386     '("guint" "output_video_socket_id")
1387   )
1388 )
1389
1390 (define-method set_output_volume
1391   (of-object "EmpathyTpCall")
1392   (c-name "empathy_tp_call_set_output_volume")
1393   (return-type "none")
1394   (parameters
1395     '("guint" "volume")
1396   )
1397 )
1398
1399 (define-method mute_output
1400   (of-object "EmpathyTpCall")
1401   (c-name "empathy_tp_call_mute_output")
1402   (return-type "none")
1403   (parameters
1404     '("gboolean" "is_muted")
1405   )
1406 )
1407
1408 (define-method mute_input
1409   (of-object "EmpathyTpCall")
1410   (c-name "empathy_tp_call_mute_input")
1411   (return-type "none")
1412   (parameters
1413     '("gboolean" "is_muted")
1414   )
1415 )
1416
1417
1418
1419 ;; From empathy-tp-chat.h
1420
1421 (define-function empathy_tp_chat_get_type
1422   (c-name "empathy_tp_chat_get_type")
1423   (return-type "GType")
1424 )
1425
1426 (define-function empathy_tp_chat_new
1427   (c-name "empathy_tp_chat_new")
1428   (is-constructor-of "EmpathyTpChat")
1429   (return-type "EmpathyTpChat*")
1430   (parameters
1431     '("McAccount*" "account")
1432     '("TpChan*" "tp_chan")
1433   )
1434 )
1435
1436 (define-function empathy_tp_chat_new_with_contact
1437   (c-name "empathy_tp_chat_new_with_contact")
1438   (return-type "EmpathyTpChat*")
1439   (parameters
1440     '("EmpathyContact*" "contact")
1441   )
1442 )
1443
1444 (define-method get_acknowledge
1445   (of-object "EmpathyTpChat")
1446   (c-name "empathy_tp_chat_get_acknowledge")
1447   (return-type "gboolean")
1448 )
1449
1450 (define-method set_acknowledge
1451   (of-object "EmpathyTpChat")
1452   (c-name "empathy_tp_chat_set_acknowledge")
1453   (return-type "none")
1454   (parameters
1455     '("gboolean" "acknowledge")
1456   )
1457 )
1458
1459 (define-method get_account
1460   (of-object "EmpathyTpChat")
1461   (c-name "empathy_tp_chat_get_account")
1462   (return-type "McAccount*")
1463 )
1464
1465 (define-method get_channel
1466   (of-object "EmpathyTpChat")
1467   (c-name "empathy_tp_chat_get_channel")
1468   (return-type "TpChan*")
1469 )
1470
1471 (define-method get_pendings
1472   (of-object "EmpathyTpChat")
1473   (c-name "empathy_tp_chat_get_pendings")
1474   (return-type "GList*")
1475 )
1476
1477 (define-method send
1478   (of-object "EmpathyTpChat")
1479   (c-name "empathy_tp_chat_send")
1480   (return-type "none")
1481   (parameters
1482     '("EmpathyMessage*" "message")
1483   )
1484 )
1485
1486 (define-method set_state
1487   (of-object "EmpathyTpChat")
1488   (c-name "empathy_tp_chat_set_state")
1489   (return-type "none")
1490   (parameters
1491     '("TpChannelChatState" "state")
1492   )
1493 )
1494
1495 (define-method get_id
1496   (of-object "EmpathyTpChat")
1497   (c-name "empathy_tp_chat_get_id")
1498   (return-type "const-gchar*")
1499 )
1500
1501
1502
1503 ;; From empathy-tp-chatroom.h
1504
1505 (define-function empathy_tp_chatroom_get_type
1506   (c-name "empathy_tp_chatroom_get_type")
1507   (return-type "GType")
1508 )
1509
1510 (define-function empathy_tp_chatroom_new
1511   (c-name "empathy_tp_chatroom_new")
1512   (is-constructor-of "EmpathyTpChatroom")
1513   (return-type "EmpathyTpChatroom*")
1514   (parameters
1515     '("McAccount*" "account")
1516     '("TpChan*" "tp_chan")
1517   )
1518 )
1519
1520 (define-method get_invitation
1521   (of-object "EmpathyTpChatroom")
1522   (c-name "empathy_tp_chatroom_get_invitation")
1523   (return-type "gboolean")
1524   (parameters
1525     '("EmpathyContact**" "contact")
1526     '("const-gchar**" "message")
1527   )
1528 )
1529
1530 (define-method accept_invitation
1531   (of-object "EmpathyTpChatroom")
1532   (c-name "empathy_tp_chatroom_accept_invitation")
1533   (return-type "none")
1534 )
1535
1536 (define-method set_topic
1537   (of-object "EmpathyTpChatroom")
1538   (c-name "empathy_tp_chatroom_set_topic")
1539   (return-type "none")
1540   (parameters
1541     '("const-gchar*" "topic")
1542   )
1543 )
1544
1545
1546
1547 ;; From empathy-tp-contact-factory.h
1548
1549 (define-function empathy_tp_contact_factory_get_type
1550   (c-name "empathy_tp_contact_factory_get_type")
1551   (return-type "GType")
1552 )
1553
1554 (define-function empathy_tp_contact_factory_new
1555   (c-name "empathy_tp_contact_factory_new")
1556   (is-constructor-of "EmpathyTpContactFactory")
1557   (return-type "EmpathyTpContactFactory*")
1558   (parameters
1559     '("McAccount*" "account")
1560   )
1561 )
1562
1563 (define-method get_user
1564   (of-object "EmpathyTpContactFactory")
1565   (c-name "empathy_tp_contact_factory_get_user")
1566   (return-type "EmpathyContact*")
1567 )
1568
1569 (define-method get_from_id
1570   (of-object "EmpathyTpContactFactory")
1571   (c-name "empathy_tp_contact_factory_get_from_id")
1572   (return-type "EmpathyContact*")
1573   (parameters
1574     '("const-gchar*" "id")
1575   )
1576 )
1577
1578 (define-method get_from_handle
1579   (of-object "EmpathyTpContactFactory")
1580   (c-name "empathy_tp_contact_factory_get_from_handle")
1581   (return-type "EmpathyContact*")
1582   (parameters
1583     '("guint" "handle")
1584   )
1585 )
1586
1587 (define-method get_from_handles
1588   (of-object "EmpathyTpContactFactory")
1589   (c-name "empathy_tp_contact_factory_get_from_handles")
1590   (return-type "GList*")
1591   (parameters
1592     '("GArray*" "handles")
1593   )
1594 )
1595
1596 (define-method set_alias
1597   (of-object "EmpathyTpContactFactory")
1598   (c-name "empathy_tp_contact_factory_set_alias")
1599   (return-type "none")
1600   (parameters
1601     '("EmpathyContact*" "contact")
1602     '("const-gchar*" "alias")
1603   )
1604 )
1605
1606 (define-method set_avatar
1607   (of-object "EmpathyTpContactFactory")
1608   (c-name "empathy_tp_contact_factory_set_avatar")
1609   (return-type "none")
1610   (parameters
1611     '("const-gchar*" "data")
1612     '("gsize" "size")
1613     '("const-gchar*" "mime_type")
1614   )
1615 )
1616
1617
1618
1619 ;; From empathy-tp-contact-list.h
1620
1621 (define-function empathy_tp_contact_list_get_type
1622   (c-name "empathy_tp_contact_list_get_type")
1623   (return-type "GType")
1624 )
1625
1626 (define-function empathy_tp_contact_list_new
1627   (c-name "empathy_tp_contact_list_new")
1628   (is-constructor-of "EmpathyTpContactList")
1629   (return-type "EmpathyTpContactList*")
1630   (parameters
1631     '("McAccount*" "account")
1632   )
1633 )
1634
1635 (define-method get_account
1636   (of-object "EmpathyTpContactList")
1637   (c-name "empathy_tp_contact_list_get_account")
1638   (return-type "McAccount*")
1639 )
1640
1641
1642
1643 ;; From empathy-tp-group.h
1644
1645 (define-function empathy_tp_group_get_type
1646   (c-name "empathy_tp_group_get_type")
1647   (return-type "GType")
1648 )
1649
1650 (define-function empathy_tp_group_new
1651   (c-name "empathy_tp_group_new")
1652   (is-constructor-of "EmpathyTpGroup")
1653   (return-type "EmpathyTpGroup*")
1654   (parameters
1655     '("McAccount*" "account")
1656     '("TpChan*" "tp_chan")
1657   )
1658 )
1659
1660 (define-method close
1661   (of-object "EmpathyTpGroup")
1662   (c-name "empathy_tp_group_close")
1663   (return-type "none")
1664 )
1665
1666 (define-method add_members
1667   (of-object "EmpathyTpGroup")
1668   (c-name "empathy_tp_group_add_members")
1669   (return-type "none")
1670   (parameters
1671     '("GList*" "contacts")
1672     '("const-gchar*" "message")
1673   )
1674 )
1675
1676 (define-method add_member
1677   (of-object "EmpathyTpGroup")
1678   (c-name "empathy_tp_group_add_member")
1679   (return-type "none")
1680   (parameters
1681     '("EmpathyContact*" "contact")
1682     '("const-gchar*" "message")
1683   )
1684 )
1685
1686 (define-method remove_members
1687   (of-object "EmpathyTpGroup")
1688   (c-name "empathy_tp_group_remove_members")
1689   (return-type "none")
1690   (parameters
1691     '("GList*" "contacts")
1692     '("const-gchar*" "message")
1693   )
1694 )
1695
1696 (define-method remove_member
1697   (of-object "EmpathyTpGroup")
1698   (c-name "empathy_tp_group_remove_member")
1699   (return-type "none")
1700   (parameters
1701     '("EmpathyContact*" "contact")
1702     '("const-gchar*" "message")
1703   )
1704 )
1705
1706 (define-method get_members
1707   (of-object "EmpathyTpGroup")
1708   (c-name "empathy_tp_group_get_members")
1709   (return-type "GList*")
1710 )
1711
1712 (define-method get_local_pendings
1713   (of-object "EmpathyTpGroup")
1714   (c-name "empathy_tp_group_get_local_pendings")
1715   (return-type "GList*")
1716 )
1717
1718 (define-method get_remote_pendings
1719   (of-object "EmpathyTpGroup")
1720   (c-name "empathy_tp_group_get_remote_pendings")
1721   (return-type "GList*")
1722 )
1723
1724 (define-method get_name
1725   (of-object "EmpathyTpGroup")
1726   (c-name "empathy_tp_group_get_name")
1727   (return-type "const-gchar*")
1728 )
1729
1730 (define-method get_self_contact
1731   (of-object "EmpathyTpGroup")
1732   (c-name "empathy_tp_group_get_self_contact")
1733   (return-type "EmpathyContact*")
1734 )
1735
1736 (define-method get_object_path
1737   (of-object "EmpathyTpGroup")
1738   (c-name "empathy_tp_group_get_object_path")
1739   (return-type "const-gchar*")
1740 )
1741
1742 (define-method is_member
1743   (of-object "EmpathyTpGroup")
1744   (c-name "empathy_tp_group_is_member")
1745   (return-type "gboolean")
1746   (parameters
1747     '("EmpathyContact*" "contact")
1748   )
1749 )
1750
1751 (define-function empathy_pending_info_new
1752   (c-name "empathy_pending_info_new")
1753   (is-constructor-of "EmpathyPendingInfo")
1754   (return-type "EmpathyPendingInfo*")
1755   (parameters
1756     '("EmpathyContact*" "member")
1757     '("EmpathyContact*" "actor")
1758     '("const-gchar*" "message")
1759   )
1760 )
1761
1762 (define-method free
1763   (of-object "EmpathyPendingInfo")
1764   (c-name "empathy_pending_info_free")
1765   (return-type "none")
1766 )
1767
1768
1769
1770 ;; From empathy-tp-roomlist.h
1771
1772 (define-function empathy_tp_roomlist_get_type
1773   (c-name "empathy_tp_roomlist_get_type")
1774   (return-type "GType")
1775 )
1776
1777 (define-function empathy_tp_roomlist_new
1778   (c-name "empathy_tp_roomlist_new")
1779   (is-constructor-of "EmpathyTpRoomlist")
1780   (return-type "EmpathyTpRoomlist*")
1781   (parameters
1782     '("McAccount*" "account")
1783   )
1784 )
1785
1786 (define-method is_listing
1787   (of-object "EmpathyTpRoomlist")
1788   (c-name "empathy_tp_roomlist_is_listing")
1789   (return-type "gboolean")
1790 )
1791
1792 (define-method start
1793   (of-object "EmpathyTpRoomlist")
1794   (c-name "empathy_tp_roomlist_start")
1795   (return-type "none")
1796 )
1797
1798 (define-method stop
1799   (of-object "EmpathyTpRoomlist")
1800   (c-name "empathy_tp_roomlist_stop")
1801   (return-type "none")
1802 )
1803
1804
1805
1806 ;; From empathy-utils.h
1807
1808 (define-function empathy_substring
1809   (c-name "empathy_substring")
1810   (return-type "gchar*")
1811   (parameters
1812     '("const-gchar*" "str")
1813     '("gint" "start")
1814     '("gint" "end")
1815   )
1816 )
1817
1818 (define-function empathy_regex_match
1819   (c-name "empathy_regex_match")
1820   (return-type "gint")
1821   (parameters
1822     '("EmpathyRegExType" "type")
1823     '("const-gchar*" "msg")
1824     '("GArray*" "start")
1825     '("GArray*" "end")
1826   )
1827 )
1828
1829 (define-function empathy_strcasecmp
1830   (c-name "empathy_strcasecmp")
1831   (return-type "gint")
1832   (parameters
1833     '("const-gchar*" "s1")
1834     '("const-gchar*" "s2")
1835   )
1836 )
1837
1838 (define-function empathy_strncasecmp
1839   (c-name "empathy_strncasecmp")
1840   (return-type "gint")
1841   (parameters
1842     '("const-gchar*" "s1")
1843     '("const-gchar*" "s2")
1844     '("gsize" "n")
1845   )
1846 )
1847
1848 (define-function empathy_xml_validate
1849   (c-name "empathy_xml_validate")
1850   (return-type "gboolean")
1851   (parameters
1852     '("xmlDoc*" "doc")
1853     '("const-gchar*" "dtd_filename")
1854   )
1855 )
1856
1857 (define-function empathy_xml_node_get_child
1858   (c-name "empathy_xml_node_get_child")
1859   (return-type "xmlNodePtr")
1860   (parameters
1861     '("xmlNodePtr" "node")
1862     '("const-gchar*" "child_name")
1863   )
1864 )
1865
1866 (define-function empathy_xml_node_get_child_content
1867   (c-name "empathy_xml_node_get_child_content")
1868   (return-type "xmlChar*")
1869   (parameters
1870     '("xmlNodePtr" "node")
1871     '("const-gchar*" "child_name")
1872   )
1873 )
1874
1875 (define-function empathy_xml_node_find_child_prop_value
1876   (c-name "empathy_xml_node_find_child_prop_value")
1877   (return-type "xmlNodePtr")
1878   (parameters
1879     '("xmlNodePtr" "node")
1880     '("const-gchar*" "prop_name")
1881     '("const-gchar*" "prop_value")
1882   )
1883 )
1884
1885 (define-function empathy_account_hash
1886   (c-name "empathy_account_hash")
1887   (return-type "guint")
1888   (parameters
1889     '("gconstpointer" "key")
1890   )
1891 )
1892
1893 (define-function empathy_account_equal
1894   (c-name "empathy_account_equal")
1895   (return-type "gboolean")
1896   (parameters
1897     '("gconstpointer" "a")
1898     '("gconstpointer" "b")
1899   )
1900 )
1901
1902 (define-function empathy_mission_control_new
1903   (c-name "empathy_mission_control_new")
1904   (is-constructor-of "EmpathyMissionControl")
1905   (return-type "MissionControl*")
1906 )
1907
1908 (define-function empathy_inspect_handle
1909   (c-name "empathy_inspect_handle")
1910   (return-type "gchar*")
1911   (parameters
1912     '("McAccount*" "account")
1913     '("guint" "handle")
1914     '("guint" "handle_type")
1915   )
1916 )
1917
1918 (define-function empathy_inspect_channel
1919   (c-name "empathy_inspect_channel")
1920   (return-type "gchar*")
1921   (parameters
1922     '("McAccount*" "account")
1923     '("TpChan*" "tp_chan")
1924   )
1925 )
1926
1927 (define-function empathy_call_with_contact
1928   (c-name "empathy_call_with_contact")
1929   (return-type "none")
1930   (parameters
1931     '("EmpathyContact*" "contact")
1932   )
1933 )
1934
1935 (define-function empathy_call_with_contact_id
1936   (c-name "empathy_call_with_contact_id")
1937   (return-type "none")
1938   (parameters
1939     '("McAccount*" "account")
1940     '("const-gchar*" "contact_id")
1941   )
1942 )
1943
1944 (define-function empathy_chat_with_contact
1945   (c-name "empathy_chat_with_contact")
1946   (return-type "none")
1947   (parameters
1948     '("EmpathyContact*" "contact")
1949   )
1950 )
1951
1952 (define-function empathy_chat_with_contact_id
1953   (c-name "empathy_chat_with_contact_id")
1954   (return-type "none")
1955   (parameters
1956     '("McAccount*" "account")
1957     '("const-gchar*" "contact_id")
1958   )
1959 )
1960
1961 (define-function empathy_presence_get_default_message
1962   (c-name "empathy_presence_get_default_message")
1963   (return-type "const-gchar*")
1964   (parameters
1965     '("McPresence" "presence")
1966   )
1967 )
1968
1969 (define-function empathy_presence_to_str
1970   (c-name "empathy_presence_to_str")
1971   (return-type "const-gchar*")
1972   (parameters
1973     '("McPresence" "presence")
1974   )
1975 )
1976
1977 (define-function empathy_presence_from_str
1978   (c-name "empathy_presence_from_str")
1979   (return-type "McPresence")
1980   (parameters
1981     '("const-gchar*" "str")
1982   )
1983 )
1984
1985