]> git.0d.be Git - empathy.git/blob - python/pyempathy/pyempathy.defs
Updated Oriya Translation
[empathy.git] / python / pyempathy / pyempathy.defs
1 ;; -*- scheme -*-
2 ; object definitions ...
3 (define-object AccountManager
4   (in-module "Empathy")
5   (parent "GObject")
6   (c-name "EmpathyAccountManager")
7   (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
8 )
9
10 (define-object CallFactory
11   (in-module "Empathy")
12   (parent "GObject")
13   (c-name "EmpathyCallFactory")
14   (gtype-id "EMPATHY_TYPE_CALL_FACTORY")
15 )
16
17 (define-object CallHandler
18   (in-module "Empathy")
19   (parent "GObject")
20   (c-name "EmpathyCallHandler")
21   (gtype-id "EMPATHY_TYPE_CALL_HANDLER")
22 )
23
24 (define-object Chatroom
25   (in-module "Empathy")
26   (parent "GObject")
27   (c-name "EmpathyChatroom")
28   (gtype-id "EMPATHY_TYPE_CHATROOM")
29 )
30
31 (define-object ChatroomManager
32   (in-module "Empathy")
33   (parent "GObject")
34   (c-name "EmpathyChatroomManager")
35   (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
36 )
37
38 (define-object Contact
39   (in-module "Empathy")
40   (parent "GObject")
41   (c-name "EmpathyContact")
42   (gtype-id "EMPATHY_TYPE_CONTACT")
43 )
44
45 (define-interface ContactList
46   (in-module "Empathy")
47   (c-name "EmpathyContactList")
48   (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
49 )
50
51 (define-object ContactManager
52   (in-module "Empathy")
53   (parent "GObject")
54   (implements "EmpathyContactList")
55   (c-name "EmpathyContactManager")
56   (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
57 )
58
59 (define-object ContactMonitor
60   (in-module "Empathy")
61   (parent "GObject")
62   (c-name "EmpathyContactMonitor")
63   (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
64 )
65
66 (define-object DispatchOperation
67   (in-module "Empathy")
68   (parent "GObject")
69   (c-name "EmpathyDispatchOperation")
70   (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
71 )
72
73 (define-object Dispatcher
74   (in-module "Empathy")
75   (parent "GObject")
76   (c-name "EmpathyDispatcher")
77   (gtype-id "EMPATHY_TYPE_DISPATCHER")
78 )
79
80 (define-object FTFactory
81   (in-module "Empathy")
82   (parent "GObject")
83   (c-name "EmpathyFTFactory")
84   (gtype-id "EMPATHY_TYPE_FT_FACTORY")
85 )
86
87 (define-object FTHandler
88   (in-module "Empathy")
89   (parent "GObject")
90   (c-name "EmpathyFTHandler")
91   (gtype-id "EMPATHY_TYPE_FT_HANDLER")
92 )
93
94 (define-object Idle
95   (in-module "Empathy")
96   (parent "GObject")
97   (c-name "EmpathyIdle")
98   (gtype-id "EMPATHY_TYPE_IDLE")
99 )
100
101 (define-object IrcNetwork
102   (in-module "Empathy")
103   (parent "GObject")
104   (c-name "EmpathyIrcNetwork")
105   (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
106 )
107
108 (define-object IrcNetworkManager
109   (in-module "Empathy")
110   (parent "GObject")
111   (c-name "EmpathyIrcNetworkManager")
112   (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
113 )
114
115 (define-object IrcServer
116   (in-module "Empathy")
117   (parent "GObject")
118   (c-name "EmpathyIrcServer")
119   (gtype-id "EMPATHY_TYPE_IRC_SERVER")
120 )
121
122 (define-object LogManager
123   (in-module "Empathy")
124   (parent "GObject")
125   (c-name "EmpathyLogManager")
126   (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
127 )
128
129 (define-object LogStoreEmpathy
130   (in-module "Empathy")
131   (parent "GObject")
132   (c-name "EmpathyLogStoreEmpathy")
133   (gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
134 )
135
136 (define-object Message
137   (in-module "Empathy")
138   (parent "GObject")
139   (c-name "EmpathyMessage")
140   (gtype-id "EMPATHY_TYPE_MESSAGE")
141 )
142
143 (define-object TpCall
144   (in-module "Empathy")
145   (parent "GObject")
146   (c-name "EmpathyTpCall")
147   (gtype-id "EMPATHY_TYPE_TP_CALL")
148 )
149
150 (define-object TpChat
151   (in-module "Empathy")
152   (parent "GObject")
153   (c-name "EmpathyTpChat")
154   (gtype-id "EMPATHY_TYPE_TP_CHAT")
155 )
156
157 (define-object TpContactFactory
158   (in-module "Empathy")
159   (parent "GObject")
160   (c-name "EmpathyTpContactFactory")
161   (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
162 )
163
164 (define-object TpContactList
165   (in-module "Empathy")
166   (parent "GObject")
167   (implements "EmpathyContactList")
168   (c-name "EmpathyTpContactList")
169   (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
170 )
171
172 (define-object TpFile
173   (in-module "Empathy")
174   (parent "GObject")
175   (c-name "EmpathyTpFile")
176   (gtype-id "EMPATHY_TYPE_TP_FILE")
177 )
178
179 (define-object TpRoomlist
180   (in-module "Empathy")
181   (parent "GObject")
182   (c-name "EmpathyTpRoomlist")
183   (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
184 )
185
186 (define-object TubeHandler
187   (in-module "Empathy")
188   (parent "GObject")
189   (c-name "EmpathyTubeHandler")
190   (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
191 )
192
193 ;; Enumerations and flags ...
194
195 (define-flags Capabilities
196   (in-module "Empathy")
197   (c-name "EmpathyCapabilities")
198   (gtype-id "EMPATHY_TYPE_CAPABILITIES")
199   (values
200     '("none" "EMPATHY_CAPABILITIES_NONE")
201     '("audio" "EMPATHY_CAPABILITIES_AUDIO")
202     '("video" "EMPATHY_CAPABILITIES_VIDEO")
203     '("ft" "EMPATHY_CAPABILITIES_FT")
204     '("stream-tube" "EMPATHY_CAPABILITIES_STREAM_TUBE")
205     '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
206   )
207 )
208
209 (define-flags DebugFlags
210   (in-module "Empathy")
211   (c-name "EmpathyDebugFlags")
212   (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
213   (values
214     '("tp" "EMPATHY_DEBUG_TP")
215     '("chat" "EMPATHY_DEBUG_CHAT")
216     '("contact" "EMPATHY_DEBUG_CONTACT")
217     '("account" "EMPATHY_DEBUG_ACCOUNT")
218     '("irc" "EMPATHY_DEBUG_IRC")
219     '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
220     '("ft" "EMPATHY_DEBUG_FT")
221     '("location" "EMPATHY_DEBUG_LOCATION")
222     '("other" "EMPATHY_DEBUG_OTHER")
223   )
224 )
225
226 (define-enum DispatchOperationState
227   (in-module "Empathy")
228   (c-name "EmpathyDispatchOperationState")
229   (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
230   (values
231     '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
232     '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
233     '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
234     '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
235     '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
236     '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
237   )
238 )
239
240 (define-enum TpCallStatus
241   (in-module "Empathy")
242   (c-name "EmpathyTpCallStatus")
243   (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
244   (values
245     '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
246     '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
247     '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
248     '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
249   )
250 )
251
252 (define-enum FTErrorEnum
253   (in-module "Empathy")
254   (c-name "EmpathyFTErrorEnum")
255   (gtype-id "EMPATHY_TYPE_FT_ERROR_ENUM")
256   (values
257     '("failed" "EMPATHY_FT_ERROR_FAILED")
258     '("hash-mismatch" "EMPATHY_FT_ERROR_HASH_MISMATCH")
259     '("tp-error" "EMPATHY_FT_ERROR_TP_ERROR")
260     '("socket" "EMPATHY_FT_ERROR_SOCKET")
261     '("not-supported" "EMPATHY_FT_ERROR_NOT_SUPPORTED")
262     '("invalid-source-file" "EMPATHY_FT_ERROR_INVALID_SOURCE_FILE")
263     '("empty-source-file" "EMPATHY_FT_ERROR_EMPTY_SOURCE_FILE")
264   )
265 )
266
267
268 ;; From empathy-account-manager.h
269
270 (define-function account_manager_get_type
271   (c-name "empathy_account_manager_get_type")
272   (return-type "GType")
273 )
274
275 (define-function account_manager_dup_singleton
276   (c-name "empathy_account_manager_dup_singleton")
277   (return-type "EmpathyAccountManager*")
278 )
279
280 (define-method create
281   (of-object "EmpathyAccountManager")
282   (c-name "empathy_account_manager_create")
283   (return-type "EmpathyAccount*")
284   (parameters
285     '("McProfile*" "profile")
286   )
287 )
288
289 (define-method get_connected_accounts
290   (of-object "EmpathyAccountManager")
291   (c-name "empathy_account_manager_get_connected_accounts")
292   (return-type "int")
293 )
294
295 (define-method get_connecting_accounts
296   (of-object "EmpathyAccountManager")
297   (c-name "empathy_account_manager_get_connecting_accounts")
298   (return-type "int")
299 )
300
301 (define-method get_count
302   (of-object "EmpathyAccountManager")
303   (c-name "empathy_account_manager_get_count")
304   (return-type "int")
305 )
306
307 (define-method get_account
308   (of-object "EmpathyAccountManager")
309   (c-name "empathy_account_manager_get_account")
310   (return-type "EmpathyAccount*")
311   (parameters
312     '("TpConnection*" "connection")
313   )
314 )
315
316 (define-method lookup
317   (of-object "EmpathyAccountManager")
318   (c-name "empathy_account_manager_lookup")
319   (return-type "EmpathyAccount*")
320   (parameters
321     '("const-gchar*" "unique_name")
322   )
323 )
324
325 (define-method dup_accounts
326   (of-object "EmpathyAccountManager")
327   (c-name "empathy_account_manager_dup_accounts")
328   (return-type "GList*")
329 )
330
331 (define-method dup_connections
332   (of-object "EmpathyAccountManager")
333   (c-name "empathy_account_manager_dup_connections")
334   (return-type "GList*")
335 )
336
337 (define-method remove
338   (of-object "EmpathyAccountManager")
339   (c-name "empathy_account_manager_remove")
340   (return-type "none")
341   (parameters
342     '("EmpathyAccount*" "account")
343   )
344 )
345
346
347
348 ;; From empathy-chatroom.h
349
350 (define-function chatroom_get_type
351   (c-name "empathy_chatroom_get_type")
352   (return-type "GType")
353 )
354
355 (define-function chatroom_new
356   (c-name "empathy_chatroom_new")
357   (is-constructor-of "EmpathyChatroom")
358   (return-type "EmpathyChatroom*")
359   (parameters
360     '("EmpathyAccount*" "account")
361   )
362 )
363
364 (define-function chatroom_new_full
365   (c-name "empathy_chatroom_new_full")
366   (return-type "EmpathyChatroom*")
367   (parameters
368     '("EmpathyAccount*" "account")
369     '("const-gchar*" "room")
370     '("const-gchar*" "name")
371     '("gboolean" "auto_connect")
372   )
373 )
374
375 (define-method get_account
376   (of-object "EmpathyChatroom")
377   (c-name "empathy_chatroom_get_account")
378   (return-type "EmpathyAccount*")
379 )
380
381 (define-method set_account
382   (of-object "EmpathyChatroom")
383   (c-name "empathy_chatroom_set_account")
384   (return-type "none")
385   (parameters
386     '("EmpathyAccount*" "account")
387   )
388 )
389
390 (define-method get_room
391   (of-object "EmpathyChatroom")
392   (c-name "empathy_chatroom_get_room")
393   (return-type "const-gchar*")
394 )
395
396 (define-method set_room
397   (of-object "EmpathyChatroom")
398   (c-name "empathy_chatroom_set_room")
399   (return-type "none")
400   (parameters
401     '("const-gchar*" "room")
402   )
403 )
404
405 (define-method get_name
406   (of-object "EmpathyChatroom")
407   (c-name "empathy_chatroom_get_name")
408   (return-type "const-gchar*")
409 )
410
411 (define-method set_name
412   (of-object "EmpathyChatroom")
413   (c-name "empathy_chatroom_set_name")
414   (return-type "none")
415   (parameters
416     '("const-gchar*" "name")
417   )
418 )
419
420 (define-method get_auto_connect
421   (of-object "EmpathyChatroom")
422   (c-name "empathy_chatroom_get_auto_connect")
423   (return-type "gboolean")
424 )
425
426 (define-method set_auto_connect
427   (of-object "EmpathyChatroom")
428   (c-name "empathy_chatroom_set_auto_connect")
429   (return-type "none")
430   (parameters
431     '("gboolean" "auto_connect")
432   )
433 )
434
435 (define-method get_subject
436   (of-object "EmpathyChatroom")
437   (c-name "empathy_chatroom_get_subject")
438   (return-type "const-gchar*")
439 )
440
441 (define-method set_subject
442   (of-object "EmpathyChatroom")
443   (c-name "empathy_chatroom_set_subject")
444   (return-type "none")
445   (parameters
446     '("const-gchar*" "subject")
447   )
448 )
449
450 (define-method get_members_count
451   (of-object "EmpathyChatroom")
452   (c-name "empathy_chatroom_get_members_count")
453   (return-type "guint")
454 )
455
456 (define-method set_members_count
457   (of-object "EmpathyChatroom")
458   (c-name "empathy_chatroom_set_members_count")
459   (return-type "none")
460   (parameters
461     '("guint" "count")
462   )
463 )
464
465 (define-method get_need_password
466   (of-object "EmpathyChatroom")
467   (c-name "empathy_chatroom_get_need_password")
468   (return-type "gboolean")
469 )
470
471 (define-method set_need_password
472   (of-object "EmpathyChatroom")
473   (c-name "empathy_chatroom_set_need_password")
474   (return-type "none")
475   (parameters
476     '("gboolean" "need_password")
477   )
478 )
479
480 (define-method get_invite_only
481   (of-object "EmpathyChatroom")
482   (c-name "empathy_chatroom_get_invite_only")
483   (return-type "gboolean")
484 )
485
486 (define-method set_invite_only
487   (of-object "EmpathyChatroom")
488   (c-name "empathy_chatroom_set_invite_only")
489   (return-type "none")
490   (parameters
491     '("gboolean" "invite_only")
492   )
493 )
494
495 (define-function chatroom_equal
496   (c-name "empathy_chatroom_equal")
497   (return-type "gboolean")
498   (parameters
499     '("gconstpointer" "v1")
500     '("gconstpointer" "v2")
501   )
502 )
503
504 (define-method get_tp_chat
505   (of-object "EmpathyChatroom")
506   (c-name "empathy_chatroom_get_tp_chat")
507   (return-type "EmpathyTpChat*")
508 )
509
510 (define-method set_tp_chat
511   (of-object "EmpathyChatroom")
512   (c-name "empathy_chatroom_set_tp_chat")
513   (return-type "none")
514   (parameters
515     '("EmpathyTpChat*" "tp_chat")
516   )
517 )
518
519 (define-method is_favorite
520   (of-object "EmpathyChatroom")
521   (c-name "empathy_chatroom_is_favorite")
522   (return-type "gboolean")
523 )
524
525 (define-method set_favorite
526   (of-object "EmpathyChatroom")
527   (c-name "empathy_chatroom_set_favorite")
528   (return-type "none")
529   (parameters
530     '("gboolean" "favorite")
531   )
532 )
533
534
535
536 ;; From empathy-chatroom-manager.h
537
538 (define-function chatroom_manager_get_type
539   (c-name "empathy_chatroom_manager_get_type")
540   (return-type "GType")
541 )
542
543 (define-function chatroom_manager_dup_singleton
544   (c-name "empathy_chatroom_manager_dup_singleton")
545   (return-type "EmpathyChatroomManager*")
546   (parameters
547     '("const-gchar*" "file")
548   )
549 )
550
551 (define-method add
552   (of-object "EmpathyChatroomManager")
553   (c-name "empathy_chatroom_manager_add")
554   (return-type "gboolean")
555   (parameters
556     '("EmpathyChatroom*" "chatroom")
557   )
558 )
559
560 (define-method remove
561   (of-object "EmpathyChatroomManager")
562   (c-name "empathy_chatroom_manager_remove")
563   (return-type "none")
564   (parameters
565     '("EmpathyChatroom*" "chatroom")
566   )
567 )
568
569 (define-method find
570   (of-object "EmpathyChatroomManager")
571   (c-name "empathy_chatroom_manager_find")
572   (return-type "EmpathyChatroom*")
573   (parameters
574     '("EmpathyAccount*" "account")
575     '("const-gchar*" "room")
576   )
577 )
578
579 (define-method get_chatrooms
580   (of-object "EmpathyChatroomManager")
581   (c-name "empathy_chatroom_manager_get_chatrooms")
582   (return-type "GList*")
583   (parameters
584     '("EmpathyAccount*" "account")
585   )
586 )
587
588 (define-method get_count
589   (of-object "EmpathyChatroomManager")
590   (c-name "empathy_chatroom_manager_get_count")
591   (return-type "guint")
592   (parameters
593     '("EmpathyAccount*" "account")
594   )
595 )
596
597 (define-method observe
598   (of-object "EmpathyChatroomManager")
599   (c-name "empathy_chatroom_manager_observe")
600   (return-type "none")
601   (parameters
602     '("EmpathyDispatcher*" "dispatcher")
603   )
604 )
605
606
607
608 ;; From empathy-call-factory.h
609
610 (define-function call_factory_get_type
611   (c-name "empathy_call_factory_get_type")
612   (return-type "GType")
613 )
614
615 (define-function call_factory_initialise
616   (c-name "empathy_call_factory_initialise")
617   (return-type "EmpathyCallFactory*")
618 )
619
620 (define-function call_factory_get
621   (c-name "empathy_call_factory_get")
622   (return-type "EmpathyCallFactory*")
623 )
624
625 (define-method new_call
626   (of-object "EmpathyCallFactory")
627   (c-name "empathy_call_factory_new_call")
628   (return-type "none")
629   (parameters
630     '("EmpathyContact*" "contact")
631   )
632 )
633
634 (define-method new_call_with_streams
635   (of-object "EmpathyCallFactory")
636   (c-name "empathy_call_factory_new_call_with_streams")
637   (return-type "none")
638   (parameters
639     '("EmpathyContact*" "contact")
640     '("gboolean" "initial_audio")
641     '("gboolean" "initial_video")
642   )
643 )
644
645 (define-method claim_channel
646   (of-object "EmpathyCallFactory")
647   (c-name "empathy_call_factory_claim_channel")
648   (return-type "none")
649   (parameters
650     '("EmpathyDispatchOperation*" "operation")
651   )
652 )
653
654
655
656 ;; From empathy-call-handler.h
657
658 (define-function call_handler_get_type
659   (c-name "empathy_call_handler_get_type")
660   (return-type "GType")
661 )
662
663 (define-function call_handler_new_for_contact
664   (c-name "empathy_call_handler_new_for_contact")
665   (return-type "EmpathyCallHandler*")
666   (parameters
667     '("EmpathyContact*" "contact")
668   )
669 )
670
671 (define-function call_handler_new_for_contact_with_streams
672   (c-name "empathy_call_handler_new_for_contact_with_streams")
673   (return-type "EmpathyCallHandler*")
674   (parameters
675     '("EmpathyContact*" "contact")
676     '("gboolean" "audio")
677     '("gboolean" "video")
678   )
679 )
680
681 (define-function call_handler_new_for_channel
682   (c-name "empathy_call_handler_new_for_channel")
683   (return-type "EmpathyCallHandler*")
684   (parameters
685     '("EmpathyTpCall*" "call")
686   )
687 )
688
689 (define-method start_call
690   (of-object "EmpathyCallHandler")
691   (c-name "empathy_call_handler_start_call")
692   (return-type "none")
693 )
694
695 (define-method stop_call
696   (of-object "EmpathyCallHandler")
697   (c-name "empathy_call_handler_stop_call")
698   (return-type "none")
699 )
700
701 (define-method has_initial_video
702   (of-object "EmpathyCallHandler")
703   (c-name "empathy_call_handler_has_initial_video")
704   (return-type "gboolean")
705 )
706
707 (define-method bus_message
708   (of-object "EmpathyCallHandler")
709   (c-name "empathy_call_handler_bus_message")
710   (return-type "none")
711   (parameters
712     '("GstBus*" "bus")
713     '("GstMessage*" "message")
714   )
715 )
716
717
718
719 ;; From empathy-contact.h
720
721 (define-function contact_get_type
722   (c-name "empathy_contact_get_type")
723   (return-type "GType")
724 )
725
726 (define-function contact_new
727   (c-name "empathy_contact_new")
728   (is-constructor-of "EmpathyContact")
729   (return-type "EmpathyContact*")
730   (parameters
731     '("TpContact*" "tp_contact")
732   )
733 )
734
735 (define-function contact_new_for_log
736   (c-name "empathy_contact_new_for_log")
737   (return-type "EmpathyContact*")
738   (parameters
739     '("EmpathyAccount*" "account")
740     '("const-gchar*" "id")
741     '("const-gchar*" "name")
742     '("gboolean" "is_user")
743   )
744 )
745
746 (define-method get_tp_contact
747   (of-object "EmpathyContact")
748   (c-name "empathy_contact_get_tp_contact")
749   (return-type "TpContact*")
750 )
751
752 (define-method get_id
753   (of-object "EmpathyContact")
754   (c-name "empathy_contact_get_id")
755   (return-type "const-gchar*")
756 )
757
758 (define-method set_id
759   (of-object "EmpathyContact")
760   (c-name "empathy_contact_set_id")
761   (return-type "none")
762   (parameters
763     '("const-gchar*" "id")
764   )
765 )
766
767 (define-method get_name
768   (of-object "EmpathyContact")
769   (c-name "empathy_contact_get_name")
770   (return-type "const-gchar*")
771 )
772
773 (define-method set_name
774   (of-object "EmpathyContact")
775   (c-name "empathy_contact_set_name")
776   (return-type "none")
777   (parameters
778     '("const-gchar*" "name")
779   )
780 )
781
782 (define-method get_avatar
783   (of-object "EmpathyContact")
784   (c-name "empathy_contact_get_avatar")
785   (return-type "EmpathyAvatar*")
786 )
787
788 (define-method set_avatar
789   (of-object "EmpathyContact")
790   (c-name "empathy_contact_set_avatar")
791   (return-type "none")
792   (parameters
793     '("EmpathyAvatar*" "avatar")
794   )
795 )
796
797 (define-method get_account
798   (of-object "EmpathyContact")
799   (c-name "empathy_contact_get_account")
800   (return-type "EmpathyAccount*")
801 )
802
803 (define-method get_connection
804   (of-object "EmpathyContact")
805   (c-name "empathy_contact_get_connection")
806   (return-type "TpConnection*")
807 )
808
809 (define-method get_presence
810   (of-object "EmpathyContact")
811   (c-name "empathy_contact_get_presence")
812   (return-type "TpConnectionPresenceType")
813 )
814
815 (define-method set_presence
816   (of-object "EmpathyContact")
817   (c-name "empathy_contact_set_presence")
818   (return-type "none")
819   (parameters
820     '("TpConnectionPresenceType" "presence")
821   )
822 )
823
824 (define-method get_presence_message
825   (of-object "EmpathyContact")
826   (c-name "empathy_contact_get_presence_message")
827   (return-type "const-gchar*")
828 )
829
830 (define-method set_presence_message
831   (of-object "EmpathyContact")
832   (c-name "empathy_contact_set_presence_message")
833   (return-type "none")
834   (parameters
835     '("const-gchar*" "message")
836   )
837 )
838
839 (define-method get_handle
840   (of-object "EmpathyContact")
841   (c-name "empathy_contact_get_handle")
842   (return-type "guint")
843 )
844
845 (define-method set_handle
846   (of-object "EmpathyContact")
847   (c-name "empathy_contact_set_handle")
848   (return-type "none")
849   (parameters
850     '("guint" "handle")
851   )
852 )
853
854 (define-method get_capabilities
855   (of-object "EmpathyContact")
856   (c-name "empathy_contact_get_capabilities")
857   (return-type "EmpathyCapabilities")
858 )
859
860 (define-method set_capabilities
861   (of-object "EmpathyContact")
862   (c-name "empathy_contact_set_capabilities")
863   (return-type "none")
864   (parameters
865     '("EmpathyCapabilities" "capabilities")
866   )
867 )
868
869 (define-method is_user
870   (of-object "EmpathyContact")
871   (c-name "empathy_contact_is_user")
872   (return-type "gboolean")
873 )
874
875 (define-method set_is_user
876   (of-object "EmpathyContact")
877   (c-name "empathy_contact_set_is_user")
878   (return-type "none")
879   (parameters
880     '("gboolean" "is_user")
881   )
882 )
883
884 (define-method is_online
885   (of-object "EmpathyContact")
886   (c-name "empathy_contact_is_online")
887   (return-type "gboolean")
888 )
889
890 (define-method get_status
891   (of-object "EmpathyContact")
892   (c-name "empathy_contact_get_status")
893   (return-type "const-gchar*")
894 )
895
896 (define-method can_voip
897   (of-object "EmpathyContact")
898   (c-name "empathy_contact_can_voip")
899   (return-type "gboolean")
900 )
901
902 (define-method can_send_files
903   (of-object "EmpathyContact")
904   (c-name "empathy_contact_can_send_files")
905   (return-type "gboolean")
906 )
907
908 (define-method can_use_stream_tube
909   (of-object "EmpathyContact")
910   (c-name "empathy_contact_can_use_stream_tube")
911   (return-type "gboolean")
912 )
913
914 (define-function contact_hash
915   (c-name "empathy_contact_hash")
916   (return-type "guint")
917   (parameters
918     '("gconstpointer" "key")
919   )
920 )
921
922 (define-method load_avatar_data
923   (of-object "EmpathyContact")
924   (c-name "empathy_contact_load_avatar_data")
925   (return-type "none")
926   (parameters
927     '("const-guchar*" "data")
928     '("const-gsize" "len")
929     '("const-gchar*" "format")
930     '("const-gchar*" "token")
931   )
932 )
933
934 (define-method load_avatar_cache
935   (of-object "EmpathyContact")
936   (c-name "empathy_contact_load_avatar_cache")
937   (return-type "gboolean")
938   (parameters
939     '("const-gchar*" "token")
940   )
941 )
942
943 (define-function avatar_get_type
944   (c-name "empathy_avatar_get_type")
945   (return-type "GType")
946 )
947
948 (define-function avatar_new
949   (c-name "empathy_avatar_new")
950   (is-constructor-of "EmpathyAvatar")
951   (return-type "EmpathyAvatar*")
952   (parameters
953     '("guchar*" "data")
954     '("gsize" "len")
955     '("gchar*" "format")
956     '("gchar*" "token")
957     '("gchar*" "filename")
958   )
959 )
960
961 (define-method ref
962   (of-object "EmpathyAvatar")
963   (c-name "empathy_avatar_ref")
964   (return-type "EmpathyAvatar*")
965 )
966
967 (define-method unref
968   (of-object "EmpathyAvatar")
969   (c-name "empathy_avatar_unref")
970   (return-type "none")
971 )
972
973 (define-method save_to_file
974   (of-object "EmpathyAvatar")
975   (c-name "empathy_avatar_save_to_file")
976   (return-type "gboolean")
977   (parameters
978     '("const-gchar*" "filename")
979     '("GError**" "error")
980   )
981 )
982
983 (define-method get_location
984   (of-object "EmpathyContact")
985   (c-name "empathy_contact_get_location")
986   (return-type "GHashTable*")
987 )
988
989 (define-method set_location
990   (of-object "EmpathyContact")
991   (c-name "empathy_contact_set_location")
992   (return-type "none")
993   (parameters
994     '("GHashTable*" "location")
995   )
996 )
997
998 (define-function contact_equal
999   (c-name "empathy_contact_equal")
1000   (return-type "gboolean")
1001   (parameters
1002     '("gconstpointer" "contact1")
1003     '("gconstpointer" "contact2")
1004   )
1005 )
1006
1007
1008
1009 ;; From empathy-contact-groups.h
1010
1011 (define-function contact_groups_get_all
1012   (c-name "empathy_contact_groups_get_all")
1013   (return-type "none")
1014 )
1015
1016 (define-function contact_group_get_expanded
1017   (c-name "empathy_contact_group_get_expanded")
1018   (return-type "gboolean")
1019   (parameters
1020     '("const-gchar*" "group")
1021   )
1022 )
1023
1024 (define-function contact_group_set_expanded
1025   (c-name "empathy_contact_group_set_expanded")
1026   (return-type "none")
1027   (parameters
1028     '("const-gchar*" "group")
1029     '("gboolean" "expanded")
1030   )
1031 )
1032
1033
1034
1035 ;; From empathy-contact-list.h
1036
1037 (define-function contact_list_get_type
1038   (c-name "empathy_contact_list_get_type")
1039   (return-type "GType")
1040 )
1041
1042 (define-method add
1043   (of-object "EmpathyContactList")
1044   (c-name "empathy_contact_list_add")
1045   (return-type "none")
1046   (parameters
1047     '("EmpathyContact*" "contact")
1048     '("const-gchar*" "message")
1049   )
1050 )
1051
1052 (define-method remove
1053   (of-object "EmpathyContactList")
1054   (c-name "empathy_contact_list_remove")
1055   (return-type "none")
1056   (parameters
1057     '("EmpathyContact*" "contact")
1058     '("const-gchar*" "message")
1059   )
1060 )
1061
1062 (define-method get_members
1063   (of-object "EmpathyContactList")
1064   (c-name "empathy_contact_list_get_members")
1065   (return-type "GList*")
1066 )
1067
1068 (define-method get_pendings
1069   (of-object "EmpathyContactList")
1070   (c-name "empathy_contact_list_get_pendings")
1071   (return-type "GList*")
1072 )
1073
1074 (define-method get_all_groups
1075   (of-object "EmpathyContactList")
1076   (c-name "empathy_contact_list_get_all_groups")
1077   (return-type "GList*")
1078 )
1079
1080 (define-method get_groups
1081   (of-object "EmpathyContactList")
1082   (c-name "empathy_contact_list_get_groups")
1083   (return-type "GList*")
1084   (parameters
1085     '("EmpathyContact*" "contact")
1086   )
1087 )
1088
1089 (define-method add_to_group
1090   (of-object "EmpathyContactList")
1091   (c-name "empathy_contact_list_add_to_group")
1092   (return-type "none")
1093   (parameters
1094     '("EmpathyContact*" "contact")
1095     '("const-gchar*" "group")
1096   )
1097 )
1098
1099 (define-method remove_from_group
1100   (of-object "EmpathyContactList")
1101   (c-name "empathy_contact_list_remove_from_group")
1102   (return-type "none")
1103   (parameters
1104     '("EmpathyContact*" "contact")
1105     '("const-gchar*" "group")
1106   )
1107 )
1108
1109 (define-method rename_group
1110   (of-object "EmpathyContactList")
1111   (c-name "empathy_contact_list_rename_group")
1112   (return-type "none")
1113   (parameters
1114     '("const-gchar*" "old_group")
1115     '("const-gchar*" "new_group")
1116   )
1117 )
1118
1119 (define-method remove_group
1120   (of-object "EmpathyContactList")
1121   (c-name "empathy_contact_list_remove_group")
1122   (return-type "none")
1123   (parameters
1124     '("const-gchar*" "group")
1125   )
1126 )
1127
1128 (define-method get_monitor
1129   (of-object "EmpathyContactList")
1130   (c-name "empathy_contact_list_get_monitor")
1131   (return-type "EmpathyContactMonitor*")
1132 )
1133
1134
1135
1136 ;; From empathy-contact-manager.h
1137
1138 (define-function contact_manager_get_type
1139   (c-name "empathy_contact_manager_get_type")
1140   (return-type "GType")
1141 )
1142
1143 (define-function contact_manager_dup_singleton
1144   (c-name "empathy_contact_manager_dup_singleton")
1145   (return-type "EmpathyContactManager*")
1146 )
1147
1148 (define-method get_list
1149   (of-object "EmpathyContactManager")
1150   (c-name "empathy_contact_manager_get_list")
1151   (return-type "EmpathyTpContactList*")
1152   (parameters
1153     '("TpConnection*" "connection")
1154   )
1155 )
1156
1157 (define-method can_add
1158   (of-object "EmpathyContactManager")
1159   (c-name "empathy_contact_manager_can_add")
1160   (return-type "gboolean")
1161   (parameters
1162     '("TpConnection*" "connection")
1163   )
1164 )
1165
1166
1167
1168 ;; From empathy-contact-monitor.h
1169
1170 (define-function contact_monitor_get_type
1171   (c-name "empathy_contact_monitor_get_type")
1172   (return-type "GType")
1173 )
1174
1175 (define-method set_iface
1176   (of-object "EmpathyContactMonitor")
1177   (c-name "empathy_contact_monitor_set_iface")
1178   (return-type "none")
1179   (parameters
1180     '("EmpathyContactList*" "iface")
1181   )
1182 )
1183
1184 (define-function contact_monitor_new_for_iface
1185   (c-name "empathy_contact_monitor_new_for_iface")
1186   (return-type "EmpathyContactMonitor*")
1187   (parameters
1188     '("EmpathyContactList*" "iface")
1189   )
1190 )
1191
1192
1193
1194 ;; From empathy-debug.h
1195
1196 (define-function debug_flag_is_set
1197   (c-name "empathy_debug_flag_is_set")
1198   (return-type "gboolean")
1199   (parameters
1200     '("EmpathyDebugFlags" "flag")
1201   )
1202 )
1203
1204 (define-function debug
1205   (c-name "empathy_debug")
1206   (return-type "none")
1207   (parameters
1208     '("EmpathyDebugFlags" "flag")
1209     '("const-gchar*" "format")
1210   )
1211   (varargs #t)
1212 )
1213
1214 (define-function debug_free
1215   (c-name "empathy_debug_free")
1216   (return-type "none")
1217 )
1218
1219 (define-function debug_set_flags
1220   (c-name "empathy_debug_set_flags")
1221   (return-type "none")
1222   (parameters
1223     '("const-gchar*" "flags_string")
1224   )
1225 )
1226
1227
1228
1229 ;; From empathy-dispatcher.h
1230
1231 (define-function dispatcher_get_type
1232   (c-name "empathy_dispatcher_get_type")
1233   (return-type "GType")
1234 )
1235
1236 (define-method create_channel
1237   (of-object "EmpathyDispatcher")
1238   (c-name "empathy_dispatcher_create_channel")
1239   (return-type "none")
1240   (parameters
1241     '("TpConnection*" "connection")
1242     '("GHashTable*" "request")
1243     '("EmpathyDispatcherRequestCb*" "callback")
1244     '("gpointer" "user_data")
1245   )
1246 )
1247
1248 (define-function dispatcher_chat_with_contact_id
1249   (c-name "empathy_dispatcher_chat_with_contact_id")
1250   (return-type "none")
1251   (parameters
1252     '("TpConnection*" "connection")
1253     '("const-gchar*" "contact_id")
1254     '("EmpathyDispatcherRequestCb*" "callback")
1255     '("gpointer" "user_data")
1256   )
1257 )
1258
1259 (define-function dispatcher_chat_with_contact
1260   (c-name "empathy_dispatcher_chat_with_contact")
1261   (return-type "none")
1262   (parameters
1263     '("EmpathyContact*" "contact")
1264     '("EmpathyDispatcherRequestCb*" "callback")
1265     '("gpointer" "user_data")
1266   )
1267 )
1268
1269 (define-function dispatcher_send_file_to_contact
1270   (c-name "empathy_dispatcher_send_file_to_contact")
1271   (return-type "none")
1272   (parameters
1273     '("EmpathyContact*" "contact")
1274     '("const-gchar*" "filename")
1275     '("guint64" "size")
1276     '("guint64" "date")
1277     '("const-gchar*" "content_type")
1278     '("EmpathyDispatcherRequestCb*" "callback")
1279     '("gpointer" "user_data")
1280   )
1281 )
1282
1283 (define-function dispatcher_join_muc
1284   (c-name "empathy_dispatcher_join_muc")
1285   (return-type "none")
1286   (parameters
1287     '("TpConnection*" "connection")
1288     '("const-gchar*" "roomname")
1289     '("EmpathyDispatcherRequestCb*" "callback")
1290     '("gpointer" "user_data")
1291   )
1292 )
1293
1294 (define-method find_requestable_channel_classes_async
1295   (of-object "EmpathyDispatcher")
1296   (c-name "empathy_dispatcher_find_requestable_channel_classes_async")
1297   (return-type "none")
1298   (parameters
1299     '("TpConnection*" "connection")
1300     '("const-gchar*" "channel_type")
1301     '("guint" "handle_type")
1302     '("EmpathyDispatcherFindChannelClassCb" "callback")
1303     '("gpointer" "user_data")
1304     '("const-char*" "first_property_name")
1305   )
1306   (varargs #t)
1307 )
1308
1309 (define-method find_requestable_channel_classes
1310   (of-object "EmpathyDispatcher")
1311   (c-name "empathy_dispatcher_find_requestable_channel_classes")
1312   (return-type "GList*")
1313   (parameters
1314     '("TpConnection*" "connection")
1315     '("const-gchar*" "channel_type")
1316     '("guint" "handle_type")
1317     '("const-char*" "first_property_name")
1318   )
1319   (varargs #t)
1320 )
1321
1322 (define-function dispatcher_dup_singleton
1323   (c-name "empathy_dispatcher_dup_singleton")
1324   (return-type "EmpathyDispatcher*")
1325 )
1326
1327
1328
1329 ;; From empathy-dispatch-operation.h
1330
1331 (define-function dispatch_operation_get_type
1332   (c-name "empathy_dispatch_operation_get_type")
1333   (return-type "GType")
1334 )
1335
1336 (define-function dispatch_operation_new
1337   (c-name "empathy_dispatch_operation_new")
1338   (is-constructor-of "EmpathyDispatchOperation")
1339   (return-type "EmpathyDispatchOperation*")
1340   (parameters
1341     '("TpConnection*" "connection")
1342     '("TpChannel*" "channel")
1343     '("EmpathyContact*" "contact")
1344     '("gboolean" "incoming")
1345   )
1346 )
1347
1348 (define-function dispatch_operation_new_with_wrapper
1349   (c-name "empathy_dispatch_operation_new_with_wrapper")
1350   (return-type "EmpathyDispatchOperation*")
1351   (parameters
1352     '("TpConnection*" "connection")
1353     '("TpChannel*" "channel")
1354     '("EmpathyContact*" "contact")
1355     '("gboolean" "incoming")
1356     '("GObject*" "channel_wrapper")
1357   )
1358 )
1359
1360 (define-method start
1361   (of-object "EmpathyDispatchOperation")
1362   (c-name "empathy_dispatch_operation_start")
1363   (return-type "none")
1364 )
1365
1366 (define-method approve
1367   (of-object "EmpathyDispatchOperation")
1368   (c-name "empathy_dispatch_operation_approve")
1369   (return-type "none")
1370 )
1371
1372 (define-method claim
1373   (of-object "EmpathyDispatchOperation")
1374   (c-name "empathy_dispatch_operation_claim")
1375   (return-type "gboolean")
1376 )
1377
1378 (define-method get_channel
1379   (of-object "EmpathyDispatchOperation")
1380   (c-name "empathy_dispatch_operation_get_channel")
1381   (return-type "TpChannel*")
1382 )
1383
1384 (define-method get_channel_wrapper
1385   (of-object "EmpathyDispatchOperation")
1386   (c-name "empathy_dispatch_operation_get_channel_wrapper")
1387   (return-type "GObject*")
1388 )
1389
1390 (define-method get_tp_connection
1391   (of-object "EmpathyDispatchOperation")
1392   (c-name "empathy_dispatch_operation_get_tp_connection")
1393   (return-type "TpConnection*")
1394 )
1395
1396 (define-method get_channel_type
1397   (of-object "EmpathyDispatchOperation")
1398   (c-name "empathy_dispatch_operation_get_channel_type")
1399   (return-type "const-gchar*")
1400 )
1401
1402 (define-method get_channel_type_id
1403   (of-object "EmpathyDispatchOperation")
1404   (c-name "empathy_dispatch_operation_get_channel_type_id")
1405   (return-type "GQuark")
1406 )
1407
1408 (define-method get_object_path
1409   (of-object "EmpathyDispatchOperation")
1410   (c-name "empathy_dispatch_operation_get_object_path")
1411   (return-type "const-gchar*")
1412 )
1413
1414 (define-method get_status
1415   (of-object "EmpathyDispatchOperation")
1416   (c-name "empathy_dispatch_operation_get_status")
1417   (return-type "EmpathyDispatchOperationState")
1418 )
1419
1420 (define-method is_incoming
1421   (of-object "EmpathyDispatchOperation")
1422   (c-name "empathy_dispatch_operation_is_incoming")
1423   (return-type "gboolean")
1424 )
1425
1426
1427
1428 ;; From empathy-ft-factory.h
1429
1430 (define-function ft_factory_get_type
1431   (c-name "empathy_ft_factory_get_type")
1432   (return-type "GType")
1433 )
1434
1435 (define-function ft_factory_dup_singleton
1436   (c-name "empathy_ft_factory_dup_singleton")
1437   (return-type "EmpathyFTFactory*")
1438 )
1439
1440 (define-method new_transfer_outgoing
1441   (of-object "EmpathyFTFactory")
1442   (c-name "empathy_ft_factory_new_transfer_outgoing")
1443   (return-type "none")
1444   (parameters
1445     '("EmpathyContact*" "contact")
1446     '("GFile*" "source")
1447   )
1448 )
1449
1450 (define-method claim_channel
1451   (of-object "EmpathyFTFactory")
1452   (c-name "empathy_ft_factory_claim_channel")
1453   (return-type "none")
1454   (parameters
1455     '("EmpathyDispatchOperation*" "operation")
1456   )
1457 )
1458
1459 (define-method set_destination_for_incoming_handler
1460   (of-object "EmpathyFTFactory")
1461   (c-name "empathy_ft_factory_set_destination_for_incoming_handler")
1462   (return-type "none")
1463   (parameters
1464     '("EmpathyFTHandler*" "handler")
1465     '("GFile*" "destination")
1466   )
1467 )
1468
1469
1470
1471 ;; From empathy-ft-handler.h
1472
1473 (define-function ft_handler_get_type
1474   (c-name "empathy_ft_handler_get_type")
1475   (return-type "GType")
1476 )
1477
1478 (define-function ft_handler_new_outgoing
1479   (c-name "empathy_ft_handler_new_outgoing")
1480   (return-type "none")
1481   (parameters
1482     '("EmpathyContact*" "contact")
1483     '("GFile*" "source")
1484     '("EmpathyFTHandlerReadyCallback" "callback")
1485     '("gpointer" "user_data")
1486   )
1487 )
1488
1489 (define-function ft_handler_new_incoming
1490   (c-name "empathy_ft_handler_new_incoming")
1491   (return-type "none")
1492   (parameters
1493     '("EmpathyTpFile*" "tp_file")
1494     '("EmpathyFTHandlerReadyCallback" "callback")
1495     '("gpointer" "user_data")
1496   )
1497 )
1498
1499 (define-method incoming_set_destination
1500   (of-object "EmpathyFTHandler")
1501   (c-name "empathy_ft_handler_incoming_set_destination")
1502   (return-type "none")
1503   (parameters
1504     '("GFile*" "destination")
1505   )
1506 )
1507
1508 (define-method start_transfer
1509   (of-object "EmpathyFTHandler")
1510   (c-name "empathy_ft_handler_start_transfer")
1511   (return-type "none")
1512 )
1513
1514 (define-method cancel_transfer
1515   (of-object "EmpathyFTHandler")
1516   (c-name "empathy_ft_handler_cancel_transfer")
1517   (return-type "none")
1518 )
1519
1520 (define-method get_filename
1521   (of-object "EmpathyFTHandler")
1522   (c-name "empathy_ft_handler_get_filename")
1523   (return-type "const-char*")
1524 )
1525
1526 (define-method get_content_type
1527   (of-object "EmpathyFTHandler")
1528   (c-name "empathy_ft_handler_get_content_type")
1529   (return-type "const-char*")
1530 )
1531
1532 (define-method get_contact
1533   (of-object "EmpathyFTHandler")
1534   (c-name "empathy_ft_handler_get_contact")
1535   (return-type "EmpathyContact*")
1536 )
1537
1538 (define-method get_gfile
1539   (of-object "EmpathyFTHandler")
1540   (c-name "empathy_ft_handler_get_gfile")
1541   (return-type "GFile*")
1542 )
1543
1544 (define-method get_use_hash
1545   (of-object "EmpathyFTHandler")
1546   (c-name "empathy_ft_handler_get_use_hash")
1547   (return-type "gboolean")
1548 )
1549
1550 (define-method is_incoming
1551   (of-object "EmpathyFTHandler")
1552   (c-name "empathy_ft_handler_is_incoming")
1553   (return-type "gboolean")
1554 )
1555
1556 (define-method get_transferred_bytes
1557   (of-object "EmpathyFTHandler")
1558   (c-name "empathy_ft_handler_get_transferred_bytes")
1559   (return-type "guint64")
1560 )
1561
1562 (define-method get_total_bytes
1563   (of-object "EmpathyFTHandler")
1564   (c-name "empathy_ft_handler_get_total_bytes")
1565   (return-type "guint64")
1566 )
1567
1568 (define-method is_completed
1569   (of-object "EmpathyFTHandler")
1570   (c-name "empathy_ft_handler_is_completed")
1571   (return-type "gboolean")
1572 )
1573
1574 (define-method is_cancelled
1575   (of-object "EmpathyFTHandler")
1576   (c-name "empathy_ft_handler_is_cancelled")
1577   (return-type "gboolean")
1578 )
1579
1580
1581
1582 ;; From empathy-idle.h
1583
1584 (define-function idle_get_type
1585   (c-name "empathy_idle_get_type")
1586   (return-type "GType")
1587 )
1588
1589 (define-function idle_dup_singleton
1590   (c-name "empathy_idle_dup_singleton")
1591   (return-type "EmpathyIdle*")
1592 )
1593
1594 (define-method get_state
1595   (of-object "EmpathyIdle")
1596   (c-name "empathy_idle_get_state")
1597   (return-type "TpConnectionPresenceType")
1598 )
1599
1600 (define-method set_state
1601   (of-object "EmpathyIdle")
1602   (c-name "empathy_idle_set_state")
1603   (return-type "none")
1604   (parameters
1605     '("TpConnectionPresenceType" "state")
1606   )
1607 )
1608
1609 (define-method get_status
1610   (of-object "EmpathyIdle")
1611   (c-name "empathy_idle_get_status")
1612   (return-type "const-gchar*")
1613 )
1614
1615 (define-method set_status
1616   (of-object "EmpathyIdle")
1617   (c-name "empathy_idle_set_status")
1618   (return-type "none")
1619   (parameters
1620     '("const-gchar*" "status")
1621   )
1622 )
1623
1624 (define-method get_flash_state
1625   (of-object "EmpathyIdle")
1626   (c-name "empathy_idle_get_flash_state")
1627   (return-type "TpConnectionPresenceType")
1628 )
1629
1630 (define-method set_flash_state
1631   (of-object "EmpathyIdle")
1632   (c-name "empathy_idle_set_flash_state")
1633   (return-type "none")
1634   (parameters
1635     '("TpConnectionPresenceType" "state")
1636   )
1637 )
1638
1639 (define-method set_presence
1640   (of-object "EmpathyIdle")
1641   (c-name "empathy_idle_set_presence")
1642   (return-type "none")
1643   (parameters
1644     '("TpConnectionPresenceType" "state")
1645     '("const-gchar*" "status")
1646   )
1647 )
1648
1649 (define-method get_auto_away
1650   (of-object "EmpathyIdle")
1651   (c-name "empathy_idle_get_auto_away")
1652   (return-type "gboolean")
1653 )
1654
1655 (define-method set_auto_away
1656   (of-object "EmpathyIdle")
1657   (c-name "empathy_idle_set_auto_away")
1658   (return-type "none")
1659   (parameters
1660     '("gboolean" "auto_away")
1661   )
1662 )
1663
1664 (define-method get_use_nm
1665   (of-object "EmpathyIdle")
1666   (c-name "empathy_idle_get_use_nm")
1667   (return-type "gboolean")
1668 )
1669
1670 (define-method set_use_nm
1671   (of-object "EmpathyIdle")
1672   (c-name "empathy_idle_set_use_nm")
1673   (return-type "none")
1674   (parameters
1675     '("gboolean" "use_nm")
1676   )
1677 )
1678
1679
1680
1681 ;; From empathy-irc-network.h
1682
1683 (define-function irc_network_get_type
1684   (c-name "empathy_irc_network_get_type")
1685   (return-type "GType")
1686 )
1687
1688 (define-function irc_network_new
1689   (c-name "empathy_irc_network_new")
1690   (is-constructor-of "EmpathyIrcNetwork")
1691   (return-type "EmpathyIrcNetwork*")
1692   (parameters
1693     '("const-gchar*" "name")
1694   )
1695 )
1696
1697 (define-method get_servers
1698   (of-object "EmpathyIrcNetwork")
1699   (c-name "empathy_irc_network_get_servers")
1700   (return-type "GSList*")
1701 )
1702
1703 (define-method append_server
1704   (of-object "EmpathyIrcNetwork")
1705   (c-name "empathy_irc_network_append_server")
1706   (return-type "none")
1707   (parameters
1708     '("EmpathyIrcServer*" "server")
1709   )
1710 )
1711
1712 (define-method remove_server
1713   (of-object "EmpathyIrcNetwork")
1714   (c-name "empathy_irc_network_remove_server")
1715   (return-type "none")
1716   (parameters
1717     '("EmpathyIrcServer*" "server")
1718   )
1719 )
1720
1721 (define-method set_server_position
1722   (of-object "EmpathyIrcNetwork")
1723   (c-name "empathy_irc_network_set_server_position")
1724   (return-type "none")
1725   (parameters
1726     '("EmpathyIrcServer*" "server")
1727     '("gint" "pos")
1728   )
1729 )
1730
1731
1732
1733 ;; From empathy-irc-network-manager.h
1734
1735 (define-function irc_network_manager_get_type
1736   (c-name "empathy_irc_network_manager_get_type")
1737   (return-type "GType")
1738 )
1739
1740 (define-function irc_network_manager_new
1741   (c-name "empathy_irc_network_manager_new")
1742   (is-constructor-of "EmpathyIrcNetworkManager")
1743   (return-type "EmpathyIrcNetworkManager*")
1744   (parameters
1745     '("const-gchar*" "global_file")
1746     '("const-gchar*" "user_file")
1747   )
1748 )
1749
1750 (define-method add
1751   (of-object "EmpathyIrcNetworkManager")
1752   (c-name "empathy_irc_network_manager_add")
1753   (return-type "none")
1754   (parameters
1755     '("EmpathyIrcNetwork*" "network")
1756   )
1757 )
1758
1759 (define-method remove
1760   (of-object "EmpathyIrcNetworkManager")
1761   (c-name "empathy_irc_network_manager_remove")
1762   (return-type "none")
1763   (parameters
1764     '("EmpathyIrcNetwork*" "network")
1765   )
1766 )
1767
1768 (define-method get_networks
1769   (of-object "EmpathyIrcNetworkManager")
1770   (c-name "empathy_irc_network_manager_get_networks")
1771   (return-type "GSList*")
1772 )
1773
1774 (define-method find_network_by_address
1775   (of-object "EmpathyIrcNetworkManager")
1776   (c-name "empathy_irc_network_manager_find_network_by_address")
1777   (return-type "EmpathyIrcNetwork*")
1778   (parameters
1779     '("const-gchar*" "address")
1780   )
1781 )
1782
1783
1784
1785 ;; From empathy-irc-server.h
1786
1787 (define-function irc_server_get_type
1788   (c-name "empathy_irc_server_get_type")
1789   (return-type "GType")
1790 )
1791
1792 (define-function irc_server_new
1793   (c-name "empathy_irc_server_new")
1794   (is-constructor-of "EmpathyIrcServer")
1795   (return-type "EmpathyIrcServer*")
1796   (parameters
1797     '("const-gchar*" "address")
1798     '("guint" "port")
1799     '("gboolean" "ssl")
1800   )
1801 )
1802
1803
1804
1805 ;; From empathy-log-manager.h
1806
1807 (define-function log_manager_get_type
1808   (c-name "empathy_log_manager_get_type")
1809   (return-type "GType")
1810 )
1811
1812 (define-function log_manager_dup_singleton
1813   (c-name "empathy_log_manager_dup_singleton")
1814   (return-type "EmpathyLogManager*")
1815 )
1816
1817 (define-method add_message
1818   (of-object "EmpathyLogManager")
1819   (c-name "empathy_log_manager_add_message")
1820   (return-type "gboolean")
1821   (parameters
1822     '("const-gchar*" "chat_id")
1823     '("gboolean" "chatroom")
1824     '("EmpathyMessage*" "message")
1825     '("GError**" "error")
1826   )
1827 )
1828
1829 (define-method exists
1830   (of-object "EmpathyLogManager")
1831   (c-name "empathy_log_manager_exists")
1832   (return-type "gboolean")
1833   (parameters
1834     '("EmpathyAccount*" "account")
1835     '("const-gchar*" "chat_id")
1836     '("gboolean" "chatroom")
1837   )
1838 )
1839
1840 (define-method get_dates
1841   (of-object "EmpathyLogManager")
1842   (c-name "empathy_log_manager_get_dates")
1843   (return-type "GList*")
1844   (parameters
1845     '("EmpathyAccount*" "account")
1846     '("const-gchar*" "chat_id")
1847     '("gboolean" "chatroom")
1848   )
1849 )
1850
1851 (define-method get_messages_for_date
1852   (of-object "EmpathyLogManager")
1853   (c-name "empathy_log_manager_get_messages_for_date")
1854   (return-type "GList*")
1855   (parameters
1856     '("EmpathyAccount*" "account")
1857     '("const-gchar*" "chat_id")
1858     '("gboolean" "chatroom")
1859     '("const-gchar*" "date")
1860   )
1861 )
1862
1863 (define-method get_filtered_messages
1864   (of-object "EmpathyLogManager")
1865   (c-name "empathy_log_manager_get_filtered_messages")
1866   (return-type "GList*")
1867   (parameters
1868     '("EmpathyAccount*" "account")
1869     '("const-gchar*" "chat_id")
1870     '("gboolean" "chatroom")
1871     '("guint" "num_messages")
1872     '("EmpathyLogMessageFilter" "filter")
1873     '("gpointer" "user_data")
1874   )
1875 )
1876
1877 (define-method get_chats
1878   (of-object "EmpathyLogManager")
1879   (c-name "empathy_log_manager_get_chats")
1880   (return-type "GList*")
1881   (parameters
1882     '("EmpathyAccount*" "account")
1883   )
1884 )
1885
1886 (define-method search_new
1887   (of-object "EmpathyLogManager")
1888   (c-name "empathy_log_manager_search_new")
1889   (return-type "GList*")
1890   (parameters
1891     '("const-gchar*" "text")
1892   )
1893 )
1894
1895 (define-function log_manager_search_free
1896   (c-name "empathy_log_manager_search_free")
1897   (return-type "none")
1898   (parameters
1899     '("GList*" "hits")
1900   )
1901 )
1902
1903 (define-function log_manager_get_date_readable
1904   (c-name "empathy_log_manager_get_date_readable")
1905   (return-type "gchar*")
1906   (parameters
1907     '("const-gchar*" "date")
1908   )
1909 )
1910
1911 (define-function log_manager_search_hit_free
1912   (c-name "empathy_log_manager_search_hit_free")
1913   (return-type "none")
1914   (parameters
1915     '("EmpathyLogSearchHit*" "hit")
1916   )
1917 )
1918
1919 (define-method observe
1920   (of-object "EmpathyLogManager")
1921   (c-name "empathy_log_manager_observe")
1922   (return-type "none")
1923   (parameters
1924     '("EmpathyDispatcher*" "dispatcher")
1925   )
1926 )
1927
1928
1929
1930 ;; From empathy-log-store.h
1931
1932 (define-function log_store_get_type
1933   (c-name "empathy_log_store_get_type")
1934   (return-type "GType")
1935 )
1936
1937 (define-method get_name
1938   (of-object "EmpathyLogStore")
1939   (c-name "empathy_log_store_get_name")
1940   (return-type "const-gchar*")
1941 )
1942
1943 (define-method exists
1944   (of-object "EmpathyLogStore")
1945   (c-name "empathy_log_store_exists")
1946   (return-type "gboolean")
1947   (parameters
1948     '("EmpathyAccount*" "account")
1949     '("const-gchar*" "chat_id")
1950     '("gboolean" "chatroom")
1951   )
1952 )
1953
1954 (define-method add_message
1955   (of-object "EmpathyLogStore")
1956   (c-name "empathy_log_store_add_message")
1957   (return-type "gboolean")
1958   (parameters
1959     '("const-gchar*" "chat_id")
1960     '("gboolean" "chatroom")
1961     '("EmpathyMessage*" "message")
1962     '("GError**" "error")
1963   )
1964 )
1965
1966 (define-method get_dates
1967   (of-object "EmpathyLogStore")
1968   (c-name "empathy_log_store_get_dates")
1969   (return-type "GList*")
1970   (parameters
1971     '("EmpathyAccount*" "account")
1972     '("const-gchar*" "chat_id")
1973     '("gboolean" "chatroom")
1974   )
1975 )
1976
1977 (define-method get_messages_for_date
1978   (of-object "EmpathyLogStore")
1979   (c-name "empathy_log_store_get_messages_for_date")
1980   (return-type "GList*")
1981   (parameters
1982     '("EmpathyAccount*" "account")
1983     '("const-gchar*" "chat_id")
1984     '("gboolean" "chatroom")
1985     '("const-gchar*" "date")
1986   )
1987 )
1988
1989 (define-method get_last_messages
1990   (of-object "EmpathyLogStore")
1991   (c-name "empathy_log_store_get_last_messages")
1992   (return-type "GList*")
1993   (parameters
1994     '("EmpathyAccount*" "account")
1995     '("const-gchar*" "chat_id")
1996     '("gboolean" "chatroom")
1997   )
1998 )
1999
2000 (define-method get_chats
2001   (of-object "EmpathyLogStore")
2002   (c-name "empathy_log_store_get_chats")
2003   (return-type "GList*")
2004   (parameters
2005     '("EmpathyAccount*" "account")
2006   )
2007 )
2008
2009 (define-method search_new
2010   (of-object "EmpathyLogStore")
2011   (c-name "empathy_log_store_search_new")
2012   (return-type "GList*")
2013   (parameters
2014     '("const-gchar*" "text")
2015   )
2016 )
2017
2018 (define-method ack_message
2019   (of-object "EmpathyLogStore")
2020   (c-name "empathy_log_store_ack_message")
2021   (return-type "none")
2022   (parameters
2023     '("const-gchar*" "chat_id")
2024     '("gboolean" "chatroom")
2025     '("EmpathyMessage*" "message")
2026   )
2027 )
2028
2029 (define-method get_filtered_messages
2030   (of-object "EmpathyLogStore")
2031   (c-name "empathy_log_store_get_filtered_messages")
2032   (return-type "GList*")
2033   (parameters
2034     '("EmpathyAccount*" "account")
2035     '("const-gchar*" "chat_id")
2036     '("gboolean" "chatroom")
2037     '("guint" "num_messages")
2038     '("EmpathyLogMessageFilter" "filter")
2039     '("gpointer" "user_data")
2040   )
2041 )
2042
2043
2044
2045 ;; From empathy-log-store-empathy.h
2046
2047 (define-function log_store_empathy_get_type
2048   (c-name "empathy_log_store_empathy_get_type")
2049   (return-type "GType")
2050 )
2051
2052
2053
2054 ;; From empathy-message.h
2055
2056 (define-function message_get_type
2057   (c-name "empathy_message_get_type")
2058   (return-type "GType")
2059 )
2060
2061 (define-function message_new
2062   (c-name "empathy_message_new")
2063   (is-constructor-of "EmpathyMessage")
2064   (return-type "EmpathyMessage*")
2065   (parameters
2066     '("const-gchar*" "body")
2067   )
2068 )
2069
2070 (define-method get_tptype
2071   (of-object "EmpathyMessage")
2072   (c-name "empathy_message_get_tptype")
2073   (return-type "TpChannelTextMessageType")
2074 )
2075
2076 (define-method set_tptype
2077   (of-object "EmpathyMessage")
2078   (c-name "empathy_message_set_tptype")
2079   (return-type "none")
2080   (parameters
2081     '("TpChannelTextMessageType" "type")
2082   )
2083 )
2084
2085 (define-method get_sender
2086   (of-object "EmpathyMessage")
2087   (c-name "empathy_message_get_sender")
2088   (return-type "EmpathyContact*")
2089 )
2090
2091 (define-method set_sender
2092   (of-object "EmpathyMessage")
2093   (c-name "empathy_message_set_sender")
2094   (return-type "none")
2095   (parameters
2096     '("EmpathyContact*" "contact")
2097   )
2098 )
2099
2100 (define-method get_receiver
2101   (of-object "EmpathyMessage")
2102   (c-name "empathy_message_get_receiver")
2103   (return-type "EmpathyContact*")
2104 )
2105
2106 (define-method set_receiver
2107   (of-object "EmpathyMessage")
2108   (c-name "empathy_message_set_receiver")
2109   (return-type "none")
2110   (parameters
2111     '("EmpathyContact*" "contact")
2112   )
2113 )
2114
2115 (define-method get_body
2116   (of-object "EmpathyMessage")
2117   (c-name "empathy_message_get_body")
2118   (return-type "const-gchar*")
2119 )
2120
2121 (define-method set_body
2122   (of-object "EmpathyMessage")
2123   (c-name "empathy_message_set_body")
2124   (return-type "none")
2125   (parameters
2126     '("const-gchar*" "body")
2127   )
2128 )
2129
2130 (define-method get_timestamp
2131   (of-object "EmpathyMessage")
2132   (c-name "empathy_message_get_timestamp")
2133   (return-type "time_t")
2134 )
2135
2136 (define-method set_timestamp
2137   (of-object "EmpathyMessage")
2138   (c-name "empathy_message_set_timestamp")
2139   (return-type "none")
2140   (parameters
2141     '("time_t" "timestamp")
2142   )
2143 )
2144
2145 (define-method should_highlight
2146   (of-object "EmpathyMessage")
2147   (c-name "empathy_message_should_highlight")
2148   (return-type "gboolean")
2149 )
2150
2151 (define-function message_type_from_str
2152   (c-name "empathy_message_type_from_str")
2153   (return-type "TpChannelTextMessageType")
2154   (parameters
2155     '("const-gchar*" "type_str")
2156   )
2157 )
2158
2159 (define-function message_type_to_str
2160   (c-name "empathy_message_type_to_str")
2161   (return-type "const-gchar*")
2162   (parameters
2163     '("TpChannelTextMessageType" "type")
2164   )
2165 )
2166
2167 (define-method get_id
2168   (of-object "EmpathyMessage")
2169   (c-name "empathy_message_get_id")
2170   (return-type "guint")
2171 )
2172
2173 (define-method set_id
2174   (of-object "EmpathyMessage")
2175   (c-name "empathy_message_set_id")
2176   (return-type "none")
2177   (parameters
2178     '("guint" "id")
2179   )
2180 )
2181
2182 (define-method equal
2183   (of-object "EmpathyMessage")
2184   (c-name "empathy_message_equal")
2185   (return-type "gboolean")
2186   (parameters
2187     '("EmpathyMessage*" "message2")
2188   )
2189 )
2190
2191
2192
2193 ;; From empathy-status-presets.h
2194
2195 (define-function status_presets_get_all
2196   (c-name "empathy_status_presets_get_all")
2197   (return-type "none")
2198 )
2199
2200 (define-function status_presets_get
2201   (c-name "empathy_status_presets_get")
2202   (return-type "GList*")
2203   (parameters
2204     '("TpConnectionPresenceType" "state")
2205     '("gint" "max_number")
2206   )
2207 )
2208
2209 (define-function status_presets_set_last
2210   (c-name "empathy_status_presets_set_last")
2211   (return-type "none")
2212   (parameters
2213     '("TpConnectionPresenceType" "state")
2214     '("const-gchar*" "status")
2215   )
2216 )
2217
2218 (define-function status_presets_remove
2219   (c-name "empathy_status_presets_remove")
2220   (return-type "none")
2221   (parameters
2222     '("TpConnectionPresenceType" "state")
2223     '("const-gchar*" "status")
2224   )
2225 )
2226
2227 (define-function status_presets_reset
2228   (c-name "empathy_status_presets_reset")
2229   (return-type "none")
2230 )
2231
2232 (define-function status_presets_get_default_state
2233   (c-name "empathy_status_presets_get_default_state")
2234   (return-type "TpConnectionPresenceType")
2235 )
2236
2237 (define-function status_presets_get_default_status
2238   (c-name "empathy_status_presets_get_default_status")
2239   (return-type "const-gchar*")
2240 )
2241
2242 (define-function status_presets_set_default
2243   (c-name "empathy_status_presets_set_default")
2244   (return-type "none")
2245   (parameters
2246     '("TpConnectionPresenceType" "state")
2247     '("const-gchar*" "status")
2248   )
2249 )
2250
2251 (define-function status_presets_clear_default
2252   (c-name "empathy_status_presets_clear_default")
2253   (return-type "none")
2254 )
2255
2256 (define-function status_presets_is_valid
2257   (c-name "empathy_status_presets_is_valid")
2258   (return-type "gboolean")
2259   (parameters
2260     '("TpConnectionPresenceType" "state")
2261   )
2262 )
2263
2264
2265
2266 ;; From empathy-time.h
2267
2268 (define-function time_get_current
2269   (c-name "empathy_time_get_current")
2270   (return-type "time_t")
2271 )
2272
2273 (define-function time_get_local_time
2274   (c-name "empathy_time_get_local_time")
2275   (return-type "time_t")
2276   (parameters
2277     '("struct-tm*" "tm")
2278   )
2279 )
2280
2281 (define-function time_parse
2282   (c-name "empathy_time_parse")
2283   (return-type "time_t")
2284   (parameters
2285     '("const-gchar*" "str")
2286   )
2287 )
2288
2289 (define-function time_to_string_utc
2290   (c-name "empathy_time_to_string_utc")
2291   (return-type "gchar*")
2292   (parameters
2293     '("time_t" "t")
2294     '("const-gchar*" "format")
2295   )
2296 )
2297
2298 (define-function time_to_string_local
2299   (c-name "empathy_time_to_string_local")
2300   (return-type "gchar*")
2301   (parameters
2302     '("time_t" "t")
2303     '("const-gchar*" "format")
2304   )
2305 )
2306
2307 (define-function time_to_string_relative
2308   (c-name "empathy_time_to_string_relative")
2309   (return-type "gchar*")
2310   (parameters
2311     '("time_t" "t")
2312   )
2313 )
2314
2315
2316
2317 ;; From empathy-tp-call.h
2318
2319 (define-function tp_call_get_type
2320   (c-name "empathy_tp_call_get_type")
2321   (return-type "GType")
2322 )
2323
2324 (define-function tp_call_new
2325   (c-name "empathy_tp_call_new")
2326   (is-constructor-of "EmpathyTpCall")
2327   (return-type "EmpathyTpCall*")
2328   (parameters
2329     '("TpChannel*" "channel")
2330   )
2331 )
2332
2333 (define-method close
2334   (of-object "EmpathyTpCall")
2335   (c-name "empathy_tp_call_close")
2336   (return-type "none")
2337 )
2338
2339 (define-method to
2340   (of-object "EmpathyTpCall")
2341   (c-name "empathy_tp_call_to")
2342   (return-type "none")
2343   (parameters
2344     '("EmpathyContact*" "contact")
2345     '("gboolean" "audio")
2346     '("gboolean" "video")
2347   )
2348 )
2349
2350 (define-method accept_incoming_call
2351   (of-object "EmpathyTpCall")
2352   (c-name "empathy_tp_call_accept_incoming_call")
2353   (return-type "none")
2354 )
2355
2356 (define-method request_video_stream_direction
2357   (of-object "EmpathyTpCall")
2358   (c-name "empathy_tp_call_request_video_stream_direction")
2359   (return-type "none")
2360   (parameters
2361     '("gboolean" "is_sending")
2362   )
2363 )
2364
2365 (define-method start_tone
2366   (of-object "EmpathyTpCall")
2367   (c-name "empathy_tp_call_start_tone")
2368   (return-type "none")
2369   (parameters
2370     '("TpDTMFEvent" "event")
2371   )
2372 )
2373
2374 (define-method stop_tone
2375   (of-object "EmpathyTpCall")
2376   (c-name "empathy_tp_call_stop_tone")
2377   (return-type "none")
2378 )
2379
2380 (define-method has_dtmf
2381   (of-object "EmpathyTpCall")
2382   (c-name "empathy_tp_call_has_dtmf")
2383   (return-type "gboolean")
2384 )
2385
2386 (define-method is_receiving_video
2387   (of-object "EmpathyTpCall")
2388   (c-name "empathy_tp_call_is_receiving_video")
2389   (return-type "gboolean")
2390 )
2391
2392 (define-method is_sending_video
2393   (of-object "EmpathyTpCall")
2394   (c-name "empathy_tp_call_is_sending_video")
2395   (return-type "gboolean")
2396 )
2397
2398
2399
2400 ;; From empathy-tp-chat.h
2401
2402 (define-function tp_chat_get_type
2403   (c-name "empathy_tp_chat_get_type")
2404   (return-type "GType")
2405 )
2406
2407 (define-function tp_chat_new
2408   (c-name "empathy_tp_chat_new")
2409   (is-constructor-of "EmpathyTpChat")
2410   (return-type "EmpathyTpChat*")
2411   (parameters
2412     '("TpChannel*" "channel")
2413   )
2414 )
2415
2416 (define-method close
2417   (of-object "EmpathyTpChat")
2418   (c-name "empathy_tp_chat_close")
2419   (return-type "none")
2420 )
2421
2422 (define-method get_id
2423   (of-object "EmpathyTpChat")
2424   (c-name "empathy_tp_chat_get_id")
2425   (return-type "const-gchar*")
2426 )
2427
2428 (define-method get_remote_contact
2429   (of-object "EmpathyTpChat")
2430   (c-name "empathy_tp_chat_get_remote_contact")
2431   (return-type "EmpathyContact*")
2432 )
2433
2434 (define-method get_channel
2435   (of-object "EmpathyTpChat")
2436   (c-name "empathy_tp_chat_get_channel")
2437   (return-type "TpChannel*")
2438 )
2439
2440 (define-method get_connection
2441   (of-object "EmpathyTpChat")
2442   (c-name "empathy_tp_chat_get_connection")
2443   (return-type "TpConnection*")
2444 )
2445
2446 (define-method is_ready
2447   (of-object "EmpathyTpChat")
2448   (c-name "empathy_tp_chat_is_ready")
2449   (return-type "gboolean")
2450 )
2451
2452 (define-method send
2453   (of-object "EmpathyTpChat")
2454   (c-name "empathy_tp_chat_send")
2455   (return-type "none")
2456   (parameters
2457     '("EmpathyMessage*" "message")
2458   )
2459 )
2460
2461 (define-method set_state
2462   (of-object "EmpathyTpChat")
2463   (c-name "empathy_tp_chat_set_state")
2464   (return-type "none")
2465   (parameters
2466     '("TpChannelChatState" "state")
2467   )
2468 )
2469
2470 (define-method set_property
2471   (of-object "EmpathyTpChat")
2472   (c-name "empathy_tp_chat_set_property")
2473   (return-type "none")
2474   (parameters
2475     '("const-gchar*" "name")
2476     '("const-GValue*" "value")
2477   )
2478 )
2479
2480 (define-method get_pending_messages
2481   (of-object "EmpathyTpChat")
2482   (c-name "empathy_tp_chat_get_pending_messages")
2483   (return-type "const-GList*")
2484 )
2485
2486 (define-method acknowledge_message
2487   (of-object "EmpathyTpChat")
2488   (c-name "empathy_tp_chat_acknowledge_message")
2489   (return-type "none")
2490   (parameters
2491     '("EmpathyMessage*" "message")
2492   )
2493 )
2494
2495 (define-method acknowledge_messages
2496   (of-object "EmpathyTpChat")
2497   (c-name "empathy_tp_chat_acknowledge_messages")
2498   (return-type "none")
2499   (parameters
2500     '("const-GList*" "messages")
2501   )
2502 )
2503
2504
2505
2506 ;; From empathy-tp-contact-factory.h
2507
2508 (define-function tp_contact_factory_get_type
2509   (c-name "empathy_tp_contact_factory_get_type")
2510   (return-type "GType")
2511 )
2512
2513 (define-function tp_contact_factory_dup_singleton
2514   (c-name "empathy_tp_contact_factory_dup_singleton")
2515   (return-type "EmpathyTpContactFactory*")
2516   (parameters
2517     '("TpConnection*" "connection")
2518   )
2519 )
2520
2521 (define-method get_from_ids
2522   (of-object "EmpathyTpContactFactory")
2523   (c-name "empathy_tp_contact_factory_get_from_ids")
2524   (return-type "none")
2525   (parameters
2526     '("guint" "n_ids")
2527     '("const-gchar*-const*" "ids")
2528     '("EmpathyTpContactFactoryContactsByIdCb" "callback")
2529     '("gpointer" "user_data")
2530     '("GDestroyNotify" "destroy")
2531     '("GObject*" "weak_object")
2532   )
2533 )
2534
2535 (define-method get_from_handles
2536   (of-object "EmpathyTpContactFactory")
2537   (c-name "empathy_tp_contact_factory_get_from_handles")
2538   (return-type "none")
2539   (parameters
2540     '("guint" "n_handles")
2541     '("const-TpHandle*" "handles")
2542     '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
2543     '("gpointer" "user_data")
2544     '("GDestroyNotify" "destroy")
2545     '("GObject*" "weak_object")
2546   )
2547 )
2548
2549 (define-method get_from_id
2550   (of-object "EmpathyTpContactFactory")
2551   (c-name "empathy_tp_contact_factory_get_from_id")
2552   (return-type "none")
2553   (parameters
2554     '("const-gchar*" "id")
2555     '("EmpathyTpContactFactoryContactCb" "callback")
2556     '("gpointer" "user_data")
2557     '("GDestroyNotify" "destroy")
2558     '("GObject*" "weak_object")
2559   )
2560 )
2561
2562 (define-method get_from_handle
2563   (of-object "EmpathyTpContactFactory")
2564   (c-name "empathy_tp_contact_factory_get_from_handle")
2565   (return-type "none")
2566   (parameters
2567     '("TpHandle" "handle")
2568     '("EmpathyTpContactFactoryContactCb" "callback")
2569     '("gpointer" "user_data")
2570     '("GDestroyNotify" "destroy")
2571     '("GObject*" "weak_object")
2572   )
2573 )
2574
2575 (define-method set_alias
2576   (of-object "EmpathyTpContactFactory")
2577   (c-name "empathy_tp_contact_factory_set_alias")
2578   (return-type "none")
2579   (parameters
2580     '("EmpathyContact*" "contact")
2581     '("const-gchar*" "alias")
2582   )
2583 )
2584
2585 (define-method set_avatar
2586   (of-object "EmpathyTpContactFactory")
2587   (c-name "empathy_tp_contact_factory_set_avatar")
2588   (return-type "none")
2589   (parameters
2590     '("const-gchar*" "data")
2591     '("gsize" "size")
2592     '("const-gchar*" "mime_type")
2593   )
2594 )
2595
2596 (define-method set_location
2597   (of-object "EmpathyTpContactFactory")
2598   (c-name "empathy_tp_contact_factory_set_location")
2599   (return-type "none")
2600   (parameters
2601     '("GHashTable*" "location")
2602   )
2603 )
2604
2605
2606
2607 ;; From empathy-tp-contact-list.h
2608
2609 (define-function tp_contact_list_get_type
2610   (c-name "empathy_tp_contact_list_get_type")
2611   (return-type "GType")
2612 )
2613
2614 (define-function tp_contact_list_new
2615   (c-name "empathy_tp_contact_list_new")
2616   (is-constructor-of "EmpathyTpContactList")
2617   (return-type "EmpathyTpContactList*")
2618   (parameters
2619     '("TpConnection*" "connection")
2620   )
2621 )
2622
2623 (define-method get_connection
2624   (of-object "EmpathyTpContactList")
2625   (c-name "empathy_tp_contact_list_get_connection")
2626   (return-type "TpConnection*")
2627 )
2628
2629 (define-method can_add
2630   (of-object "EmpathyTpContactList")
2631   (c-name "empathy_tp_contact_list_can_add")
2632   (return-type "gboolean")
2633 )
2634
2635 (define-method remove_all
2636   (of-object "EmpathyTpContactList")
2637   (c-name "empathy_tp_contact_list_remove_all")
2638   (return-type "none")
2639 )
2640
2641
2642
2643 ;; From empathy-tp-file.h
2644
2645 (define-function tp_file_get_type
2646   (c-name "empathy_tp_file_get_type")
2647   (return-type "GType")
2648 )
2649
2650 (define-function tp_file_new
2651   (c-name "empathy_tp_file_new")
2652   (is-constructor-of "EmpathyTpFile")
2653   (return-type "EmpathyTpFile*")
2654   (parameters
2655     '("TpChannel*" "channel")
2656     '("gboolean" "incoming")
2657   )
2658 )
2659
2660 (define-method accept
2661   (of-object "EmpathyTpFile")
2662   (c-name "empathy_tp_file_accept")
2663   (return-type "none")
2664   (parameters
2665     '("guint64" "offset")
2666     '("GFile*" "gfile")
2667     '("GCancellable*" "cancellable")
2668     '("EmpathyTpFileProgressCallback" "progress_callback")
2669     '("gpointer" "progress_user_data")
2670     '("EmpathyTpFileOperationCallback" "op_callback")
2671     '("gpointer" "op_user_data")
2672   )
2673 )
2674
2675 (define-method offer
2676   (of-object "EmpathyTpFile")
2677   (c-name "empathy_tp_file_offer")
2678   (return-type "none")
2679   (parameters
2680     '("GFile*" "gfile")
2681     '("GCancellable*" "cancellable")
2682     '("EmpathyTpFileProgressCallback" "progress_callback")
2683     '("gpointer" "progress_user_data")
2684     '("EmpathyTpFileOperationCallback" "op_callback")
2685     '("gpointer" "op_user_data")
2686   )
2687 )
2688
2689 (define-method cancel
2690   (of-object "EmpathyTpFile")
2691   (c-name "empathy_tp_file_cancel")
2692   (return-type "none")
2693 )
2694
2695 (define-method close
2696   (of-object "EmpathyTpFile")
2697   (c-name "empathy_tp_file_close")
2698   (return-type "none")
2699 )
2700
2701 (define-method is_incoming
2702   (of-object "EmpathyTpFile")
2703   (c-name "empathy_tp_file_is_incoming")
2704   (return-type "gboolean")
2705 )
2706
2707
2708
2709 ;; From empathy-tp-roomlist.h
2710
2711 (define-function tp_roomlist_get_type
2712   (c-name "empathy_tp_roomlist_get_type")
2713   (return-type "GType")
2714 )
2715
2716 (define-function tp_roomlist_new
2717   (c-name "empathy_tp_roomlist_new")
2718   (is-constructor-of "EmpathyTpRoomlist")
2719   (return-type "EmpathyTpRoomlist*")
2720   (parameters
2721     '("EmpathyAccount*" "account")
2722   )
2723 )
2724
2725 (define-method is_listing
2726   (of-object "EmpathyTpRoomlist")
2727   (c-name "empathy_tp_roomlist_is_listing")
2728   (return-type "gboolean")
2729 )
2730
2731 (define-method start
2732   (of-object "EmpathyTpRoomlist")
2733   (c-name "empathy_tp_roomlist_start")
2734   (return-type "none")
2735 )
2736
2737 (define-method stop
2738   (of-object "EmpathyTpRoomlist")
2739   (c-name "empathy_tp_roomlist_stop")
2740   (return-type "none")
2741 )
2742
2743
2744
2745 ;; From empathy-tube-handler.h
2746
2747 (define-function tube_handler_get_type
2748   (c-name "empathy_tube_handler_get_type")
2749   (return-type "GType")
2750 )
2751
2752 (define-function tube_handler_new
2753   (c-name "empathy_tube_handler_new")
2754   (is-constructor-of "EmpathyTubeHandler")
2755   (return-type "EmpathyTubeHandler*")
2756   (parameters
2757     '("TpTubeType" "type")
2758     '("const-gchar*" "service")
2759   )
2760 )
2761
2762 (define-function tube_handler_build_bus_name
2763   (c-name "empathy_tube_handler_build_bus_name")
2764   (return-type "gchar*")
2765   (parameters
2766     '("TpTubeType" "type")
2767     '("const-gchar*" "service")
2768   )
2769 )
2770
2771 (define-function tube_handler_build_object_path
2772   (c-name "empathy_tube_handler_build_object_path")
2773   (return-type "gchar*")
2774   (parameters
2775     '("TpTubeType" "type")
2776     '("const-gchar*" "service")
2777   )
2778 )
2779
2780
2781
2782 ;; From empathy-types.h
2783
2784
2785
2786 ;; From empathy-utils.h
2787
2788 (define-function init
2789   (c-name "empathy_init")
2790   (return-type "none")
2791 )
2792
2793 (define-function substring
2794   (c-name "empathy_substring")
2795   (return-type "gchar*")
2796   (parameters
2797     '("const-gchar*" "str")
2798     '("gint" "start")
2799     '("gint" "end")
2800   )
2801 )
2802
2803 (define-function strcasecmp
2804   (c-name "empathy_strcasecmp")
2805   (return-type "gint")
2806   (parameters
2807     '("const-gchar*" "s1")
2808     '("const-gchar*" "s2")
2809   )
2810 )
2811
2812 (define-function strncasecmp
2813   (c-name "empathy_strncasecmp")
2814   (return-type "gint")
2815   (parameters
2816     '("const-gchar*" "s1")
2817     '("const-gchar*" "s2")
2818     '("gsize" "n")
2819   )
2820 )
2821
2822 (define-function xml_validate
2823   (c-name "empathy_xml_validate")
2824   (return-type "gboolean")
2825   (parameters
2826     '("xmlDoc*" "doc")
2827     '("const-gchar*" "dtd_filename")
2828   )
2829 )
2830
2831 (define-function xml_node_get_child
2832   (c-name "empathy_xml_node_get_child")
2833   (return-type "xmlNodePtr")
2834   (parameters
2835     '("xmlNodePtr" "node")
2836     '("const-gchar*" "child_name")
2837   )
2838 )
2839
2840 (define-function xml_node_get_child_content
2841   (c-name "empathy_xml_node_get_child_content")
2842   (return-type "xmlChar*")
2843   (parameters
2844     '("xmlNodePtr" "node")
2845     '("const-gchar*" "child_name")
2846   )
2847 )
2848
2849 (define-function xml_node_find_child_prop_value
2850   (c-name "empathy_xml_node_find_child_prop_value")
2851   (return-type "xmlNodePtr")
2852   (parameters
2853     '("xmlNodePtr" "node")
2854     '("const-gchar*" "prop_name")
2855     '("const-gchar*" "prop_value")
2856   )
2857 )
2858
2859 (define-function account_hash
2860   (c-name "empathy_account_hash")
2861   (return-type "guint")
2862   (parameters
2863     '("gconstpointer" "key")
2864   )
2865 )
2866
2867 (define-function account_equal
2868   (c-name "empathy_account_equal")
2869   (return-type "gboolean")
2870   (parameters
2871     '("gconstpointer" "a")
2872     '("gconstpointer" "b")
2873   )
2874 )
2875
2876 (define-function mission_control_dup_singleton
2877   (c-name "empathy_mission_control_dup_singleton")
2878   (return-type "MissionControl*")
2879 )
2880
2881 (define-function presence_get_default_message
2882   (c-name "empathy_presence_get_default_message")
2883   (return-type "const-gchar*")
2884   (parameters
2885     '("TpConnectionPresenceType" "presence")
2886   )
2887 )
2888
2889 (define-function presence_to_str
2890   (c-name "empathy_presence_to_str")
2891   (return-type "const-gchar*")
2892   (parameters
2893     '("TpConnectionPresenceType" "presence")
2894   )
2895 )
2896
2897 (define-function presence_from_str
2898   (c-name "empathy_presence_from_str")
2899   (return-type "TpConnectionPresenceType")
2900   (parameters
2901     '("const-gchar*" "str")
2902   )
2903 )
2904
2905 (define-function file_lookup
2906   (c-name "empathy_file_lookup")
2907   (return-type "gchar*")
2908   (parameters
2909     '("const-gchar*" "filename")
2910     '("const-gchar*" "subdir")
2911   )
2912 )
2913
2914 (define-function proxy_equal
2915   (c-name "empathy_proxy_equal")
2916   (return-type "gboolean")
2917   (parameters
2918     '("gconstpointer" "a")
2919     '("gconstpointer" "b")
2920   )
2921 )
2922
2923 (define-function proxy_hash
2924   (c-name "empathy_proxy_hash")
2925   (return-type "guint")
2926   (parameters
2927     '("gconstpointer" "key")
2928   )
2929 )
2930
2931 (define-function check_available_state
2932   (c-name "empathy_check_available_state")
2933   (return-type "gboolean")
2934 )
2935
2936 (define-function uint_compare
2937   (c-name "empathy_uint_compare")
2938   (return-type "gint")
2939   (parameters
2940     '("gconstpointer" "a")
2941     '("gconstpointer" "b")
2942   )
2943 )
2944
2945