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