2
; object definitions ...
6
(c-name "EmpathyAccount")
7
(gtype-id "EMPATHY_TYPE_ACCOUNT")
10
(define-object AccountManager
13
(c-name "EmpathyAccountManager")
14
(gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
17
(define-object AccountSettings
20
(c-name "EmpathyAccountSettings")
21
(gtype-id "EMPATHY_TYPE_ACCOUNT_SETTINGS")
24
(define-object CallFactory
27
(c-name "EmpathyCallFactory")
28
(gtype-id "EMPATHY_TYPE_CALL_FACTORY")
31
(define-object CallHandler
34
(c-name "EmpathyCallHandler")
35
(gtype-id "EMPATHY_TYPE_CALL_HANDLER")
38
(define-object Chatroom
41
(c-name "EmpathyChatroom")
42
(gtype-id "EMPATHY_TYPE_CHATROOM")
45
(define-object ChatroomManager
48
(c-name "EmpathyChatroomManager")
49
(gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
52
(define-object ConnectionManagers
55
(c-name "EmpathyConnectionManagers")
56
(gtype-id "EMPATHY_TYPE_CONNECTION_MANAGERS")
59
(define-object Connectivity
62
(c-name "EmpathyConnectivity")
63
(gtype-id "EMPATHY_TYPE_CONNECTIVITY")
66
(define-object Contact
69
(c-name "EmpathyContact")
70
(gtype-id "EMPATHY_TYPE_CONTACT")
73
(define-interface ContactList
75
(c-name "EmpathyContactList")
76
(gtype-id "EMPATHY_TYPE_CONTACT_LIST")
79
(define-object ContactManager
82
(implements "EmpathyContactList")
83
(c-name "EmpathyContactManager")
84
(gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
87
(define-object ContactMonitor
90
(c-name "EmpathyContactMonitor")
91
(gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
94
(define-object Debugger
97
(c-name "EmpathyDebugger")
98
(gtype-id "EMPATHY_TYPE_DEBUGGER")
101
(define-object DispatchOperation
102
(in-module "Empathy")
104
(c-name "EmpathyDispatchOperation")
105
(gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
108
(define-object Dispatcher
109
(in-module "Empathy")
111
(c-name "EmpathyDispatcher")
112
(gtype-id "EMPATHY_TYPE_DISPATCHER")
115
(define-object FTFactory
116
(in-module "Empathy")
118
(c-name "EmpathyFTFactory")
119
(gtype-id "EMPATHY_TYPE_FT_FACTORY")
122
(define-object FTHandler
123
(in-module "Empathy")
125
(c-name "EmpathyFTHandler")
126
(gtype-id "EMPATHY_TYPE_FT_HANDLER")
130
(in-module "Empathy")
132
(c-name "EmpathyIdle")
133
(gtype-id "EMPATHY_TYPE_IDLE")
136
(define-object IrcNetwork
137
(in-module "Empathy")
139
(c-name "EmpathyIrcNetwork")
140
(gtype-id "EMPATHY_TYPE_IRC_NETWORK")
143
(define-object IrcNetworkManager
144
(in-module "Empathy")
146
(c-name "EmpathyIrcNetworkManager")
147
(gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
150
(define-object IrcServer
151
(in-module "Empathy")
153
(c-name "EmpathyIrcServer")
154
(gtype-id "EMPATHY_TYPE_IRC_SERVER")
157
(define-object LogManager
158
(in-module "Empathy")
160
(c-name "EmpathyLogManager")
161
(gtype-id "EMPATHY_TYPE_LOG_MANAGER")
164
(define-object LogStoreEmpathy
165
(in-module "Empathy")
167
(c-name "EmpathyLogStoreEmpathy")
168
(gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
171
(define-object Message
172
(in-module "Empathy")
174
(c-name "EmpathyMessage")
175
(gtype-id "EMPATHY_TYPE_MESSAGE")
178
(define-object TpCall
179
(in-module "Empathy")
181
(c-name "EmpathyTpCall")
182
(gtype-id "EMPATHY_TYPE_TP_CALL")
185
(define-object TpChat
186
(in-module "Empathy")
188
(c-name "EmpathyTpChat")
189
(gtype-id "EMPATHY_TYPE_TP_CHAT")
192
(define-object TpContactFactory
193
(in-module "Empathy")
195
(c-name "EmpathyTpContactFactory")
196
(gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
199
(define-object TpContactList
200
(in-module "Empathy")
202
(implements "EmpathyContactList")
203
(c-name "EmpathyTpContactList")
204
(gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
207
(define-object TpFile
208
(in-module "Empathy")
210
(c-name "EmpathyTpFile")
211
(gtype-id "EMPATHY_TYPE_TP_FILE")
214
(define-object TpRoomlist
215
(in-module "Empathy")
217
(c-name "EmpathyTpRoomlist")
218
(gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
221
(define-object TubeHandler
222
(in-module "Empathy")
224
(c-name "EmpathyTubeHandler")
225
(gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
228
;; Enumerations and flags ...
230
(define-flags Capabilities
231
(in-module "Empathy")
232
(c-name "EmpathyCapabilities")
233
(gtype-id "EMPATHY_TYPE_CAPABILITIES")
235
'("none" "EMPATHY_CAPABILITIES_NONE")
236
'("audio" "EMPATHY_CAPABILITIES_AUDIO")
237
'("video" "EMPATHY_CAPABILITIES_VIDEO")
238
'("ft" "EMPATHY_CAPABILITIES_FT")
239
'("stream-tube" "EMPATHY_CAPABILITIES_STREAM_TUBE")
240
'("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
244
(define-flags ContactListFlags
245
(in-module "Empathy")
246
(c-name "EmpathyContactListFlags")
247
(gtype-id "EMPATHY_TYPE_CONTACT_LIST_FLAGS")
249
'("add" "EMPATHY_CONTACT_LIST_CAN_ADD")
250
'("remove" "EMPATHY_CONTACT_LIST_CAN_REMOVE")
251
'("alias" "EMPATHY_CONTACT_LIST_CAN_ALIAS")
252
'("group" "EMPATHY_CONTACT_LIST_CAN_GROUP")
256
(define-flags DebugFlags
257
(in-module "Empathy")
258
(c-name "EmpathyDebugFlags")
259
(gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
261
'("tp" "EMPATHY_DEBUG_TP")
262
'("chat" "EMPATHY_DEBUG_CHAT")
263
'("contact" "EMPATHY_DEBUG_CONTACT")
264
'("account" "EMPATHY_DEBUG_ACCOUNT")
265
'("irc" "EMPATHY_DEBUG_IRC")
266
'("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
267
'("ft" "EMPATHY_DEBUG_FT")
268
'("location" "EMPATHY_DEBUG_LOCATION")
269
'("other" "EMPATHY_DEBUG_OTHER")
270
'("share-desktop" "EMPATHY_DEBUG_SHARE_DESKTOP")
271
'("connectivity" "EMPATHY_DEBUG_CONNECTIVITY")
272
'("import-mc4-accounts" "EMPATHY_DEBUG_IMPORT_MC4_ACCOUNTS")
276
(define-enum DispatchOperationState
277
(in-module "Empathy")
278
(c-name "EmpathyDispatchOperationState")
279
(gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
281
'("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
282
'("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
283
'("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
284
'("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
285
'("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
286
'("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
290
(define-enum TpCallStatus
291
(in-module "Empathy")
292
(c-name "EmpathyTpCallStatus")
293
(gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
295
'("readying" "EMPATHY_TP_CALL_STATUS_READYING")
296
'("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
297
'("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
298
'("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
302
(define-enum FTErrorEnum
303
(in-module "Empathy")
304
(c-name "EmpathyFTErrorEnum")
305
(gtype-id "EMPATHY_TYPE_FT_ERROR_ENUM")
307
'("failed" "EMPATHY_FT_ERROR_FAILED")
308
'("hash-mismatch" "EMPATHY_FT_ERROR_HASH_MISMATCH")
309
'("tp-error" "EMPATHY_FT_ERROR_TP_ERROR")
310
'("socket" "EMPATHY_FT_ERROR_SOCKET")
311
'("not-supported" "EMPATHY_FT_ERROR_NOT_SUPPORTED")
312
'("invalid-source-file" "EMPATHY_FT_ERROR_INVALID_SOURCE_FILE")
313
'("empty-source-file" "EMPATHY_FT_ERROR_EMPTY_SOURCE_FILE")
318
;; From empathy-account-settings.h
320
(define-function account_settings_get_type
321
(c-name "empathy_account_settings_get_type")
322
(return-type "GType")
325
(define-function account_settings_new
326
(c-name "empathy_account_settings_new")
327
(is-constructor-of "EmpathyAccountSettings")
328
(return-type "EmpathyAccountSettings*")
330
'("const-gchar*" "connection_manager")
331
'("const-gchar*" "protocol")
332
'("const-char*" "display_name")
336
(define-method settings_new_for_account
337
(of-object "EmpathyAccount")
338
(c-name "empathy_account_settings_new_for_account")
339
(return-type "EmpathyAccountSettings*")
342
(define-method is_ready
343
(of-object "EmpathyAccountSettings")
344
(c-name "empathy_account_settings_is_ready")
345
(return-type "gboolean")
348
(define-method get_cm
349
(of-object "EmpathyAccountSettings")
350
(c-name "empathy_account_settings_get_cm")
351
(return-type "const-gchar*")
354
(define-method get_protocol
355
(of-object "EmpathyAccountSettings")
356
(c-name "empathy_account_settings_get_protocol")
357
(return-type "const-gchar*")
360
(define-method get_account
361
(of-object "EmpathyAccountSettings")
362
(c-name "empathy_account_settings_get_account")
363
(return-type "EmpathyAccount*")
366
(define-method has_account
367
(of-object "EmpathyAccountSettings")
368
(c-name "empathy_account_settings_has_account")
369
(return-type "gboolean")
371
'("EmpathyAccount*" "account")
375
(define-method get_tp_params
376
(of-object "EmpathyAccountSettings")
377
(c-name "empathy_account_settings_get_tp_params")
378
(return-type "TpConnectionManagerParam*")
382
(of-object "EmpathyAccountSettings")
383
(c-name "empathy_account_settings_unset")
386
'("const-gchar*" "param")
390
(define-method discard_changes
391
(of-object "EmpathyAccountSettings")
392
(c-name "empathy_account_settings_discard_changes")
397
(of-object "EmpathyAccountSettings")
398
(c-name "empathy_account_settings_get")
399
(return-type "const-GValue*")
401
'("const-gchar*" "param")
405
(define-method get_dbus_signature
406
(of-object "EmpathyAccountSettings")
407
(c-name "empathy_account_settings_get_dbus_signature")
408
(return-type "const-gchar*")
410
'("const-gchar*" "param")
414
(define-method get_default
415
(of-object "EmpathyAccountSettings")
416
(c-name "empathy_account_settings_get_default")
417
(return-type "const-GValue*")
419
'("const-gchar*" "param")
423
(define-method get_string
424
(of-object "EmpathyAccountSettings")
425
(c-name "empathy_account_settings_get_string")
426
(return-type "const-gchar*")
428
'("const-gchar*" "param")
432
(define-method get_int32
433
(of-object "EmpathyAccountSettings")
434
(c-name "empathy_account_settings_get_int32")
435
(return-type "gint32")
437
'("const-gchar*" "param")
441
(define-method get_int64
442
(of-object "EmpathyAccountSettings")
443
(c-name "empathy_account_settings_get_int64")
444
(return-type "gint64")
446
'("const-gchar*" "param")
450
(define-method get_uint32
451
(of-object "EmpathyAccountSettings")
452
(c-name "empathy_account_settings_get_uint32")
453
(return-type "guint32")
455
'("const-gchar*" "param")
459
(define-method get_uint64
460
(of-object "EmpathyAccountSettings")
461
(c-name "empathy_account_settings_get_uint64")
462
(return-type "guint64")
464
'("const-gchar*" "param")
468
(define-method get_boolean
469
(of-object "EmpathyAccountSettings")
470
(c-name "empathy_account_settings_get_boolean")
471
(return-type "gboolean")
473
'("const-gchar*" "param")
477
(define-method set_string
478
(of-object "EmpathyAccountSettings")
479
(c-name "empathy_account_settings_set_string")
482
'("const-gchar*" "param")
483
'("const-gchar*" "value")
487
(define-method set_int32
488
(of-object "EmpathyAccountSettings")
489
(c-name "empathy_account_settings_set_int32")
492
'("const-gchar*" "param")
497
(define-method set_int64
498
(of-object "EmpathyAccountSettings")
499
(c-name "empathy_account_settings_set_int64")
502
'("const-gchar*" "param")
507
(define-method set_uint32
508
(of-object "EmpathyAccountSettings")
509
(c-name "empathy_account_settings_set_uint32")
512
'("const-gchar*" "param")
517
(define-method set_uint64
518
(of-object "EmpathyAccountSettings")
519
(c-name "empathy_account_settings_set_uint64")
522
'("const-gchar*" "param")
527
(define-method set_boolean
528
(of-object "EmpathyAccountSettings")
529
(c-name "empathy_account_settings_set_boolean")
532
'("const-gchar*" "param")
533
'("gboolean" "value")
537
(define-method get_icon_name
538
(of-object "EmpathyAccountSettings")
539
(c-name "empathy_account_settings_get_icon_name")
540
(return-type "gchar*")
543
(define-method get_display_name
544
(of-object "EmpathyAccountSettings")
545
(c-name "empathy_account_settings_get_display_name")
546
(return-type "const-gchar*")
549
(define-method set_display_name_async
550
(of-object "EmpathyAccountSettings")
551
(c-name "empathy_account_settings_set_display_name_async")
554
'("const-gchar*" "name")
555
'("GAsyncReadyCallback" "callback")
556
'("gpointer" "user_data")
560
(define-method set_display_name_finish
561
(of-object "EmpathyAccountSettings")
562
(c-name "empathy_account_settings_set_display_name_finish")
563
(return-type "gboolean")
565
'("GAsyncResult*" "result")
566
'("GError**" "error")
570
(define-method apply_async
571
(of-object "EmpathyAccountSettings")
572
(c-name "empathy_account_settings_apply_async")
575
'("GAsyncReadyCallback" "callback")
576
'("gpointer" "user_data")
580
(define-method apply_finish
581
(of-object "EmpathyAccountSettings")
582
(c-name "empathy_account_settings_apply_finish")
583
(return-type "gboolean")
585
'("GAsyncResult*" "result")
586
'("GError**" "error")
590
(define-method is_valid
591
(of-object "EmpathyAccountSettings")
592
(c-name "empathy_account_settings_is_valid")
593
(return-type "gboolean")
598
;; From empathy-account.h
600
(define-function account_get_type
601
(c-name "empathy_account_get_type")
602
(return-type "GType")
605
(define-method is_just_connected
606
(of-object "EmpathyAccount")
607
(c-name "empathy_account_is_just_connected")
608
(return-type "gboolean")
611
(define-method get_connection
612
(of-object "EmpathyAccount")
613
(c-name "empathy_account_get_connection")
614
(return-type "TpConnection*")
617
(define-method get_connection_for_path
618
(of-object "EmpathyAccount")
619
(c-name "empathy_account_get_connection_for_path")
620
(return-type "TpConnection*")
622
'("const-gchar*" "path")
626
(define-method get_unique_name
627
(of-object "EmpathyAccount")
628
(c-name "empathy_account_get_unique_name")
629
(return-type "const-gchar*")
632
(define-method get_display_name
633
(of-object "EmpathyAccount")
634
(c-name "empathy_account_get_display_name")
635
(return-type "const-gchar*")
638
(define-method get_connection_manager
639
(of-object "EmpathyAccount")
640
(c-name "empathy_account_get_connection_manager")
641
(return-type "const-gchar*")
644
(define-method get_protocol
645
(of-object "EmpathyAccount")
646
(c-name "empathy_account_get_protocol")
647
(return-type "const-gchar*")
650
(define-method get_icon_name
651
(of-object "EmpathyAccount")
652
(c-name "empathy_account_get_icon_name")
653
(return-type "const-gchar*")
656
(define-method set_enabled_async
657
(of-object "EmpathyAccount")
658
(c-name "empathy_account_set_enabled_async")
661
'("gboolean" "enabled")
662
'("GAsyncReadyCallback" "callback")
663
'("gpointer" "user_data")
667
(define-method set_enabled_finish
668
(of-object "EmpathyAccount")
669
(c-name "empathy_account_set_enabled_finish")
670
(return-type "gboolean")
672
'("GAsyncResult*" "result")
673
'("GError**" "error")
677
(define-method is_enabled
678
(of-object "EmpathyAccount")
679
(c-name "empathy_account_is_enabled")
680
(return-type "gboolean")
683
(define-method is_valid
684
(of-object "EmpathyAccount")
685
(c-name "empathy_account_is_valid")
686
(return-type "gboolean")
689
(define-method is_ready
690
(of-object "EmpathyAccount")
691
(c-name "empathy_account_is_ready")
692
(return-type "gboolean")
695
(define-method update_settings_async
696
(of-object "EmpathyAccount")
697
(c-name "empathy_account_update_settings_async")
700
'("GHashTable*" "parameters")
701
'("const-gchar**" "unset_parameters")
702
'("GAsyncReadyCallback" "callback")
703
'("gpointer" "user_data")
707
(define-method update_settings_finish
708
(of-object "EmpathyAccount")
709
(c-name "empathy_account_update_settings_finish")
710
(return-type "gboolean")
712
'("GAsyncResult*" "result")
713
'("GError**" "error")
717
(define-method remove_async
718
(of-object "EmpathyAccount")
719
(c-name "empathy_account_remove_async")
722
'("GAsyncReadyCallback" "callback")
723
'("gpointer" "user_data")
727
(define-method remove_finish
728
(of-object "EmpathyAccount")
729
(c-name "empathy_account_remove_finish")
730
(return-type "gboolean")
732
'("GAsyncResult*" "result")
733
'("GError**" "error")
737
(define-method set_display_name_async
738
(of-object "EmpathyAccount")
739
(c-name "empathy_account_set_display_name_async")
742
'("const-gchar*" "display_name")
743
'("GAsyncReadyCallback" "callback")
744
'("gpointer" "user_data")
748
(define-method set_display_name_finish
749
(of-object "EmpathyAccount")
750
(c-name "empathy_account_set_display_name_finish")
751
(return-type "gboolean")
753
'("GAsyncResult*" "result")
754
'("GError**" "error")
758
(define-function account_new
759
(c-name "empathy_account_new")
760
(is-constructor-of "EmpathyAccount")
761
(return-type "EmpathyAccount*")
763
'("TpDBusDaemon*" "bus_daemon")
764
'("const-gchar*" "unique_name")
768
(define-method request_presence
769
(of-object "EmpathyAccount")
770
(c-name "empathy_account_request_presence")
773
'("TpConnectionPresenceType" "type")
774
'("const-gchar*" "status")
775
'("const-gchar*" "message")
779
(define-method get_parameters
780
(of-object "EmpathyAccount")
781
(c-name "empathy_account_get_parameters")
782
(return-type "const-GHashTable*")
785
(define-method refresh_properties
786
(of-object "EmpathyAccount")
787
(c-name "empathy_account_refresh_properties")
793
;; From empathy-account-manager.h
795
(define-function account_manager_get_type
796
(c-name "empathy_account_manager_get_type")
797
(return-type "GType")
800
(define-function account_manager_dup_singleton
801
(c-name "empathy_account_manager_dup_singleton")
802
(return-type "EmpathyAccountManager*")
805
(define-method is_ready
806
(of-object "EmpathyAccountManager")
807
(c-name "empathy_account_manager_is_ready")
808
(return-type "gboolean")
811
(define-method get_connected_accounts
812
(of-object "EmpathyAccountManager")
813
(c-name "empathy_account_manager_get_connected_accounts")
817
(define-method get_connecting_accounts
818
(of-object "EmpathyAccountManager")
819
(c-name "empathy_account_manager_get_connecting_accounts")
823
(define-method get_count
824
(of-object "EmpathyAccountManager")
825
(c-name "empathy_account_manager_get_count")
829
(define-method get_account_for_connection
830
(of-object "EmpathyAccountManager")
831
(c-name "empathy_account_manager_get_account_for_connection")
832
(return-type "EmpathyAccount*")
834
'("TpConnection*" "connection")
838
(define-method ensure_account
839
(of-object "EmpathyAccountManager")
840
(c-name "empathy_account_manager_ensure_account")
841
(return-type "EmpathyAccount*")
843
'("const-gchar*" "unique_name")
847
(define-method get_account
848
(of-object "EmpathyAccountManager")
849
(c-name "empathy_account_manager_get_account")
850
(return-type "EmpathyAccount*")
852
'("const-gchar*" "unique_name")
856
(define-method dup_accounts
857
(of-object "EmpathyAccountManager")
858
(c-name "empathy_account_manager_dup_accounts")
859
(return-type "GList*")
862
(define-method dup_connections
863
(of-object "EmpathyAccountManager")
864
(c-name "empathy_account_manager_dup_connections")
865
(return-type "GList*")
868
(define-method remove
869
(of-object "EmpathyAccountManager")
870
(c-name "empathy_account_manager_remove")
873
'("EmpathyAccount*" "account")
877
(define-method request_global_presence
878
(of-object "EmpathyAccountManager")
879
(c-name "empathy_account_manager_request_global_presence")
882
'("TpConnectionPresenceType" "type")
883
'("const-gchar*" "status")
884
'("const-gchar*" "message")
888
(define-method get_requested_global_presence
889
(of-object "EmpathyAccountManager")
890
(c-name "empathy_account_manager_get_requested_global_presence")
891
(return-type "TpConnectionPresenceType")
893
'("gchar**" "status")
894
'("gchar**" "message")
898
(define-method get_global_presence
899
(of-object "EmpathyAccountManager")
900
(c-name "empathy_account_manager_get_global_presence")
901
(return-type "TpConnectionPresenceType")
903
'("gchar**" "status")
904
'("gchar**" "message")
908
(define-method create_account_async
909
(of-object "EmpathyAccountManager")
910
(c-name "empathy_account_manager_create_account_async")
913
'("const-gchar*" "connection_manager")
914
'("const-gchar*" "protocol")
915
'("const-gchar*" "display_name")
916
'("GHashTable*" "parameters")
917
'("GHashTable*" "properties")
918
'("GAsyncReadyCallback" "callback")
919
'("gpointer" "user_data")
923
(define-method create_account_finish
924
(of-object "EmpathyAccountManager")
925
(c-name "empathy_account_manager_create_account_finish")
926
(return-type "EmpathyAccount*")
928
'("GAsyncResult*" "result")
929
'("GError**" "error")
935
;; From empathy-chatroom.h
937
(define-function chatroom_get_type
938
(c-name "empathy_chatroom_get_type")
939
(return-type "GType")
942
(define-function chatroom_new
943
(c-name "empathy_chatroom_new")
944
(is-constructor-of "EmpathyChatroom")
945
(return-type "EmpathyChatroom*")
947
'("EmpathyAccount*" "account")
951
(define-function chatroom_new_full
952
(c-name "empathy_chatroom_new_full")
953
(return-type "EmpathyChatroom*")
955
'("EmpathyAccount*" "account")
956
'("const-gchar*" "room")
957
'("const-gchar*" "name")
958
'("gboolean" "auto_connect")
962
(define-method get_account
963
(of-object "EmpathyChatroom")
964
(c-name "empathy_chatroom_get_account")
965
(return-type "EmpathyAccount*")
968
(define-method set_account
969
(of-object "EmpathyChatroom")
970
(c-name "empathy_chatroom_set_account")
973
'("EmpathyAccount*" "account")
977
(define-method get_room
978
(of-object "EmpathyChatroom")
979
(c-name "empathy_chatroom_get_room")
980
(return-type "const-gchar*")
983
(define-method set_room
984
(of-object "EmpathyChatroom")
985
(c-name "empathy_chatroom_set_room")
988
'("const-gchar*" "room")
992
(define-method get_name
993
(of-object "EmpathyChatroom")
994
(c-name "empathy_chatroom_get_name")
995
(return-type "const-gchar*")
998
(define-method set_name
999
(of-object "EmpathyChatroom")
1000
(c-name "empathy_chatroom_set_name")
1001
(return-type "none")
1003
'("const-gchar*" "name")
1007
(define-method get_auto_connect
1008
(of-object "EmpathyChatroom")
1009
(c-name "empathy_chatroom_get_auto_connect")
1010
(return-type "gboolean")
1013
(define-method set_auto_connect
1014
(of-object "EmpathyChatroom")
1015
(c-name "empathy_chatroom_set_auto_connect")
1016
(return-type "none")
1018
'("gboolean" "auto_connect")
1022
(define-method get_subject
1023
(of-object "EmpathyChatroom")
1024
(c-name "empathy_chatroom_get_subject")
1025
(return-type "const-gchar*")
1028
(define-method set_subject
1029
(of-object "EmpathyChatroom")
1030
(c-name "empathy_chatroom_set_subject")
1031
(return-type "none")
1033
'("const-gchar*" "subject")
1037
(define-method get_members_count
1038
(of-object "EmpathyChatroom")
1039
(c-name "empathy_chatroom_get_members_count")
1040
(return-type "guint")
1043
(define-method set_members_count
1044
(of-object "EmpathyChatroom")
1045
(c-name "empathy_chatroom_set_members_count")
1046
(return-type "none")
1052
(define-method get_need_password
1053
(of-object "EmpathyChatroom")
1054
(c-name "empathy_chatroom_get_need_password")
1055
(return-type "gboolean")
1058
(define-method set_need_password
1059
(of-object "EmpathyChatroom")
1060
(c-name "empathy_chatroom_set_need_password")
1061
(return-type "none")
1063
'("gboolean" "need_password")
1067
(define-method get_invite_only
1068
(of-object "EmpathyChatroom")
1069
(c-name "empathy_chatroom_get_invite_only")
1070
(return-type "gboolean")
1073
(define-method set_invite_only
1074
(of-object "EmpathyChatroom")
1075
(c-name "empathy_chatroom_set_invite_only")
1076
(return-type "none")
1078
'("gboolean" "invite_only")
1082
(define-function chatroom_equal
1083
(c-name "empathy_chatroom_equal")
1084
(return-type "gboolean")
1086
'("gconstpointer" "v1")
1087
'("gconstpointer" "v2")
1091
(define-method get_tp_chat
1092
(of-object "EmpathyChatroom")
1093
(c-name "empathy_chatroom_get_tp_chat")
1094
(return-type "EmpathyTpChat*")
1097
(define-method set_tp_chat
1098
(of-object "EmpathyChatroom")
1099
(c-name "empathy_chatroom_set_tp_chat")
1100
(return-type "none")
1102
'("EmpathyTpChat*" "tp_chat")
1106
(define-method is_favorite
1107
(of-object "EmpathyChatroom")
1108
(c-name "empathy_chatroom_is_favorite")
1109
(return-type "gboolean")
1112
(define-method set_favorite
1113
(of-object "EmpathyChatroom")
1114
(c-name "empathy_chatroom_set_favorite")
1115
(return-type "none")
1117
'("gboolean" "favorite")
1123
;; From empathy-chatroom-manager.h
1125
(define-function chatroom_manager_get_type
1126
(c-name "empathy_chatroom_manager_get_type")
1127
(return-type "GType")
1130
(define-function chatroom_manager_dup_singleton
1131
(c-name "empathy_chatroom_manager_dup_singleton")
1132
(return-type "EmpathyChatroomManager*")
1134
'("const-gchar*" "file")
1139
(of-object "EmpathyChatroomManager")
1140
(c-name "empathy_chatroom_manager_add")
1141
(return-type "gboolean")
1143
'("EmpathyChatroom*" "chatroom")
1147
(define-method remove
1148
(of-object "EmpathyChatroomManager")
1149
(c-name "empathy_chatroom_manager_remove")
1150
(return-type "none")
1152
'("EmpathyChatroom*" "chatroom")
1157
(of-object "EmpathyChatroomManager")
1158
(c-name "empathy_chatroom_manager_find")
1159
(return-type "EmpathyChatroom*")
1161
'("EmpathyAccount*" "account")
1162
'("const-gchar*" "room")
1166
(define-method get_chatrooms
1167
(of-object "EmpathyChatroomManager")
1168
(c-name "empathy_chatroom_manager_get_chatrooms")
1169
(return-type "GList*")
1171
'("EmpathyAccount*" "account")
1175
(define-method get_count
1176
(of-object "EmpathyChatroomManager")
1177
(c-name "empathy_chatroom_manager_get_count")
1178
(return-type "guint")
1180
'("EmpathyAccount*" "account")
1184
(define-method observe
1185
(of-object "EmpathyChatroomManager")
1186
(c-name "empathy_chatroom_manager_observe")
1187
(return-type "none")
1189
'("EmpathyDispatcher*" "dispatcher")
1195
;; From empathy-call-factory.h
1197
(define-function call_factory_get_type
1198
(c-name "empathy_call_factory_get_type")
1199
(return-type "GType")
1202
(define-function call_factory_initialise
1203
(c-name "empathy_call_factory_initialise")
1204
(return-type "EmpathyCallFactory*")
1207
(define-function call_factory_get
1208
(c-name "empathy_call_factory_get")
1209
(return-type "EmpathyCallFactory*")
1212
(define-method new_call
1213
(of-object "EmpathyCallFactory")
1214
(c-name "empathy_call_factory_new_call")
1215
(return-type "none")
1217
'("EmpathyContact*" "contact")
1221
(define-method new_call_with_streams
1222
(of-object "EmpathyCallFactory")
1223
(c-name "empathy_call_factory_new_call_with_streams")
1224
(return-type "none")
1226
'("EmpathyContact*" "contact")
1227
'("gboolean" "initial_audio")
1228
'("gboolean" "initial_video")
1232
(define-method claim_channel
1233
(of-object "EmpathyCallFactory")
1234
(c-name "empathy_call_factory_claim_channel")
1235
(return-type "none")
1237
'("EmpathyDispatchOperation*" "operation")
1243
;; From empathy-call-handler.h
1245
(define-function call_handler_get_type
1246
(c-name "empathy_call_handler_get_type")
1247
(return-type "GType")
1250
(define-function call_handler_new_for_contact
1251
(c-name "empathy_call_handler_new_for_contact")
1252
(return-type "EmpathyCallHandler*")
1254
'("EmpathyContact*" "contact")
1258
(define-function call_handler_new_for_contact_with_streams
1259
(c-name "empathy_call_handler_new_for_contact_with_streams")
1260
(return-type "EmpathyCallHandler*")
1262
'("EmpathyContact*" "contact")
1263
'("gboolean" "audio")
1264
'("gboolean" "video")
1268
(define-function call_handler_new_for_channel
1269
(c-name "empathy_call_handler_new_for_channel")
1270
(return-type "EmpathyCallHandler*")
1272
'("EmpathyTpCall*" "call")
1276
(define-method start_call
1277
(of-object "EmpathyCallHandler")
1278
(c-name "empathy_call_handler_start_call")
1279
(return-type "none")
1282
(define-method stop_call
1283
(of-object "EmpathyCallHandler")
1284
(c-name "empathy_call_handler_stop_call")
1285
(return-type "none")
1288
(define-method has_initial_video
1289
(of-object "EmpathyCallHandler")
1290
(c-name "empathy_call_handler_has_initial_video")
1291
(return-type "gboolean")
1294
(define-method bus_message
1295
(of-object "EmpathyCallHandler")
1296
(c-name "empathy_call_handler_bus_message")
1297
(return-type "none")
1300
'("GstMessage*" "message")
1306
;; From empathy-connectivity.h
1308
(define-function connectivity_get_type
1309
(c-name "empathy_connectivity_get_type")
1310
(return-type "GType")
1313
(define-function connectivity_dup_singleton
1314
(c-name "empathy_connectivity_dup_singleton")
1315
(return-type "EmpathyConnectivity*")
1318
(define-method is_online
1319
(of-object "EmpathyConnectivity")
1320
(c-name "empathy_connectivity_is_online")
1321
(return-type "gboolean")
1324
(define-method get_use_conn
1325
(of-object "EmpathyConnectivity")
1326
(c-name "empathy_connectivity_get_use_conn")
1327
(return-type "gboolean")
1330
(define-method set_use_conn
1331
(of-object "EmpathyConnectivity")
1332
(c-name "empathy_connectivity_set_use_conn")
1333
(return-type "none")
1335
'("gboolean" "use_conn")
1341
;; From empathy-contact.h
1343
(define-function contact_get_type
1344
(c-name "empathy_contact_get_type")
1345
(return-type "GType")
1348
(define-function contact_new
1349
(c-name "empathy_contact_new")
1350
(is-constructor-of "EmpathyContact")
1351
(return-type "EmpathyContact*")
1353
'("TpContact*" "tp_contact")
1357
(define-function contact_new_for_log
1358
(c-name "empathy_contact_new_for_log")
1359
(return-type "EmpathyContact*")
1361
'("EmpathyAccount*" "account")
1362
'("const-gchar*" "id")
1363
'("const-gchar*" "name")
1364
'("gboolean" "is_user")
1368
(define-method get_tp_contact
1369
(of-object "EmpathyContact")
1370
(c-name "empathy_contact_get_tp_contact")
1371
(return-type "TpContact*")
1374
(define-method get_id
1375
(of-object "EmpathyContact")
1376
(c-name "empathy_contact_get_id")
1377
(return-type "const-gchar*")
1380
(define-method set_id
1381
(of-object "EmpathyContact")
1382
(c-name "empathy_contact_set_id")
1383
(return-type "none")
1385
'("const-gchar*" "id")
1389
(define-method get_name
1390
(of-object "EmpathyContact")
1391
(c-name "empathy_contact_get_name")
1392
(return-type "const-gchar*")
1395
(define-method set_name
1396
(of-object "EmpathyContact")
1397
(c-name "empathy_contact_set_name")
1398
(return-type "none")
1400
'("const-gchar*" "name")
1404
(define-method get_avatar
1405
(of-object "EmpathyContact")
1406
(c-name "empathy_contact_get_avatar")
1407
(return-type "EmpathyAvatar*")
1410
(define-method set_avatar
1411
(of-object "EmpathyContact")
1412
(c-name "empathy_contact_set_avatar")
1413
(return-type "none")
1415
'("EmpathyAvatar*" "avatar")
1419
(define-method get_account
1420
(of-object "EmpathyContact")
1421
(c-name "empathy_contact_get_account")
1422
(return-type "EmpathyAccount*")
1425
(define-method get_connection
1426
(of-object "EmpathyContact")
1427
(c-name "empathy_contact_get_connection")
1428
(return-type "TpConnection*")
1431
(define-method get_presence
1432
(of-object "EmpathyContact")
1433
(c-name "empathy_contact_get_presence")
1434
(return-type "TpConnectionPresenceType")
1437
(define-method set_presence
1438
(of-object "EmpathyContact")
1439
(c-name "empathy_contact_set_presence")
1440
(return-type "none")
1442
'("TpConnectionPresenceType" "presence")
1446
(define-method get_presence_message
1447
(of-object "EmpathyContact")
1448
(c-name "empathy_contact_get_presence_message")
1449
(return-type "const-gchar*")
1452
(define-method set_presence_message
1453
(of-object "EmpathyContact")
1454
(c-name "empathy_contact_set_presence_message")
1455
(return-type "none")
1457
'("const-gchar*" "message")
1461
(define-method get_handle
1462
(of-object "EmpathyContact")
1463
(c-name "empathy_contact_get_handle")
1464
(return-type "guint")
1467
(define-method set_handle
1468
(of-object "EmpathyContact")
1469
(c-name "empathy_contact_set_handle")
1470
(return-type "none")
1476
(define-method get_capabilities
1477
(of-object "EmpathyContact")
1478
(c-name "empathy_contact_get_capabilities")
1479
(return-type "EmpathyCapabilities")
1482
(define-method set_capabilities
1483
(of-object "EmpathyContact")
1484
(c-name "empathy_contact_set_capabilities")
1485
(return-type "none")
1487
'("EmpathyCapabilities" "capabilities")
1491
(define-method is_user
1492
(of-object "EmpathyContact")
1493
(c-name "empathy_contact_is_user")
1494
(return-type "gboolean")
1497
(define-method set_is_user
1498
(of-object "EmpathyContact")
1499
(c-name "empathy_contact_set_is_user")
1500
(return-type "none")
1502
'("gboolean" "is_user")
1506
(define-method is_online
1507
(of-object "EmpathyContact")
1508
(c-name "empathy_contact_is_online")
1509
(return-type "gboolean")
1512
(define-method get_status
1513
(of-object "EmpathyContact")
1514
(c-name "empathy_contact_get_status")
1515
(return-type "const-gchar*")
1518
(define-method can_voip
1519
(of-object "EmpathyContact")
1520
(c-name "empathy_contact_can_voip")
1521
(return-type "gboolean")
1524
(define-method can_voip_audio
1525
(of-object "EmpathyContact")
1526
(c-name "empathy_contact_can_voip_audio")
1527
(return-type "gboolean")
1530
(define-method can_voip_video
1531
(of-object "EmpathyContact")
1532
(c-name "empathy_contact_can_voip_video")
1533
(return-type "gboolean")
1536
(define-method can_send_files
1537
(of-object "EmpathyContact")
1538
(c-name "empathy_contact_can_send_files")
1539
(return-type "gboolean")
1542
(define-method can_use_stream_tube
1543
(of-object "EmpathyContact")
1544
(c-name "empathy_contact_can_use_stream_tube")
1545
(return-type "gboolean")
1548
(define-function contact_hash
1549
(c-name "empathy_contact_hash")
1550
(return-type "guint")
1552
'("gconstpointer" "key")
1556
(define-method load_avatar_data
1557
(of-object "EmpathyContact")
1558
(c-name "empathy_contact_load_avatar_data")
1559
(return-type "none")
1561
'("const-guchar*" "data")
1562
'("const-gsize" "len")
1563
'("const-gchar*" "format")
1564
'("const-gchar*" "token")
1568
(define-method load_avatar_cache
1569
(of-object "EmpathyContact")
1570
(c-name "empathy_contact_load_avatar_cache")
1571
(return-type "gboolean")
1573
'("const-gchar*" "token")
1577
(define-function avatar_get_type
1578
(c-name "empathy_avatar_get_type")
1579
(return-type "GType")
1582
(define-function avatar_new
1583
(c-name "empathy_avatar_new")
1584
(is-constructor-of "EmpathyAvatar")
1585
(return-type "EmpathyAvatar*")
1589
'("gchar*" "format")
1591
'("gchar*" "filename")
1596
(of-object "EmpathyAvatar")
1597
(c-name "empathy_avatar_ref")
1598
(return-type "EmpathyAvatar*")
1601
(define-method unref
1602
(of-object "EmpathyAvatar")
1603
(c-name "empathy_avatar_unref")
1604
(return-type "none")
1607
(define-method save_to_file
1608
(of-object "EmpathyAvatar")
1609
(c-name "empathy_avatar_save_to_file")
1610
(return-type "gboolean")
1612
'("const-gchar*" "filename")
1613
'("GError**" "error")
1617
(define-method get_location
1618
(of-object "EmpathyContact")
1619
(c-name "empathy_contact_get_location")
1620
(return-type "GHashTable*")
1623
(define-method set_location
1624
(of-object "EmpathyContact")
1625
(c-name "empathy_contact_set_location")
1626
(return-type "none")
1628
'("GHashTable*" "location")
1632
(define-function contact_equal
1633
(c-name "empathy_contact_equal")
1634
(return-type "gboolean")
1636
'("gconstpointer" "contact1")
1637
'("gconstpointer" "contact2")
1643
;; From empathy-contact-groups.h
1645
(define-function contact_groups_get_all
1646
(c-name "empathy_contact_groups_get_all")
1647
(return-type "none")
1650
(define-function contact_group_get_expanded
1651
(c-name "empathy_contact_group_get_expanded")
1652
(return-type "gboolean")
1654
'("const-gchar*" "group")
1658
(define-function contact_group_set_expanded
1659
(c-name "empathy_contact_group_set_expanded")
1660
(return-type "none")
1662
'("const-gchar*" "group")
1663
'("gboolean" "expanded")
1669
;; From empathy-contact-list.h
1671
(define-function contact_list_get_type
1672
(c-name "empathy_contact_list_get_type")
1673
(return-type "GType")
1677
(of-object "EmpathyContactList")
1678
(c-name "empathy_contact_list_add")
1679
(return-type "none")
1681
'("EmpathyContact*" "contact")
1682
'("const-gchar*" "message")
1686
(define-method remove
1687
(of-object "EmpathyContactList")
1688
(c-name "empathy_contact_list_remove")
1689
(return-type "none")
1691
'("EmpathyContact*" "contact")
1692
'("const-gchar*" "message")
1696
(define-method get_members
1697
(of-object "EmpathyContactList")
1698
(c-name "empathy_contact_list_get_members")
1699
(return-type "GList*")
1702
(define-method get_pendings
1703
(of-object "EmpathyContactList")
1704
(c-name "empathy_contact_list_get_pendings")
1705
(return-type "GList*")
1708
(define-method get_all_groups
1709
(of-object "EmpathyContactList")
1710
(c-name "empathy_contact_list_get_all_groups")
1711
(return-type "GList*")
1714
(define-method get_groups
1715
(of-object "EmpathyContactList")
1716
(c-name "empathy_contact_list_get_groups")
1717
(return-type "GList*")
1719
'("EmpathyContact*" "contact")
1723
(define-method add_to_group
1724
(of-object "EmpathyContactList")
1725
(c-name "empathy_contact_list_add_to_group")
1726
(return-type "none")
1728
'("EmpathyContact*" "contact")
1729
'("const-gchar*" "group")
1733
(define-method remove_from_group
1734
(of-object "EmpathyContactList")
1735
(c-name "empathy_contact_list_remove_from_group")
1736
(return-type "none")
1738
'("EmpathyContact*" "contact")
1739
'("const-gchar*" "group")
1743
(define-method rename_group
1744
(of-object "EmpathyContactList")
1745
(c-name "empathy_contact_list_rename_group")
1746
(return-type "none")
1748
'("const-gchar*" "old_group")
1749
'("const-gchar*" "new_group")
1753
(define-method remove_group
1754
(of-object "EmpathyContactList")
1755
(c-name "empathy_contact_list_remove_group")
1756
(return-type "none")
1758
'("const-gchar*" "group")
1762
(define-method get_monitor
1763
(of-object "EmpathyContactList")
1764
(c-name "empathy_contact_list_get_monitor")
1765
(return-type "EmpathyContactMonitor*")
1768
(define-method get_flags
1769
(of-object "EmpathyContactList")
1770
(c-name "empathy_contact_list_get_flags")
1771
(return-type "EmpathyContactListFlags")
1776
;; From empathy-contact-manager.h
1778
(define-function contact_manager_get_type
1779
(c-name "empathy_contact_manager_get_type")
1780
(return-type "GType")
1783
(define-function contact_manager_initialized
1784
(c-name "empathy_contact_manager_initialized")
1785
(return-type "gboolean")
1788
(define-function contact_manager_dup_singleton
1789
(c-name "empathy_contact_manager_dup_singleton")
1790
(return-type "EmpathyContactManager*")
1793
(define-method get_list
1794
(of-object "EmpathyContactManager")
1795
(c-name "empathy_contact_manager_get_list")
1796
(return-type "EmpathyTpContactList*")
1798
'("TpConnection*" "connection")
1802
(define-method get_flags_for_connection
1803
(of-object "EmpathyContactManager")
1804
(c-name "empathy_contact_manager_get_flags_for_connection")
1805
(return-type "EmpathyContactListFlags")
1807
'("TpConnection*" "connection")
1813
;; From empathy-contact-monitor.h
1815
(define-function contact_monitor_get_type
1816
(c-name "empathy_contact_monitor_get_type")
1817
(return-type "GType")
1820
(define-method set_iface
1821
(of-object "EmpathyContactMonitor")
1822
(c-name "empathy_contact_monitor_set_iface")
1823
(return-type "none")
1825
'("EmpathyContactList*" "iface")
1829
(define-function contact_monitor_new_for_iface
1830
(c-name "empathy_contact_monitor_new_for_iface")
1831
(return-type "EmpathyContactMonitor*")
1833
'("EmpathyContactList*" "iface")
1839
;; From empathy-connection-managers.h
1841
(define-function connection_managers_get_type
1842
(c-name "empathy_connection_managers_get_type")
1843
(return-type "GType")
1846
(define-function connection_managers_dup_singleton
1847
(c-name "empathy_connection_managers_dup_singleton")
1848
(return-type "EmpathyConnectionManagers*")
1851
(define-method is_ready
1852
(of-object "EmpathyConnectionManagers")
1853
(c-name "empathy_connection_managers_is_ready")
1854
(return-type "gboolean")
1857
(define-method update
1858
(of-object "EmpathyConnectionManagers")
1859
(c-name "empathy_connection_managers_update")
1860
(return-type "none")
1863
(define-method get_cms
1864
(of-object "EmpathyConnectionManagers")
1865
(c-name "empathy_connection_managers_get_cms")
1866
(return-type "GList*")
1869
(define-method get_cms_num
1870
(of-object "EmpathyConnectionManagers")
1871
(c-name "empathy_connection_managers_get_cms_num")
1872
(return-type "guint")
1875
(define-method get_cm
1876
(of-object "EmpathyConnectionManagers")
1877
(c-name "empathy_connection_managers_get_cm")
1878
(return-type "TpConnectionManager*")
1880
'("const-gchar*" "cm")
1886
;; From empathy-debug.h
1888
(define-function debug_flag_is_set
1889
(c-name "empathy_debug_flag_is_set")
1890
(return-type "gboolean")
1892
'("EmpathyDebugFlags" "flag")
1896
(define-function debug
1897
(c-name "empathy_debug")
1898
(return-type "none")
1900
'("EmpathyDebugFlags" "flag")
1901
'("const-gchar*" "format")
1906
(define-function debug_free
1907
(c-name "empathy_debug_free")
1908
(return-type "none")
1911
(define-function debug_set_flags
1912
(c-name "empathy_debug_set_flags")
1913
(return-type "none")
1915
'("const-gchar*" "flags_string")
1921
;; From empathy-debugger.h
1923
(define-function debugger_get_type
1924
(c-name "empathy_debugger_get_type")
1925
(return-type "GType")
1928
(define-function debugger_get_singleton
1929
(c-name "empathy_debugger_get_singleton")
1930
(return-type "EmpathyDebugger*")
1933
(define-method add_message
1934
(of-object "EmpathyDebugger")
1935
(c-name "empathy_debugger_add_message")
1936
(return-type "none")
1938
'("GTimeVal*" "timestamp")
1939
'("const-gchar*" "domain")
1940
'("GLogLevelFlags" "level")
1941
'("const-gchar*" "string")
1947
;; From empathy-dispatcher.h
1949
(define-function dispatcher_get_type
1950
(c-name "empathy_dispatcher_get_type")
1951
(return-type "GType")
1954
(define-method create_channel
1955
(of-object "EmpathyDispatcher")
1956
(c-name "empathy_dispatcher_create_channel")
1957
(return-type "none")
1959
'("TpConnection*" "connection")
1960
'("GHashTable*" "request")
1961
'("EmpathyDispatcherRequestCb*" "callback")
1962
'("gpointer" "user_data")
1966
(define-function dispatcher_chat_with_contact_id
1967
(c-name "empathy_dispatcher_chat_with_contact_id")
1968
(return-type "none")
1970
'("TpConnection*" "connection")
1971
'("const-gchar*" "contact_id")
1972
'("EmpathyDispatcherRequestCb*" "callback")
1973
'("gpointer" "user_data")
1977
(define-function dispatcher_chat_with_contact
1978
(c-name "empathy_dispatcher_chat_with_contact")
1979
(return-type "none")
1981
'("EmpathyContact*" "contact")
1982
'("EmpathyDispatcherRequestCb*" "callback")
1983
'("gpointer" "user_data")
1987
(define-function dispatcher_send_file_to_contact
1988
(c-name "empathy_dispatcher_send_file_to_contact")
1989
(return-type "none")
1991
'("EmpathyContact*" "contact")
1992
'("const-gchar*" "filename")
1995
'("const-gchar*" "content_type")
1996
'("EmpathyDispatcherRequestCb*" "callback")
1997
'("gpointer" "user_data")
2001
(define-function dispatcher_join_muc
2002
(c-name "empathy_dispatcher_join_muc")
2003
(return-type "none")
2005
'("TpConnection*" "connection")
2006
'("const-gchar*" "roomname")
2007
'("EmpathyDispatcherRequestCb*" "callback")
2008
'("gpointer" "user_data")
2012
(define-method find_requestable_channel_classes_async
2013
(of-object "EmpathyDispatcher")
2014
(c-name "empathy_dispatcher_find_requestable_channel_classes_async")
2015
(return-type "none")
2017
'("TpConnection*" "connection")
2018
'("const-gchar*" "channel_type")
2019
'("guint" "handle_type")
2020
'("EmpathyDispatcherFindChannelClassCb" "callback")
2021
'("gpointer" "user_data")
2022
'("const-char*" "first_property_name")
2027
(define-method find_requestable_channel_classes
2028
(of-object "EmpathyDispatcher")
2029
(c-name "empathy_dispatcher_find_requestable_channel_classes")
2030
(return-type "GList*")
2032
'("TpConnection*" "connection")
2033
'("const-gchar*" "channel_type")
2034
'("guint" "handle_type")
2035
'("const-char*" "first_property_name")
2040
(define-function dispatcher_dup_singleton
2041
(c-name "empathy_dispatcher_dup_singleton")
2042
(return-type "EmpathyDispatcher*")
2047
;; From empathy-dispatch-operation.h
2049
(define-function dispatch_operation_get_type
2050
(c-name "empathy_dispatch_operation_get_type")
2051
(return-type "GType")
2054
(define-function dispatch_operation_new
2055
(c-name "empathy_dispatch_operation_new")
2056
(is-constructor-of "EmpathyDispatchOperation")
2057
(return-type "EmpathyDispatchOperation*")
2059
'("TpConnection*" "connection")
2060
'("TpChannel*" "channel")
2061
'("EmpathyContact*" "contact")
2062
'("gboolean" "incoming")
2066
(define-function dispatch_operation_new_with_wrapper
2067
(c-name "empathy_dispatch_operation_new_with_wrapper")
2068
(return-type "EmpathyDispatchOperation*")
2070
'("TpConnection*" "connection")
2071
'("TpChannel*" "channel")
2072
'("EmpathyContact*" "contact")
2073
'("gboolean" "incoming")
2074
'("GObject*" "channel_wrapper")
2078
(define-method start
2079
(of-object "EmpathyDispatchOperation")
2080
(c-name "empathy_dispatch_operation_start")
2081
(return-type "none")
2084
(define-method approve
2085
(of-object "EmpathyDispatchOperation")
2086
(c-name "empathy_dispatch_operation_approve")
2087
(return-type "none")
2090
(define-method claim
2091
(of-object "EmpathyDispatchOperation")
2092
(c-name "empathy_dispatch_operation_claim")
2093
(return-type "gboolean")
2096
(define-method get_channel
2097
(of-object "EmpathyDispatchOperation")
2098
(c-name "empathy_dispatch_operation_get_channel")
2099
(return-type "TpChannel*")
2102
(define-method get_channel_wrapper
2103
(of-object "EmpathyDispatchOperation")
2104
(c-name "empathy_dispatch_operation_get_channel_wrapper")
2105
(return-type "GObject*")
2108
(define-method get_tp_connection
2109
(of-object "EmpathyDispatchOperation")
2110
(c-name "empathy_dispatch_operation_get_tp_connection")
2111
(return-type "TpConnection*")
2114
(define-method get_channel_type
2115
(of-object "EmpathyDispatchOperation")
2116
(c-name "empathy_dispatch_operation_get_channel_type")
2117
(return-type "const-gchar*")
2120
(define-method get_channel_type_id
2121
(of-object "EmpathyDispatchOperation")
2122
(c-name "empathy_dispatch_operation_get_channel_type_id")
2123
(return-type "GQuark")
2126
(define-method get_object_path
2127
(of-object "EmpathyDispatchOperation")
2128
(c-name "empathy_dispatch_operation_get_object_path")
2129
(return-type "const-gchar*")
2132
(define-method get_status
2133
(of-object "EmpathyDispatchOperation")
2134
(c-name "empathy_dispatch_operation_get_status")
2135
(return-type "EmpathyDispatchOperationState")
2138
(define-method is_incoming
2139
(of-object "EmpathyDispatchOperation")
2140
(c-name "empathy_dispatch_operation_is_incoming")
2141
(return-type "gboolean")
2146
;; From empathy-ft-factory.h
2148
(define-function ft_factory_get_type
2149
(c-name "empathy_ft_factory_get_type")
2150
(return-type "GType")
2153
(define-function ft_factory_dup_singleton
2154
(c-name "empathy_ft_factory_dup_singleton")
2155
(return-type "EmpathyFTFactory*")
2158
(define-method new_transfer_outgoing
2159
(of-object "EmpathyFTFactory")
2160
(c-name "empathy_ft_factory_new_transfer_outgoing")
2161
(return-type "none")
2163
'("EmpathyContact*" "contact")
2164
'("GFile*" "source")
2168
(define-method claim_channel
2169
(of-object "EmpathyFTFactory")
2170
(c-name "empathy_ft_factory_claim_channel")
2171
(return-type "none")
2173
'("EmpathyDispatchOperation*" "operation")
2177
(define-method set_destination_for_incoming_handler
2178
(of-object "EmpathyFTFactory")
2179
(c-name "empathy_ft_factory_set_destination_for_incoming_handler")
2180
(return-type "none")
2182
'("EmpathyFTHandler*" "handler")
2183
'("GFile*" "destination")
2189
;; From empathy-ft-handler.h
2191
(define-function ft_handler_get_type
2192
(c-name "empathy_ft_handler_get_type")
2193
(return-type "GType")
2196
(define-function ft_handler_new_outgoing
2197
(c-name "empathy_ft_handler_new_outgoing")
2198
(return-type "none")
2200
'("EmpathyContact*" "contact")
2201
'("GFile*" "source")
2202
'("EmpathyFTHandlerReadyCallback" "callback")
2203
'("gpointer" "user_data")
2207
(define-function ft_handler_new_incoming
2208
(c-name "empathy_ft_handler_new_incoming")
2209
(return-type "none")
2211
'("EmpathyTpFile*" "tp_file")
2212
'("EmpathyFTHandlerReadyCallback" "callback")
2213
'("gpointer" "user_data")
2217
(define-method incoming_set_destination
2218
(of-object "EmpathyFTHandler")
2219
(c-name "empathy_ft_handler_incoming_set_destination")
2220
(return-type "none")
2222
'("GFile*" "destination")
2226
(define-method start_transfer
2227
(of-object "EmpathyFTHandler")
2228
(c-name "empathy_ft_handler_start_transfer")
2229
(return-type "none")
2232
(define-method cancel_transfer
2233
(of-object "EmpathyFTHandler")
2234
(c-name "empathy_ft_handler_cancel_transfer")
2235
(return-type "none")
2238
(define-method get_filename
2239
(of-object "EmpathyFTHandler")
2240
(c-name "empathy_ft_handler_get_filename")
2241
(return-type "const-char*")
2244
(define-method get_content_type
2245
(of-object "EmpathyFTHandler")
2246
(c-name "empathy_ft_handler_get_content_type")
2247
(return-type "const-char*")
2250
(define-method get_contact
2251
(of-object "EmpathyFTHandler")
2252
(c-name "empathy_ft_handler_get_contact")
2253
(return-type "EmpathyContact*")
2256
(define-method get_gfile
2257
(of-object "EmpathyFTHandler")
2258
(c-name "empathy_ft_handler_get_gfile")
2259
(return-type "GFile*")
2262
(define-method get_use_hash
2263
(of-object "EmpathyFTHandler")
2264
(c-name "empathy_ft_handler_get_use_hash")
2265
(return-type "gboolean")
2268
(define-method is_incoming
2269
(of-object "EmpathyFTHandler")
2270
(c-name "empathy_ft_handler_is_incoming")
2271
(return-type "gboolean")
2274
(define-method get_transferred_bytes
2275
(of-object "EmpathyFTHandler")
2276
(c-name "empathy_ft_handler_get_transferred_bytes")
2277
(return-type "guint64")
2280
(define-method get_total_bytes
2281
(of-object "EmpathyFTHandler")
2282
(c-name "empathy_ft_handler_get_total_bytes")
2283
(return-type "guint64")
2286
(define-method is_completed
2287
(of-object "EmpathyFTHandler")
2288
(c-name "empathy_ft_handler_is_completed")
2289
(return-type "gboolean")
2292
(define-method is_cancelled
2293
(of-object "EmpathyFTHandler")
2294
(c-name "empathy_ft_handler_is_cancelled")
2295
(return-type "gboolean")
2300
;; From empathy-idle.h
2302
(define-function idle_get_type
2303
(c-name "empathy_idle_get_type")
2304
(return-type "GType")
2307
(define-function idle_dup_singleton
2308
(c-name "empathy_idle_dup_singleton")
2309
(return-type "EmpathyIdle*")
2312
(define-method get_state
2313
(of-object "EmpathyIdle")
2314
(c-name "empathy_idle_get_state")
2315
(return-type "TpConnectionPresenceType")
2318
(define-method set_state
2319
(of-object "EmpathyIdle")
2320
(c-name "empathy_idle_set_state")
2321
(return-type "none")
2323
'("TpConnectionPresenceType" "state")
2327
(define-method get_status
2328
(of-object "EmpathyIdle")
2329
(c-name "empathy_idle_get_status")
2330
(return-type "const-gchar*")
2333
(define-method set_status
2334
(of-object "EmpathyIdle")
2335
(c-name "empathy_idle_set_status")
2336
(return-type "none")
2338
'("const-gchar*" "status")
2342
(define-method get_flash_state
2343
(of-object "EmpathyIdle")
2344
(c-name "empathy_idle_get_flash_state")
2345
(return-type "TpConnectionPresenceType")
2348
(define-method set_flash_state
2349
(of-object "EmpathyIdle")
2350
(c-name "empathy_idle_set_flash_state")
2351
(return-type "none")
2353
'("TpConnectionPresenceType" "state")
2357
(define-method set_presence
2358
(of-object "EmpathyIdle")
2359
(c-name "empathy_idle_set_presence")
2360
(return-type "none")
2362
'("TpConnectionPresenceType" "state")
2363
'("const-gchar*" "status")
2367
(define-method get_auto_away
2368
(of-object "EmpathyIdle")
2369
(c-name "empathy_idle_get_auto_away")
2370
(return-type "gboolean")
2373
(define-method set_auto_away
2374
(of-object "EmpathyIdle")
2375
(c-name "empathy_idle_set_auto_away")
2376
(return-type "none")
2378
'("gboolean" "auto_away")
2384
;; From empathy-irc-network.h
2386
(define-function irc_network_get_type
2387
(c-name "empathy_irc_network_get_type")
2388
(return-type "GType")
2391
(define-function irc_network_new
2392
(c-name "empathy_irc_network_new")
2393
(is-constructor-of "EmpathyIrcNetwork")
2394
(return-type "EmpathyIrcNetwork*")
2396
'("const-gchar*" "name")
2400
(define-method get_servers
2401
(of-object "EmpathyIrcNetwork")
2402
(c-name "empathy_irc_network_get_servers")
2403
(return-type "GSList*")
2406
(define-method append_server
2407
(of-object "EmpathyIrcNetwork")
2408
(c-name "empathy_irc_network_append_server")
2409
(return-type "none")
2411
'("EmpathyIrcServer*" "server")
2415
(define-method remove_server
2416
(of-object "EmpathyIrcNetwork")
2417
(c-name "empathy_irc_network_remove_server")
2418
(return-type "none")
2420
'("EmpathyIrcServer*" "server")
2424
(define-method set_server_position
2425
(of-object "EmpathyIrcNetwork")
2426
(c-name "empathy_irc_network_set_server_position")
2427
(return-type "none")
2429
'("EmpathyIrcServer*" "server")
2436
;; From empathy-irc-network-manager.h
2438
(define-function irc_network_manager_get_type
2439
(c-name "empathy_irc_network_manager_get_type")
2440
(return-type "GType")
2443
(define-function irc_network_manager_new
2444
(c-name "empathy_irc_network_manager_new")
2445
(is-constructor-of "EmpathyIrcNetworkManager")
2446
(return-type "EmpathyIrcNetworkManager*")
2448
'("const-gchar*" "global_file")
2449
'("const-gchar*" "user_file")
2454
(of-object "EmpathyIrcNetworkManager")
2455
(c-name "empathy_irc_network_manager_add")
2456
(return-type "none")
2458
'("EmpathyIrcNetwork*" "network")
2462
(define-method remove
2463
(of-object "EmpathyIrcNetworkManager")
2464
(c-name "empathy_irc_network_manager_remove")
2465
(return-type "none")
2467
'("EmpathyIrcNetwork*" "network")
2471
(define-method get_networks
2472
(of-object "EmpathyIrcNetworkManager")
2473
(c-name "empathy_irc_network_manager_get_networks")
2474
(return-type "GSList*")
2477
(define-method find_network_by_address
2478
(of-object "EmpathyIrcNetworkManager")
2479
(c-name "empathy_irc_network_manager_find_network_by_address")
2480
(return-type "EmpathyIrcNetwork*")
2482
'("const-gchar*" "address")
2488
;; From empathy-irc-server.h
2490
(define-function irc_server_get_type
2491
(c-name "empathy_irc_server_get_type")
2492
(return-type "GType")
2495
(define-function irc_server_new
2496
(c-name "empathy_irc_server_new")
2497
(is-constructor-of "EmpathyIrcServer")
2498
(return-type "EmpathyIrcServer*")
2500
'("const-gchar*" "address")
2508
;; From empathy-location.h
2512
;; From empathy-log-manager.h
2514
(define-function log_manager_get_type
2515
(c-name "empathy_log_manager_get_type")
2516
(return-type "GType")
2519
(define-function log_manager_dup_singleton
2520
(c-name "empathy_log_manager_dup_singleton")
2521
(return-type "EmpathyLogManager*")
2524
(define-method add_message
2525
(of-object "EmpathyLogManager")
2526
(c-name "empathy_log_manager_add_message")
2527
(return-type "gboolean")
2529
'("const-gchar*" "chat_id")
2530
'("gboolean" "chatroom")
2531
'("EmpathyMessage*" "message")
2532
'("GError**" "error")
2536
(define-method exists
2537
(of-object "EmpathyLogManager")
2538
(c-name "empathy_log_manager_exists")
2539
(return-type "gboolean")
2541
'("EmpathyAccount*" "account")
2542
'("const-gchar*" "chat_id")
2543
'("gboolean" "chatroom")
2547
(define-method get_dates
2548
(of-object "EmpathyLogManager")
2549
(c-name "empathy_log_manager_get_dates")
2550
(return-type "GList*")
2552
'("EmpathyAccount*" "account")
2553
'("const-gchar*" "chat_id")
2554
'("gboolean" "chatroom")
2558
(define-method get_messages_for_date
2559
(of-object "EmpathyLogManager")
2560
(c-name "empathy_log_manager_get_messages_for_date")
2561
(return-type "GList*")
2563
'("EmpathyAccount*" "account")
2564
'("const-gchar*" "chat_id")
2565
'("gboolean" "chatroom")
2566
'("const-gchar*" "date")
2570
(define-method get_filtered_messages
2571
(of-object "EmpathyLogManager")
2572
(c-name "empathy_log_manager_get_filtered_messages")
2573
(return-type "GList*")
2575
'("EmpathyAccount*" "account")
2576
'("const-gchar*" "chat_id")
2577
'("gboolean" "chatroom")
2578
'("guint" "num_messages")
2579
'("EmpathyLogMessageFilter" "filter")
2580
'("gpointer" "user_data")
2584
(define-method get_chats
2585
(of-object "EmpathyLogManager")
2586
(c-name "empathy_log_manager_get_chats")
2587
(return-type "GList*")
2589
'("EmpathyAccount*" "account")
2593
(define-method search_new
2594
(of-object "EmpathyLogManager")
2595
(c-name "empathy_log_manager_search_new")
2596
(return-type "GList*")
2598
'("const-gchar*" "text")
2602
(define-function log_manager_search_free
2603
(c-name "empathy_log_manager_search_free")
2604
(return-type "none")
2610
(define-function log_manager_get_date_readable
2611
(c-name "empathy_log_manager_get_date_readable")
2612
(return-type "gchar*")
2614
'("const-gchar*" "date")
2618
(define-function log_manager_search_hit_free
2619
(c-name "empathy_log_manager_search_hit_free")
2620
(return-type "none")
2622
'("EmpathyLogSearchHit*" "hit")
2626
(define-method observe
2627
(of-object "EmpathyLogManager")
2628
(c-name "empathy_log_manager_observe")
2629
(return-type "none")
2631
'("EmpathyDispatcher*" "dispatcher")
2637
;; From empathy-log-store.h
2639
(define-function log_store_get_type
2640
(c-name "empathy_log_store_get_type")
2641
(return-type "GType")
2644
(define-method get_name
2645
(of-object "EmpathyLogStore")
2646
(c-name "empathy_log_store_get_name")
2647
(return-type "const-gchar*")
2650
(define-method exists
2651
(of-object "EmpathyLogStore")
2652
(c-name "empathy_log_store_exists")
2653
(return-type "gboolean")
2655
'("EmpathyAccount*" "account")
2656
'("const-gchar*" "chat_id")
2657
'("gboolean" "chatroom")
2661
(define-method add_message
2662
(of-object "EmpathyLogStore")
2663
(c-name "empathy_log_store_add_message")
2664
(return-type "gboolean")
2666
'("const-gchar*" "chat_id")
2667
'("gboolean" "chatroom")
2668
'("EmpathyMessage*" "message")
2669
'("GError**" "error")
2673
(define-method get_dates
2674
(of-object "EmpathyLogStore")
2675
(c-name "empathy_log_store_get_dates")
2676
(return-type "GList*")
2678
'("EmpathyAccount*" "account")
2679
'("const-gchar*" "chat_id")
2680
'("gboolean" "chatroom")
2684
(define-method get_messages_for_date
2685
(of-object "EmpathyLogStore")
2686
(c-name "empathy_log_store_get_messages_for_date")
2687
(return-type "GList*")
2689
'("EmpathyAccount*" "account")
2690
'("const-gchar*" "chat_id")
2691
'("gboolean" "chatroom")
2692
'("const-gchar*" "date")
2696
(define-method get_last_messages
2697
(of-object "EmpathyLogStore")
2698
(c-name "empathy_log_store_get_last_messages")
2699
(return-type "GList*")
2701
'("EmpathyAccount*" "account")
2702
'("const-gchar*" "chat_id")
2703
'("gboolean" "chatroom")
2707
(define-method get_chats
2708
(of-object "EmpathyLogStore")
2709
(c-name "empathy_log_store_get_chats")
2710
(return-type "GList*")
2712
'("EmpathyAccount*" "account")
2716
(define-method search_new
2717
(of-object "EmpathyLogStore")
2718
(c-name "empathy_log_store_search_new")
2719
(return-type "GList*")
2721
'("const-gchar*" "text")
2725
(define-method ack_message
2726
(of-object "EmpathyLogStore")
2727
(c-name "empathy_log_store_ack_message")
2728
(return-type "none")
2730
'("const-gchar*" "chat_id")
2731
'("gboolean" "chatroom")
2732
'("EmpathyMessage*" "message")
2736
(define-method get_filtered_messages
2737
(of-object "EmpathyLogStore")
2738
(c-name "empathy_log_store_get_filtered_messages")
2739
(return-type "GList*")
2741
'("EmpathyAccount*" "account")
2742
'("const-gchar*" "chat_id")
2743
'("gboolean" "chatroom")
2744
'("guint" "num_messages")
2745
'("EmpathyLogMessageFilter" "filter")
2746
'("gpointer" "user_data")
2752
;; From empathy-log-store-empathy.h
2754
(define-function log_store_empathy_get_type
2755
(c-name "empathy_log_store_empathy_get_type")
2756
(return-type "GType")
2761
;; From empathy-message.h
2763
(define-function message_get_type
2764
(c-name "empathy_message_get_type")
2765
(return-type "GType")
2768
(define-function message_new
2769
(c-name "empathy_message_new")
2770
(is-constructor-of "EmpathyMessage")
2771
(return-type "EmpathyMessage*")
2773
'("const-gchar*" "body")
2777
(define-method get_tptype
2778
(of-object "EmpathyMessage")
2779
(c-name "empathy_message_get_tptype")
2780
(return-type "TpChannelTextMessageType")
2783
(define-method set_tptype
2784
(of-object "EmpathyMessage")
2785
(c-name "empathy_message_set_tptype")
2786
(return-type "none")
2788
'("TpChannelTextMessageType" "type")
2792
(define-method get_sender
2793
(of-object "EmpathyMessage")
2794
(c-name "empathy_message_get_sender")
2795
(return-type "EmpathyContact*")
2798
(define-method set_sender
2799
(of-object "EmpathyMessage")
2800
(c-name "empathy_message_set_sender")
2801
(return-type "none")
2803
'("EmpathyContact*" "contact")
2807
(define-method get_receiver
2808
(of-object "EmpathyMessage")
2809
(c-name "empathy_message_get_receiver")
2810
(return-type "EmpathyContact*")
2813
(define-method set_receiver
2814
(of-object "EmpathyMessage")
2815
(c-name "empathy_message_set_receiver")
2816
(return-type "none")
2818
'("EmpathyContact*" "contact")
2822
(define-method get_body
2823
(of-object "EmpathyMessage")
2824
(c-name "empathy_message_get_body")
2825
(return-type "const-gchar*")
2828
(define-method set_body
2829
(of-object "EmpathyMessage")
2830
(c-name "empathy_message_set_body")
2831
(return-type "none")
2833
'("const-gchar*" "body")
2837
(define-method get_timestamp
2838
(of-object "EmpathyMessage")
2839
(c-name "empathy_message_get_timestamp")
2840
(return-type "time_t")
2843
(define-method set_timestamp
2844
(of-object "EmpathyMessage")
2845
(c-name "empathy_message_set_timestamp")
2846
(return-type "none")
2848
'("time_t" "timestamp")
2852
(define-method is_backlog
2853
(of-object "EmpathyMessage")
2854
(c-name "empathy_message_is_backlog")
2855
(return-type "gboolean")
2858
(define-method set_is_backlog
2859
(of-object "EmpathyMessage")
2860
(c-name "empathy_message_set_is_backlog")
2861
(return-type "none")
2863
'("gboolean" "is_backlog")
2867
(define-method should_highlight
2868
(of-object "EmpathyMessage")
2869
(c-name "empathy_message_should_highlight")
2870
(return-type "gboolean")
2873
(define-function message_type_from_str
2874
(c-name "empathy_message_type_from_str")
2875
(return-type "TpChannelTextMessageType")
2877
'("const-gchar*" "type_str")
2881
(define-function message_type_to_str
2882
(c-name "empathy_message_type_to_str")
2883
(return-type "const-gchar*")
2885
'("TpChannelTextMessageType" "type")
2889
(define-method get_id
2890
(of-object "EmpathyMessage")
2891
(c-name "empathy_message_get_id")
2892
(return-type "guint")
2895
(define-method set_id
2896
(of-object "EmpathyMessage")
2897
(c-name "empathy_message_set_id")
2898
(return-type "none")
2904
(define-method equal
2905
(of-object "EmpathyMessage")
2906
(c-name "empathy_message_equal")
2907
(return-type "gboolean")
2909
'("EmpathyMessage*" "message2")
2915
;; From empathy-status-presets.h
2917
(define-function status_presets_get_all
2918
(c-name "empathy_status_presets_get_all")
2919
(return-type "none")
2922
(define-function status_presets_get
2923
(c-name "empathy_status_presets_get")
2924
(return-type "GList*")
2926
'("TpConnectionPresenceType" "state")
2927
'("gint" "max_number")
2931
(define-function status_presets_set_last
2932
(c-name "empathy_status_presets_set_last")
2933
(return-type "none")
2935
'("TpConnectionPresenceType" "state")
2936
'("const-gchar*" "status")
2940
(define-function status_presets_remove
2941
(c-name "empathy_status_presets_remove")
2942
(return-type "none")
2944
'("TpConnectionPresenceType" "state")
2945
'("const-gchar*" "status")
2949
(define-function status_presets_reset
2950
(c-name "empathy_status_presets_reset")
2951
(return-type "none")
2954
(define-function status_presets_get_default_state
2955
(c-name "empathy_status_presets_get_default_state")
2956
(return-type "TpConnectionPresenceType")
2959
(define-function status_presets_get_default_status
2960
(c-name "empathy_status_presets_get_default_status")
2961
(return-type "const-gchar*")
2964
(define-function status_presets_set_default
2965
(c-name "empathy_status_presets_set_default")
2966
(return-type "none")
2968
'("TpConnectionPresenceType" "state")
2969
'("const-gchar*" "status")
2973
(define-function status_presets_clear_default
2974
(c-name "empathy_status_presets_clear_default")
2975
(return-type "none")
2978
(define-function status_presets_is_valid
2979
(c-name "empathy_status_presets_is_valid")
2980
(return-type "gboolean")
2982
'("TpConnectionPresenceType" "state")
2988
;; From empathy-time.h
2990
(define-function time_get_current
2991
(c-name "empathy_time_get_current")
2992
(return-type "time_t")
2995
(define-function time_get_local_time
2996
(c-name "empathy_time_get_local_time")
2997
(return-type "time_t")
2999
'("struct-tm*" "tm")
3003
(define-function time_parse
3004
(c-name "empathy_time_parse")
3005
(return-type "time_t")
3007
'("const-gchar*" "str")
3011
(define-function time_to_string_utc
3012
(c-name "empathy_time_to_string_utc")
3013
(return-type "gchar*")
3016
'("const-gchar*" "format")
3020
(define-function time_to_string_local
3021
(c-name "empathy_time_to_string_local")
3022
(return-type "gchar*")
3025
'("const-gchar*" "format")
3029
(define-function time_to_string_relative
3030
(c-name "empathy_time_to_string_relative")
3031
(return-type "gchar*")
3039
;; From empathy-tp-call.h
3041
(define-function tp_call_get_type
3042
(c-name "empathy_tp_call_get_type")
3043
(return-type "GType")
3046
(define-function tp_call_new
3047
(c-name "empathy_tp_call_new")
3048
(is-constructor-of "EmpathyTpCall")
3049
(return-type "EmpathyTpCall*")
3051
'("TpChannel*" "channel")
3055
(define-method close
3056
(of-object "EmpathyTpCall")
3057
(c-name "empathy_tp_call_close")
3058
(return-type "none")
3062
(of-object "EmpathyTpCall")
3063
(c-name "empathy_tp_call_to")
3064
(return-type "none")
3066
'("EmpathyContact*" "contact")
3067
'("gboolean" "audio")
3068
'("gboolean" "video")
3072
(define-method accept_incoming_call
3073
(of-object "EmpathyTpCall")
3074
(c-name "empathy_tp_call_accept_incoming_call")
3075
(return-type "none")
3078
(define-method request_video_stream_direction
3079
(of-object "EmpathyTpCall")
3080
(c-name "empathy_tp_call_request_video_stream_direction")
3081
(return-type "none")
3083
'("gboolean" "is_sending")
3087
(define-method start_tone
3088
(of-object "EmpathyTpCall")
3089
(c-name "empathy_tp_call_start_tone")
3090
(return-type "none")
3092
'("TpDTMFEvent" "event")
3096
(define-method stop_tone
3097
(of-object "EmpathyTpCall")
3098
(c-name "empathy_tp_call_stop_tone")
3099
(return-type "none")
3102
(define-method has_dtmf
3103
(of-object "EmpathyTpCall")
3104
(c-name "empathy_tp_call_has_dtmf")
3105
(return-type "gboolean")
3108
(define-method is_receiving_video
3109
(of-object "EmpathyTpCall")
3110
(c-name "empathy_tp_call_is_receiving_video")
3111
(return-type "gboolean")
3114
(define-method is_sending_video
3115
(of-object "EmpathyTpCall")
3116
(c-name "empathy_tp_call_is_sending_video")
3117
(return-type "gboolean")
3122
;; From empathy-tp-chat.h
3124
(define-function tp_chat_get_type
3125
(c-name "empathy_tp_chat_get_type")
3126
(return-type "GType")
3129
(define-function tp_chat_new
3130
(c-name "empathy_tp_chat_new")
3131
(is-constructor-of "EmpathyTpChat")
3132
(return-type "EmpathyTpChat*")
3134
'("TpChannel*" "channel")
3138
(define-method close
3139
(of-object "EmpathyTpChat")
3140
(c-name "empathy_tp_chat_close")
3141
(return-type "none")
3144
(define-method get_id
3145
(of-object "EmpathyTpChat")
3146
(c-name "empathy_tp_chat_get_id")
3147
(return-type "const-gchar*")
3150
(define-method get_remote_contact
3151
(of-object "EmpathyTpChat")
3152
(c-name "empathy_tp_chat_get_remote_contact")
3153
(return-type "EmpathyContact*")
3156
(define-method get_channel
3157
(of-object "EmpathyTpChat")
3158
(c-name "empathy_tp_chat_get_channel")
3159
(return-type "TpChannel*")
3162
(define-method get_connection
3163
(of-object "EmpathyTpChat")
3164
(c-name "empathy_tp_chat_get_connection")
3165
(return-type "TpConnection*")
3168
(define-method is_ready
3169
(of-object "EmpathyTpChat")
3170
(c-name "empathy_tp_chat_is_ready")
3171
(return-type "gboolean")
3175
(of-object "EmpathyTpChat")
3176
(c-name "empathy_tp_chat_send")
3177
(return-type "none")
3179
'("EmpathyMessage*" "message")
3183
(define-method set_state
3184
(of-object "EmpathyTpChat")
3185
(c-name "empathy_tp_chat_set_state")
3186
(return-type "none")
3188
'("TpChannelChatState" "state")
3192
(define-method set_property
3193
(of-object "EmpathyTpChat")
3194
(c-name "empathy_tp_chat_set_property")
3195
(return-type "none")
3197
'("const-gchar*" "name")
3198
'("const-GValue*" "value")
3202
(define-method get_pending_messages
3203
(of-object "EmpathyTpChat")
3204
(c-name "empathy_tp_chat_get_pending_messages")
3205
(return-type "const-GList*")
3208
(define-method acknowledge_message
3209
(of-object "EmpathyTpChat")
3210
(c-name "empathy_tp_chat_acknowledge_message")
3211
(return-type "none")
3213
'("EmpathyMessage*" "message")
3217
(define-method acknowledge_messages
3218
(of-object "EmpathyTpChat")
3219
(c-name "empathy_tp_chat_acknowledge_messages")
3220
(return-type "none")
3222
'("const-GList*" "messages")
3228
;; From empathy-tp-contact-factory.h
3230
(define-function tp_contact_factory_get_type
3231
(c-name "empathy_tp_contact_factory_get_type")
3232
(return-type "GType")
3235
(define-function tp_contact_factory_dup_singleton
3236
(c-name "empathy_tp_contact_factory_dup_singleton")
3237
(return-type "EmpathyTpContactFactory*")
3239
'("TpConnection*" "connection")
3243
(define-method get_from_ids
3244
(of-object "EmpathyTpContactFactory")
3245
(c-name "empathy_tp_contact_factory_get_from_ids")
3246
(return-type "none")
3249
'("const-gchar*-const*" "ids")
3250
'("EmpathyTpContactFactoryContactsByIdCb" "callback")
3251
'("gpointer" "user_data")
3252
'("GDestroyNotify" "destroy")
3253
'("GObject*" "weak_object")
3257
(define-method get_from_handles
3258
(of-object "EmpathyTpContactFactory")
3259
(c-name "empathy_tp_contact_factory_get_from_handles")
3260
(return-type "none")
3262
'("guint" "n_handles")
3263
'("const-TpHandle*" "handles")
3264
'("EmpathyTpContactFactoryContactsByHandleCb" "callback")
3265
'("gpointer" "user_data")
3266
'("GDestroyNotify" "destroy")
3267
'("GObject*" "weak_object")
3271
(define-method get_from_id
3272
(of-object "EmpathyTpContactFactory")
3273
(c-name "empathy_tp_contact_factory_get_from_id")
3274
(return-type "none")
3276
'("const-gchar*" "id")
3277
'("EmpathyTpContactFactoryContactCb" "callback")
3278
'("gpointer" "user_data")
3279
'("GDestroyNotify" "destroy")
3280
'("GObject*" "weak_object")
3284
(define-method get_from_handle
3285
(of-object "EmpathyTpContactFactory")
3286
(c-name "empathy_tp_contact_factory_get_from_handle")
3287
(return-type "none")
3289
'("TpHandle" "handle")
3290
'("EmpathyTpContactFactoryContactCb" "callback")
3291
'("gpointer" "user_data")
3292
'("GDestroyNotify" "destroy")
3293
'("GObject*" "weak_object")
3297
(define-method set_alias
3298
(of-object "EmpathyTpContactFactory")
3299
(c-name "empathy_tp_contact_factory_set_alias")
3300
(return-type "none")
3302
'("EmpathyContact*" "contact")
3303
'("const-gchar*" "alias")
3307
(define-method set_avatar
3308
(of-object "EmpathyTpContactFactory")
3309
(c-name "empathy_tp_contact_factory_set_avatar")
3310
(return-type "none")
3312
'("const-gchar*" "data")
3314
'("const-gchar*" "mime_type")
3318
(define-method set_location
3319
(of-object "EmpathyTpContactFactory")
3320
(c-name "empathy_tp_contact_factory_set_location")
3321
(return-type "none")
3323
'("GHashTable*" "location")
3329
;; From empathy-tp-contact-list.h
3331
(define-function tp_contact_list_get_type
3332
(c-name "empathy_tp_contact_list_get_type")
3333
(return-type "GType")
3336
(define-function tp_contact_list_new
3337
(c-name "empathy_tp_contact_list_new")
3338
(is-constructor-of "EmpathyTpContactList")
3339
(return-type "EmpathyTpContactList*")
3341
'("TpConnection*" "connection")
3345
(define-method get_connection
3346
(of-object "EmpathyTpContactList")
3347
(c-name "empathy_tp_contact_list_get_connection")
3348
(return-type "TpConnection*")
3351
(define-method can_add
3352
(of-object "EmpathyTpContactList")
3353
(c-name "empathy_tp_contact_list_can_add")
3354
(return-type "gboolean")
3357
(define-method remove_all
3358
(of-object "EmpathyTpContactList")
3359
(c-name "empathy_tp_contact_list_remove_all")
3360
(return-type "none")
3365
;; From empathy-tp-file.h
3367
(define-function tp_file_get_type
3368
(c-name "empathy_tp_file_get_type")
3369
(return-type "GType")
3372
(define-function tp_file_new
3373
(c-name "empathy_tp_file_new")
3374
(is-constructor-of "EmpathyTpFile")
3375
(return-type "EmpathyTpFile*")
3377
'("TpChannel*" "channel")
3378
'("gboolean" "incoming")
3382
(define-method accept
3383
(of-object "EmpathyTpFile")
3384
(c-name "empathy_tp_file_accept")
3385
(return-type "none")
3387
'("guint64" "offset")
3389
'("GCancellable*" "cancellable")
3390
'("EmpathyTpFileProgressCallback" "progress_callback")
3391
'("gpointer" "progress_user_data")
3392
'("EmpathyTpFileOperationCallback" "op_callback")
3393
'("gpointer" "op_user_data")
3397
(define-method offer
3398
(of-object "EmpathyTpFile")
3399
(c-name "empathy_tp_file_offer")
3400
(return-type "none")
3403
'("GCancellable*" "cancellable")
3404
'("EmpathyTpFileProgressCallback" "progress_callback")
3405
'("gpointer" "progress_user_data")
3406
'("EmpathyTpFileOperationCallback" "op_callback")
3407
'("gpointer" "op_user_data")
3411
(define-method cancel
3412
(of-object "EmpathyTpFile")
3413
(c-name "empathy_tp_file_cancel")
3414
(return-type "none")
3417
(define-method close
3418
(of-object "EmpathyTpFile")
3419
(c-name "empathy_tp_file_close")
3420
(return-type "none")
3423
(define-method is_incoming
3424
(of-object "EmpathyTpFile")
3425
(c-name "empathy_tp_file_is_incoming")
3426
(return-type "gboolean")
3431
;; From empathy-tp-roomlist.h
3433
(define-function tp_roomlist_get_type
3434
(c-name "empathy_tp_roomlist_get_type")
3435
(return-type "GType")
3438
(define-function tp_roomlist_new
3439
(c-name "empathy_tp_roomlist_new")
3440
(is-constructor-of "EmpathyTpRoomlist")
3441
(return-type "EmpathyTpRoomlist*")
3443
'("EmpathyAccount*" "account")
3447
(define-method is_listing
3448
(of-object "EmpathyTpRoomlist")
3449
(c-name "empathy_tp_roomlist_is_listing")
3450
(return-type "gboolean")
3453
(define-method start
3454
(of-object "EmpathyTpRoomlist")
3455
(c-name "empathy_tp_roomlist_start")
3456
(return-type "none")
3460
(of-object "EmpathyTpRoomlist")
3461
(c-name "empathy_tp_roomlist_stop")
3462
(return-type "none")
3467
;; From empathy-tube-handler.h
3469
(define-function tube_handler_get_type
3470
(c-name "empathy_tube_handler_get_type")
3471
(return-type "GType")
3474
(define-function tube_handler_new
3475
(c-name "empathy_tube_handler_new")
3476
(is-constructor-of "EmpathyTubeHandler")
3477
(return-type "EmpathyTubeHandler*")
3479
'("TpTubeType" "type")
3480
'("const-gchar*" "service")
3484
(define-function tube_handler_build_bus_name
3485
(c-name "empathy_tube_handler_build_bus_name")
3486
(return-type "gchar*")
3488
'("TpTubeType" "type")
3489
'("const-gchar*" "service")
3493
(define-function tube_handler_build_object_path
3494
(c-name "empathy_tube_handler_build_object_path")
3495
(return-type "gchar*")
3497
'("TpTubeType" "type")
3498
'("const-gchar*" "service")
3504
;; From empathy-types.h
3508
;; From empathy-utils.h
3510
(define-function init
3511
(c-name "empathy_init")
3512
(return-type "none")
3515
(define-function substring
3516
(c-name "empathy_substring")
3517
(return-type "gchar*")
3519
'("const-gchar*" "str")
3525
(define-function strcasecmp
3526
(c-name "empathy_strcasecmp")
3527
(return-type "gint")
3529
'("const-gchar*" "s1")
3530
'("const-gchar*" "s2")
3534
(define-function strncasecmp
3535
(c-name "empathy_strncasecmp")
3536
(return-type "gint")
3538
'("const-gchar*" "s1")
3539
'("const-gchar*" "s2")
3544
(define-function xml_validate
3545
(c-name "empathy_xml_validate")
3546
(return-type "gboolean")
3549
'("const-gchar*" "dtd_filename")
3553
(define-function xml_node_get_child
3554
(c-name "empathy_xml_node_get_child")
3555
(return-type "xmlNodePtr")
3557
'("xmlNodePtr" "node")
3558
'("const-gchar*" "child_name")
3562
(define-function xml_node_get_child_content
3563
(c-name "empathy_xml_node_get_child_content")
3564
(return-type "xmlChar*")
3566
'("xmlNodePtr" "node")
3567
'("const-gchar*" "child_name")
3571
(define-function xml_node_find_child_prop_value
3572
(c-name "empathy_xml_node_find_child_prop_value")
3573
(return-type "xmlNodePtr")
3575
'("xmlNodePtr" "node")
3576
'("const-gchar*" "prop_name")
3577
'("const-gchar*" "prop_value")
3581
(define-function presence_get_default_message
3582
(c-name "empathy_presence_get_default_message")
3583
(return-type "const-gchar*")
3585
'("TpConnectionPresenceType" "presence")
3589
(define-function presence_to_str
3590
(c-name "empathy_presence_to_str")
3591
(return-type "const-gchar*")
3593
'("TpConnectionPresenceType" "presence")
3597
(define-function presence_from_str
3598
(c-name "empathy_presence_from_str")
3599
(return-type "TpConnectionPresenceType")
3601
'("const-gchar*" "str")
3605
(define-function file_lookup
3606
(c-name "empathy_file_lookup")
3607
(return-type "gchar*")
3609
'("const-gchar*" "filename")
3610
'("const-gchar*" "subdir")
3614
(define-function proxy_equal
3615
(c-name "empathy_proxy_equal")
3616
(return-type "gboolean")
3618
'("gconstpointer" "a")
3619
'("gconstpointer" "b")
3623
(define-function proxy_hash
3624
(c-name "empathy_proxy_hash")
3625
(return-type "guint")
3627
'("gconstpointer" "key")
3631
(define-function check_available_state
3632
(c-name "empathy_check_available_state")
3633
(return-type "gboolean")
3636
(define-function uint_compare
3637
(c-name "empathy_uint_compare")
3638
(return-type "gint")
3640
'("gconstpointer" "a")
3641
'("gconstpointer" "b")
3645
(define-function protocol_icon_name
3646
(c-name "empathy_protocol_icon_name")
3647
(return-type "gchar*")
3649
'("const-gchar*" "protocol")
3653
(define-function protocol_name_to_display_name
3654
(c-name "empathy_protocol_name_to_display_name")
3655
(return-type "const-gchar*")
3657
'("const-gchar*" "proto_name")
3661
(define-function type_dbus_ao
3662
(c-name "empathy_type_dbus_ao")
3663
(return-type "GType")