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