~bcurtiswx/ubuntu/precise/empathy/3.4.2.1-0ubuntu1

« back to all changes in this revision

Viewing changes to python/pyempathy/pyempathy.defs

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2009-11-16 23:40:52 UTC
  • mfrom: (1.1.39 upstream)
  • mto: (6.3.7 experimental)
  • mto: This revision was merged to the branch mainline in revision 80.
  • Revision ID: james.westby@ubuntu.com-20091116234052-7hhwrpeln4mwdyw7
Tags: upstream-2.29.2
ImportĀ upstreamĀ versionĀ 2.29.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
;; -*- scheme -*-
2
 
; object definitions ...
3
 
(define-object Account
4
 
  (in-module "Empathy")
5
 
  (parent "GObject")
6
 
  (c-name "EmpathyAccount")
7
 
  (gtype-id "EMPATHY_TYPE_ACCOUNT")
8
 
)
9
 
 
10
 
(define-object AccountManager
11
 
  (in-module "Empathy")
12
 
  (parent "GObject")
13
 
  (c-name "EmpathyAccountManager")
14
 
  (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
15
 
)
16
 
 
17
 
(define-object AccountSettings
18
 
  (in-module "Empathy")
19
 
  (parent "GObject")
20
 
  (c-name "EmpathyAccountSettings")
21
 
  (gtype-id "EMPATHY_TYPE_ACCOUNT_SETTINGS")
22
 
)
23
 
 
24
 
(define-object CallFactory
25
 
  (in-module "Empathy")
26
 
  (parent "GObject")
27
 
  (c-name "EmpathyCallFactory")
28
 
  (gtype-id "EMPATHY_TYPE_CALL_FACTORY")
29
 
)
30
 
 
31
 
(define-object CallHandler
32
 
  (in-module "Empathy")
33
 
  (parent "GObject")
34
 
  (c-name "EmpathyCallHandler")
35
 
  (gtype-id "EMPATHY_TYPE_CALL_HANDLER")
36
 
)
37
 
 
38
 
(define-object Chatroom
39
 
  (in-module "Empathy")
40
 
  (parent "GObject")
41
 
  (c-name "EmpathyChatroom")
42
 
  (gtype-id "EMPATHY_TYPE_CHATROOM")
43
 
)
44
 
 
45
 
(define-object ChatroomManager
46
 
  (in-module "Empathy")
47
 
  (parent "GObject")
48
 
  (c-name "EmpathyChatroomManager")
49
 
  (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
50
 
)
51
 
 
52
 
(define-object ConnectionManagers
53
 
  (in-module "Empathy")
54
 
  (parent "GObject")
55
 
  (c-name "EmpathyConnectionManagers")
56
 
  (gtype-id "EMPATHY_TYPE_CONNECTION_MANAGERS")
57
 
)
58
 
 
59
 
(define-object Connectivity
60
 
  (in-module "Empathy")
61
 
  (parent "GObject")
62
 
  (c-name "EmpathyConnectivity")
63
 
  (gtype-id "EMPATHY_TYPE_CONNECTIVITY")
64
 
)
65
 
 
66
 
(define-object Contact
67
 
  (in-module "Empathy")
68
 
  (parent "GObject")
69
 
  (c-name "EmpathyContact")
70
 
  (gtype-id "EMPATHY_TYPE_CONTACT")
71
 
)
72
 
 
73
 
(define-interface ContactList
74
 
  (in-module "Empathy")
75
 
  (c-name "EmpathyContactList")
76
 
  (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
77
 
)
78
 
 
79
 
(define-object ContactManager
80
 
  (in-module "Empathy")
81
 
  (parent "GObject")
82
 
  (implements "EmpathyContactList")
83
 
  (c-name "EmpathyContactManager")
84
 
  (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
85
 
)
86
 
 
87
 
(define-object ContactMonitor
88
 
  (in-module "Empathy")
89
 
  (parent "GObject")
90
 
  (c-name "EmpathyContactMonitor")
91
 
  (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
92
 
)
93
 
 
94
 
(define-object Debugger
95
 
  (in-module "Empathy")
96
 
  (parent "GObject")
97
 
  (c-name "EmpathyDebugger")
98
 
  (gtype-id "EMPATHY_TYPE_DEBUGGER")
99
 
)
100
 
 
101
 
(define-object DispatchOperation
102
 
  (in-module "Empathy")
103
 
  (parent "GObject")
104
 
  (c-name "EmpathyDispatchOperation")
105
 
  (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
106
 
)
107
 
 
108
 
(define-object Dispatcher
109
 
  (in-module "Empathy")
110
 
  (parent "GObject")
111
 
  (c-name "EmpathyDispatcher")
112
 
  (gtype-id "EMPATHY_TYPE_DISPATCHER")
113
 
)
114
 
 
115
 
(define-object FTFactory
116
 
  (in-module "Empathy")
117
 
  (parent "GObject")
118
 
  (c-name "EmpathyFTFactory")
119
 
  (gtype-id "EMPATHY_TYPE_FT_FACTORY")
120
 
)
121
 
 
122
 
(define-object FTHandler
123
 
  (in-module "Empathy")
124
 
  (parent "GObject")
125
 
  (c-name "EmpathyFTHandler")
126
 
  (gtype-id "EMPATHY_TYPE_FT_HANDLER")
127
 
)
128
 
 
129
 
(define-object Idle
130
 
  (in-module "Empathy")
131
 
  (parent "GObject")
132
 
  (c-name "EmpathyIdle")
133
 
  (gtype-id "EMPATHY_TYPE_IDLE")
134
 
)
135
 
 
136
 
(define-object IrcNetwork
137
 
  (in-module "Empathy")
138
 
  (parent "GObject")
139
 
  (c-name "EmpathyIrcNetwork")
140
 
  (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
141
 
)
142
 
 
143
 
(define-object IrcNetworkManager
144
 
  (in-module "Empathy")
145
 
  (parent "GObject")
146
 
  (c-name "EmpathyIrcNetworkManager")
147
 
  (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
148
 
)
149
 
 
150
 
(define-object IrcServer
151
 
  (in-module "Empathy")
152
 
  (parent "GObject")
153
 
  (c-name "EmpathyIrcServer")
154
 
  (gtype-id "EMPATHY_TYPE_IRC_SERVER")
155
 
)
156
 
 
157
 
(define-object LogManager
158
 
  (in-module "Empathy")
159
 
  (parent "GObject")
160
 
  (c-name "EmpathyLogManager")
161
 
  (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
162
 
)
163
 
 
164
 
(define-object LogStoreEmpathy
165
 
  (in-module "Empathy")
166
 
  (parent "GObject")
167
 
  (c-name "EmpathyLogStoreEmpathy")
168
 
  (gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
169
 
)
170
 
 
171
 
(define-object Message
172
 
  (in-module "Empathy")
173
 
  (parent "GObject")
174
 
  (c-name "EmpathyMessage")
175
 
  (gtype-id "EMPATHY_TYPE_MESSAGE")
176
 
)
177
 
 
178
 
(define-object TpCall
179
 
  (in-module "Empathy")
180
 
  (parent "GObject")
181
 
  (c-name "EmpathyTpCall")
182
 
  (gtype-id "EMPATHY_TYPE_TP_CALL")
183
 
)
184
 
 
185
 
(define-object TpChat
186
 
  (in-module "Empathy")
187
 
  (parent "GObject")
188
 
  (c-name "EmpathyTpChat")
189
 
  (gtype-id "EMPATHY_TYPE_TP_CHAT")
190
 
)
191
 
 
192
 
(define-object TpContactFactory
193
 
  (in-module "Empathy")
194
 
  (parent "GObject")
195
 
  (c-name "EmpathyTpContactFactory")
196
 
  (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
197
 
)
198
 
 
199
 
(define-object TpContactList
200
 
  (in-module "Empathy")
201
 
  (parent "GObject")
202
 
  (implements "EmpathyContactList")
203
 
  (c-name "EmpathyTpContactList")
204
 
  (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
205
 
)
206
 
 
207
 
(define-object TpFile
208
 
  (in-module "Empathy")
209
 
  (parent "GObject")
210
 
  (c-name "EmpathyTpFile")
211
 
  (gtype-id "EMPATHY_TYPE_TP_FILE")
212
 
)
213
 
 
214
 
(define-object TpRoomlist
215
 
  (in-module "Empathy")
216
 
  (parent "GObject")
217
 
  (c-name "EmpathyTpRoomlist")
218
 
  (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
219
 
)
220
 
 
221
 
(define-object TubeHandler
222
 
  (in-module "Empathy")
223
 
  (parent "GObject")
224
 
  (c-name "EmpathyTubeHandler")
225
 
  (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
226
 
)
227
 
 
228
 
;; Enumerations and flags ...
229
 
 
230
 
(define-flags Capabilities
231
 
  (in-module "Empathy")
232
 
  (c-name "EmpathyCapabilities")
233
 
  (gtype-id "EMPATHY_TYPE_CAPABILITIES")
234
 
  (values
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")
241
 
  )
242
 
)
243
 
 
244
 
(define-flags ContactListFlags
245
 
  (in-module "Empathy")
246
 
  (c-name "EmpathyContactListFlags")
247
 
  (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FLAGS")
248
 
  (values
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")
253
 
  )
254
 
)
255
 
 
256
 
(define-flags DebugFlags
257
 
  (in-module "Empathy")
258
 
  (c-name "EmpathyDebugFlags")
259
 
  (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
260
 
  (values
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")
273
 
  )
274
 
)
275
 
 
276
 
(define-enum DispatchOperationState
277
 
  (in-module "Empathy")
278
 
  (c-name "EmpathyDispatchOperationState")
279
 
  (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
280
 
  (values
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")
287
 
  )
288
 
)
289
 
 
290
 
(define-enum TpCallStatus
291
 
  (in-module "Empathy")
292
 
  (c-name "EmpathyTpCallStatus")
293
 
  (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
294
 
  (values
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")
299
 
  )
300
 
)
301
 
 
302
 
(define-enum FTErrorEnum
303
 
  (in-module "Empathy")
304
 
  (c-name "EmpathyFTErrorEnum")
305
 
  (gtype-id "EMPATHY_TYPE_FT_ERROR_ENUM")
306
 
  (values
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")
314
 
  )
315
 
)
316
 
 
317
 
 
318
 
;; From empathy-account-settings.h
319
 
 
320
 
(define-function account_settings_get_type
321
 
  (c-name "empathy_account_settings_get_type")
322
 
  (return-type "GType")
323
 
)
324
 
 
325
 
(define-function account_settings_new
326
 
  (c-name "empathy_account_settings_new")
327
 
  (is-constructor-of "EmpathyAccountSettings")
328
 
  (return-type "EmpathyAccountSettings*")
329
 
  (parameters
330
 
    '("const-gchar*" "connection_manager")
331
 
    '("const-gchar*" "protocol")
332
 
    '("const-char*" "display_name")
333
 
  )
334
 
)
335
 
 
336
 
(define-method settings_new_for_account
337
 
  (of-object "EmpathyAccount")
338
 
  (c-name "empathy_account_settings_new_for_account")
339
 
  (return-type "EmpathyAccountSettings*")
340
 
)
341
 
 
342
 
(define-method is_ready
343
 
  (of-object "EmpathyAccountSettings")
344
 
  (c-name "empathy_account_settings_is_ready")
345
 
  (return-type "gboolean")
346
 
)
347
 
 
348
 
(define-method get_cm
349
 
  (of-object "EmpathyAccountSettings")
350
 
  (c-name "empathy_account_settings_get_cm")
351
 
  (return-type "const-gchar*")
352
 
)
353
 
 
354
 
(define-method get_protocol
355
 
  (of-object "EmpathyAccountSettings")
356
 
  (c-name "empathy_account_settings_get_protocol")
357
 
  (return-type "const-gchar*")
358
 
)
359
 
 
360
 
(define-method get_account
361
 
  (of-object "EmpathyAccountSettings")
362
 
  (c-name "empathy_account_settings_get_account")
363
 
  (return-type "EmpathyAccount*")
364
 
)
365
 
 
366
 
(define-method has_account
367
 
  (of-object "EmpathyAccountSettings")
368
 
  (c-name "empathy_account_settings_has_account")
369
 
  (return-type "gboolean")
370
 
  (parameters
371
 
    '("EmpathyAccount*" "account")
372
 
  )
373
 
)
374
 
 
375
 
(define-method get_tp_params
376
 
  (of-object "EmpathyAccountSettings")
377
 
  (c-name "empathy_account_settings_get_tp_params")
378
 
  (return-type "TpConnectionManagerParam*")
379
 
)
380
 
 
381
 
(define-method unset
382
 
  (of-object "EmpathyAccountSettings")
383
 
  (c-name "empathy_account_settings_unset")
384
 
  (return-type "none")
385
 
  (parameters
386
 
    '("const-gchar*" "param")
387
 
  )
388
 
)
389
 
 
390
 
(define-method discard_changes
391
 
  (of-object "EmpathyAccountSettings")
392
 
  (c-name "empathy_account_settings_discard_changes")
393
 
  (return-type "none")
394
 
)
395
 
 
396
 
(define-method get
397
 
  (of-object "EmpathyAccountSettings")
398
 
  (c-name "empathy_account_settings_get")
399
 
  (return-type "const-GValue*")
400
 
  (parameters
401
 
    '("const-gchar*" "param")
402
 
  )
403
 
)
404
 
 
405
 
(define-method get_dbus_signature
406
 
  (of-object "EmpathyAccountSettings")
407
 
  (c-name "empathy_account_settings_get_dbus_signature")
408
 
  (return-type "const-gchar*")
409
 
  (parameters
410
 
    '("const-gchar*" "param")
411
 
  )
412
 
)
413
 
 
414
 
(define-method get_default
415
 
  (of-object "EmpathyAccountSettings")
416
 
  (c-name "empathy_account_settings_get_default")
417
 
  (return-type "const-GValue*")
418
 
  (parameters
419
 
    '("const-gchar*" "param")
420
 
  )
421
 
)
422
 
 
423
 
(define-method get_string
424
 
  (of-object "EmpathyAccountSettings")
425
 
  (c-name "empathy_account_settings_get_string")
426
 
  (return-type "const-gchar*")
427
 
  (parameters
428
 
    '("const-gchar*" "param")
429
 
  )
430
 
)
431
 
 
432
 
(define-method get_int32
433
 
  (of-object "EmpathyAccountSettings")
434
 
  (c-name "empathy_account_settings_get_int32")
435
 
  (return-type "gint32")
436
 
  (parameters
437
 
    '("const-gchar*" "param")
438
 
  )
439
 
)
440
 
 
441
 
(define-method get_int64
442
 
  (of-object "EmpathyAccountSettings")
443
 
  (c-name "empathy_account_settings_get_int64")
444
 
  (return-type "gint64")
445
 
  (parameters
446
 
    '("const-gchar*" "param")
447
 
  )
448
 
)
449
 
 
450
 
(define-method get_uint32
451
 
  (of-object "EmpathyAccountSettings")
452
 
  (c-name "empathy_account_settings_get_uint32")
453
 
  (return-type "guint32")
454
 
  (parameters
455
 
    '("const-gchar*" "param")
456
 
  )
457
 
)
458
 
 
459
 
(define-method get_uint64
460
 
  (of-object "EmpathyAccountSettings")
461
 
  (c-name "empathy_account_settings_get_uint64")
462
 
  (return-type "guint64")
463
 
  (parameters
464
 
    '("const-gchar*" "param")
465
 
  )
466
 
)
467
 
 
468
 
(define-method get_boolean
469
 
  (of-object "EmpathyAccountSettings")
470
 
  (c-name "empathy_account_settings_get_boolean")
471
 
  (return-type "gboolean")
472
 
  (parameters
473
 
    '("const-gchar*" "param")
474
 
  )
475
 
)
476
 
 
477
 
(define-method set_string
478
 
  (of-object "EmpathyAccountSettings")
479
 
  (c-name "empathy_account_settings_set_string")
480
 
  (return-type "none")
481
 
  (parameters
482
 
    '("const-gchar*" "param")
483
 
    '("const-gchar*" "value")
484
 
  )
485
 
)
486
 
 
487
 
(define-method set_int32
488
 
  (of-object "EmpathyAccountSettings")
489
 
  (c-name "empathy_account_settings_set_int32")
490
 
  (return-type "none")
491
 
  (parameters
492
 
    '("const-gchar*" "param")
493
 
    '("gint32" "value")
494
 
  )
495
 
)
496
 
 
497
 
(define-method set_int64
498
 
  (of-object "EmpathyAccountSettings")
499
 
  (c-name "empathy_account_settings_set_int64")
500
 
  (return-type "none")
501
 
  (parameters
502
 
    '("const-gchar*" "param")
503
 
    '("gint64" "value")
504
 
  )
505
 
)
506
 
 
507
 
(define-method set_uint32
508
 
  (of-object "EmpathyAccountSettings")
509
 
  (c-name "empathy_account_settings_set_uint32")
510
 
  (return-type "none")
511
 
  (parameters
512
 
    '("const-gchar*" "param")
513
 
    '("guint32" "value")
514
 
  )
515
 
)
516
 
 
517
 
(define-method set_uint64
518
 
  (of-object "EmpathyAccountSettings")
519
 
  (c-name "empathy_account_settings_set_uint64")
520
 
  (return-type "none")
521
 
  (parameters
522
 
    '("const-gchar*" "param")
523
 
    '("guint64" "value")
524
 
  )
525
 
)
526
 
 
527
 
(define-method set_boolean
528
 
  (of-object "EmpathyAccountSettings")
529
 
  (c-name "empathy_account_settings_set_boolean")
530
 
  (return-type "none")
531
 
  (parameters
532
 
    '("const-gchar*" "param")
533
 
    '("gboolean" "value")
534
 
  )
535
 
)
536
 
 
537
 
(define-method get_icon_name
538
 
  (of-object "EmpathyAccountSettings")
539
 
  (c-name "empathy_account_settings_get_icon_name")
540
 
  (return-type "gchar*")
541
 
)
542
 
 
543
 
(define-method get_display_name
544
 
  (of-object "EmpathyAccountSettings")
545
 
  (c-name "empathy_account_settings_get_display_name")
546
 
  (return-type "const-gchar*")
547
 
)
548
 
 
549
 
(define-method set_display_name_async
550
 
  (of-object "EmpathyAccountSettings")
551
 
  (c-name "empathy_account_settings_set_display_name_async")
552
 
  (return-type "none")
553
 
  (parameters
554
 
    '("const-gchar*" "name")
555
 
    '("GAsyncReadyCallback" "callback")
556
 
    '("gpointer" "user_data")
557
 
  )
558
 
)
559
 
 
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")
564
 
  (parameters
565
 
    '("GAsyncResult*" "result")
566
 
    '("GError**" "error")
567
 
  )
568
 
)
569
 
 
570
 
(define-method apply_async
571
 
  (of-object "EmpathyAccountSettings")
572
 
  (c-name "empathy_account_settings_apply_async")
573
 
  (return-type "none")
574
 
  (parameters
575
 
    '("GAsyncReadyCallback" "callback")
576
 
    '("gpointer" "user_data")
577
 
  )
578
 
)
579
 
 
580
 
(define-method apply_finish
581
 
  (of-object "EmpathyAccountSettings")
582
 
  (c-name "empathy_account_settings_apply_finish")
583
 
  (return-type "gboolean")
584
 
  (parameters
585
 
    '("GAsyncResult*" "result")
586
 
    '("GError**" "error")
587
 
  )
588
 
)
589
 
 
590
 
(define-method is_valid
591
 
  (of-object "EmpathyAccountSettings")
592
 
  (c-name "empathy_account_settings_is_valid")
593
 
  (return-type "gboolean")
594
 
)
595
 
 
596
 
 
597
 
 
598
 
;; From empathy-account.h
599
 
 
600
 
(define-function account_get_type
601
 
  (c-name "empathy_account_get_type")
602
 
  (return-type "GType")
603
 
)
604
 
 
605
 
(define-method is_just_connected
606
 
  (of-object "EmpathyAccount")
607
 
  (c-name "empathy_account_is_just_connected")
608
 
  (return-type "gboolean")
609
 
)
610
 
 
611
 
(define-method get_connection
612
 
  (of-object "EmpathyAccount")
613
 
  (c-name "empathy_account_get_connection")
614
 
  (return-type "TpConnection*")
615
 
)
616
 
 
617
 
(define-method get_connection_for_path
618
 
  (of-object "EmpathyAccount")
619
 
  (c-name "empathy_account_get_connection_for_path")
620
 
  (return-type "TpConnection*")
621
 
  (parameters
622
 
    '("const-gchar*" "path")
623
 
  )
624
 
)
625
 
 
626
 
(define-method get_unique_name
627
 
  (of-object "EmpathyAccount")
628
 
  (c-name "empathy_account_get_unique_name")
629
 
  (return-type "const-gchar*")
630
 
)
631
 
 
632
 
(define-method get_display_name
633
 
  (of-object "EmpathyAccount")
634
 
  (c-name "empathy_account_get_display_name")
635
 
  (return-type "const-gchar*")
636
 
)
637
 
 
638
 
(define-method get_connection_manager
639
 
  (of-object "EmpathyAccount")
640
 
  (c-name "empathy_account_get_connection_manager")
641
 
  (return-type "const-gchar*")
642
 
)
643
 
 
644
 
(define-method get_protocol
645
 
  (of-object "EmpathyAccount")
646
 
  (c-name "empathy_account_get_protocol")
647
 
  (return-type "const-gchar*")
648
 
)
649
 
 
650
 
(define-method get_icon_name
651
 
  (of-object "EmpathyAccount")
652
 
  (c-name "empathy_account_get_icon_name")
653
 
  (return-type "const-gchar*")
654
 
)
655
 
 
656
 
(define-method set_enabled_async
657
 
  (of-object "EmpathyAccount")
658
 
  (c-name "empathy_account_set_enabled_async")
659
 
  (return-type "none")
660
 
  (parameters
661
 
    '("gboolean" "enabled")
662
 
    '("GAsyncReadyCallback" "callback")
663
 
    '("gpointer" "user_data")
664
 
  )
665
 
)
666
 
 
667
 
(define-method set_enabled_finish
668
 
  (of-object "EmpathyAccount")
669
 
  (c-name "empathy_account_set_enabled_finish")
670
 
  (return-type "gboolean")
671
 
  (parameters
672
 
    '("GAsyncResult*" "result")
673
 
    '("GError**" "error")
674
 
  )
675
 
)
676
 
 
677
 
(define-method is_enabled
678
 
  (of-object "EmpathyAccount")
679
 
  (c-name "empathy_account_is_enabled")
680
 
  (return-type "gboolean")
681
 
)
682
 
 
683
 
(define-method is_valid
684
 
  (of-object "EmpathyAccount")
685
 
  (c-name "empathy_account_is_valid")
686
 
  (return-type "gboolean")
687
 
)
688
 
 
689
 
(define-method is_ready
690
 
  (of-object "EmpathyAccount")
691
 
  (c-name "empathy_account_is_ready")
692
 
  (return-type "gboolean")
693
 
)
694
 
 
695
 
(define-method update_settings_async
696
 
  (of-object "EmpathyAccount")
697
 
  (c-name "empathy_account_update_settings_async")
698
 
  (return-type "none")
699
 
  (parameters
700
 
    '("GHashTable*" "parameters")
701
 
    '("const-gchar**" "unset_parameters")
702
 
    '("GAsyncReadyCallback" "callback")
703
 
    '("gpointer" "user_data")
704
 
  )
705
 
)
706
 
 
707
 
(define-method update_settings_finish
708
 
  (of-object "EmpathyAccount")
709
 
  (c-name "empathy_account_update_settings_finish")
710
 
  (return-type "gboolean")
711
 
  (parameters
712
 
    '("GAsyncResult*" "result")
713
 
    '("GError**" "error")
714
 
  )
715
 
)
716
 
 
717
 
(define-method remove_async
718
 
  (of-object "EmpathyAccount")
719
 
  (c-name "empathy_account_remove_async")
720
 
  (return-type "none")
721
 
  (parameters
722
 
    '("GAsyncReadyCallback" "callback")
723
 
    '("gpointer" "user_data")
724
 
  )
725
 
)
726
 
 
727
 
(define-method remove_finish
728
 
  (of-object "EmpathyAccount")
729
 
  (c-name "empathy_account_remove_finish")
730
 
  (return-type "gboolean")
731
 
  (parameters
732
 
    '("GAsyncResult*" "result")
733
 
    '("GError**" "error")
734
 
  )
735
 
)
736
 
 
737
 
(define-method set_display_name_async
738
 
  (of-object "EmpathyAccount")
739
 
  (c-name "empathy_account_set_display_name_async")
740
 
  (return-type "none")
741
 
  (parameters
742
 
    '("const-gchar*" "display_name")
743
 
    '("GAsyncReadyCallback" "callback")
744
 
    '("gpointer" "user_data")
745
 
  )
746
 
)
747
 
 
748
 
(define-method set_display_name_finish
749
 
  (of-object "EmpathyAccount")
750
 
  (c-name "empathy_account_set_display_name_finish")
751
 
  (return-type "gboolean")
752
 
  (parameters
753
 
    '("GAsyncResult*" "result")
754
 
    '("GError**" "error")
755
 
  )
756
 
)
757
 
 
758
 
(define-function account_new
759
 
  (c-name "empathy_account_new")
760
 
  (is-constructor-of "EmpathyAccount")
761
 
  (return-type "EmpathyAccount*")
762
 
  (parameters
763
 
    '("TpDBusDaemon*" "bus_daemon")
764
 
    '("const-gchar*" "unique_name")
765
 
  )
766
 
)
767
 
 
768
 
(define-method request_presence
769
 
  (of-object "EmpathyAccount")
770
 
  (c-name "empathy_account_request_presence")
771
 
  (return-type "none")
772
 
  (parameters
773
 
    '("TpConnectionPresenceType" "type")
774
 
    '("const-gchar*" "status")
775
 
    '("const-gchar*" "message")
776
 
  )
777
 
)
778
 
 
779
 
(define-method get_parameters
780
 
  (of-object "EmpathyAccount")
781
 
  (c-name "empathy_account_get_parameters")
782
 
  (return-type "const-GHashTable*")
783
 
)
784
 
 
785
 
(define-method refresh_properties
786
 
  (of-object "EmpathyAccount")
787
 
  (c-name "empathy_account_refresh_properties")
788
 
  (return-type "none")
789
 
)
790
 
 
791
 
 
792
 
 
793
 
;; From empathy-account-manager.h
794
 
 
795
 
(define-function account_manager_get_type
796
 
  (c-name "empathy_account_manager_get_type")
797
 
  (return-type "GType")
798
 
)
799
 
 
800
 
(define-function account_manager_dup_singleton
801
 
  (c-name "empathy_account_manager_dup_singleton")
802
 
  (return-type "EmpathyAccountManager*")
803
 
)
804
 
 
805
 
(define-method is_ready
806
 
  (of-object "EmpathyAccountManager")
807
 
  (c-name "empathy_account_manager_is_ready")
808
 
  (return-type "gboolean")
809
 
)
810
 
 
811
 
(define-method get_connected_accounts
812
 
  (of-object "EmpathyAccountManager")
813
 
  (c-name "empathy_account_manager_get_connected_accounts")
814
 
  (return-type "int")
815
 
)
816
 
 
817
 
(define-method get_connecting_accounts
818
 
  (of-object "EmpathyAccountManager")
819
 
  (c-name "empathy_account_manager_get_connecting_accounts")
820
 
  (return-type "int")
821
 
)
822
 
 
823
 
(define-method get_count
824
 
  (of-object "EmpathyAccountManager")
825
 
  (c-name "empathy_account_manager_get_count")
826
 
  (return-type "int")
827
 
)
828
 
 
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*")
833
 
  (parameters
834
 
    '("TpConnection*" "connection")
835
 
  )
836
 
)
837
 
 
838
 
(define-method ensure_account
839
 
  (of-object "EmpathyAccountManager")
840
 
  (c-name "empathy_account_manager_ensure_account")
841
 
  (return-type "EmpathyAccount*")
842
 
  (parameters
843
 
    '("const-gchar*" "unique_name")
844
 
  )
845
 
)
846
 
 
847
 
(define-method get_account
848
 
  (of-object "EmpathyAccountManager")
849
 
  (c-name "empathy_account_manager_get_account")
850
 
  (return-type "EmpathyAccount*")
851
 
  (parameters
852
 
    '("const-gchar*" "unique_name")
853
 
  )
854
 
)
855
 
 
856
 
(define-method dup_accounts
857
 
  (of-object "EmpathyAccountManager")
858
 
  (c-name "empathy_account_manager_dup_accounts")
859
 
  (return-type "GList*")
860
 
)
861
 
 
862
 
(define-method dup_connections
863
 
  (of-object "EmpathyAccountManager")
864
 
  (c-name "empathy_account_manager_dup_connections")
865
 
  (return-type "GList*")
866
 
)
867
 
 
868
 
(define-method remove
869
 
  (of-object "EmpathyAccountManager")
870
 
  (c-name "empathy_account_manager_remove")
871
 
  (return-type "none")
872
 
  (parameters
873
 
    '("EmpathyAccount*" "account")
874
 
  )
875
 
)
876
 
 
877
 
(define-method request_global_presence
878
 
  (of-object "EmpathyAccountManager")
879
 
  (c-name "empathy_account_manager_request_global_presence")
880
 
  (return-type "none")
881
 
  (parameters
882
 
    '("TpConnectionPresenceType" "type")
883
 
    '("const-gchar*" "status")
884
 
    '("const-gchar*" "message")
885
 
  )
886
 
)
887
 
 
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")
892
 
  (parameters
893
 
    '("gchar**" "status")
894
 
    '("gchar**" "message")
895
 
  )
896
 
)
897
 
 
898
 
(define-method get_global_presence
899
 
  (of-object "EmpathyAccountManager")
900
 
  (c-name "empathy_account_manager_get_global_presence")
901
 
  (return-type "TpConnectionPresenceType")
902
 
  (parameters
903
 
    '("gchar**" "status")
904
 
    '("gchar**" "message")
905
 
  )
906
 
)
907
 
 
908
 
(define-method create_account_async
909
 
  (of-object "EmpathyAccountManager")
910
 
  (c-name "empathy_account_manager_create_account_async")
911
 
  (return-type "none")
912
 
  (parameters
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")
920
 
  )
921
 
)
922
 
 
923
 
(define-method create_account_finish
924
 
  (of-object "EmpathyAccountManager")
925
 
  (c-name "empathy_account_manager_create_account_finish")
926
 
  (return-type "EmpathyAccount*")
927
 
  (parameters
928
 
    '("GAsyncResult*" "result")
929
 
    '("GError**" "error")
930
 
  )
931
 
)
932
 
 
933
 
 
934
 
 
935
 
;; From empathy-chatroom.h
936
 
 
937
 
(define-function chatroom_get_type
938
 
  (c-name "empathy_chatroom_get_type")
939
 
  (return-type "GType")
940
 
)
941
 
 
942
 
(define-function chatroom_new
943
 
  (c-name "empathy_chatroom_new")
944
 
  (is-constructor-of "EmpathyChatroom")
945
 
  (return-type "EmpathyChatroom*")
946
 
  (parameters
947
 
    '("EmpathyAccount*" "account")
948
 
  )
949
 
)
950
 
 
951
 
(define-function chatroom_new_full
952
 
  (c-name "empathy_chatroom_new_full")
953
 
  (return-type "EmpathyChatroom*")
954
 
  (parameters
955
 
    '("EmpathyAccount*" "account")
956
 
    '("const-gchar*" "room")
957
 
    '("const-gchar*" "name")
958
 
    '("gboolean" "auto_connect")
959
 
  )
960
 
)
961
 
 
962
 
(define-method get_account
963
 
  (of-object "EmpathyChatroom")
964
 
  (c-name "empathy_chatroom_get_account")
965
 
  (return-type "EmpathyAccount*")
966
 
)
967
 
 
968
 
(define-method set_account
969
 
  (of-object "EmpathyChatroom")
970
 
  (c-name "empathy_chatroom_set_account")
971
 
  (return-type "none")
972
 
  (parameters
973
 
    '("EmpathyAccount*" "account")
974
 
  )
975
 
)
976
 
 
977
 
(define-method get_room
978
 
  (of-object "EmpathyChatroom")
979
 
  (c-name "empathy_chatroom_get_room")
980
 
  (return-type "const-gchar*")
981
 
)
982
 
 
983
 
(define-method set_room
984
 
  (of-object "EmpathyChatroom")
985
 
  (c-name "empathy_chatroom_set_room")
986
 
  (return-type "none")
987
 
  (parameters
988
 
    '("const-gchar*" "room")
989
 
  )
990
 
)
991
 
 
992
 
(define-method get_name
993
 
  (of-object "EmpathyChatroom")
994
 
  (c-name "empathy_chatroom_get_name")
995
 
  (return-type "const-gchar*")
996
 
)
997
 
 
998
 
(define-method set_name
999
 
  (of-object "EmpathyChatroom")
1000
 
  (c-name "empathy_chatroom_set_name")
1001
 
  (return-type "none")
1002
 
  (parameters
1003
 
    '("const-gchar*" "name")
1004
 
  )
1005
 
)
1006
 
 
1007
 
(define-method get_auto_connect
1008
 
  (of-object "EmpathyChatroom")
1009
 
  (c-name "empathy_chatroom_get_auto_connect")
1010
 
  (return-type "gboolean")
1011
 
)
1012
 
 
1013
 
(define-method set_auto_connect
1014
 
  (of-object "EmpathyChatroom")
1015
 
  (c-name "empathy_chatroom_set_auto_connect")
1016
 
  (return-type "none")
1017
 
  (parameters
1018
 
    '("gboolean" "auto_connect")
1019
 
  )
1020
 
)
1021
 
 
1022
 
(define-method get_subject
1023
 
  (of-object "EmpathyChatroom")
1024
 
  (c-name "empathy_chatroom_get_subject")
1025
 
  (return-type "const-gchar*")
1026
 
)
1027
 
 
1028
 
(define-method set_subject
1029
 
  (of-object "EmpathyChatroom")
1030
 
  (c-name "empathy_chatroom_set_subject")
1031
 
  (return-type "none")
1032
 
  (parameters
1033
 
    '("const-gchar*" "subject")
1034
 
  )
1035
 
)
1036
 
 
1037
 
(define-method get_members_count
1038
 
  (of-object "EmpathyChatroom")
1039
 
  (c-name "empathy_chatroom_get_members_count")
1040
 
  (return-type "guint")
1041
 
)
1042
 
 
1043
 
(define-method set_members_count
1044
 
  (of-object "EmpathyChatroom")
1045
 
  (c-name "empathy_chatroom_set_members_count")
1046
 
  (return-type "none")
1047
 
  (parameters
1048
 
    '("guint" "count")
1049
 
  )
1050
 
)
1051
 
 
1052
 
(define-method get_need_password
1053
 
  (of-object "EmpathyChatroom")
1054
 
  (c-name "empathy_chatroom_get_need_password")
1055
 
  (return-type "gboolean")
1056
 
)
1057
 
 
1058
 
(define-method set_need_password
1059
 
  (of-object "EmpathyChatroom")
1060
 
  (c-name "empathy_chatroom_set_need_password")
1061
 
  (return-type "none")
1062
 
  (parameters
1063
 
    '("gboolean" "need_password")
1064
 
  )
1065
 
)
1066
 
 
1067
 
(define-method get_invite_only
1068
 
  (of-object "EmpathyChatroom")
1069
 
  (c-name "empathy_chatroom_get_invite_only")
1070
 
  (return-type "gboolean")
1071
 
)
1072
 
 
1073
 
(define-method set_invite_only
1074
 
  (of-object "EmpathyChatroom")
1075
 
  (c-name "empathy_chatroom_set_invite_only")
1076
 
  (return-type "none")
1077
 
  (parameters
1078
 
    '("gboolean" "invite_only")
1079
 
  )
1080
 
)
1081
 
 
1082
 
(define-function chatroom_equal
1083
 
  (c-name "empathy_chatroom_equal")
1084
 
  (return-type "gboolean")
1085
 
  (parameters
1086
 
    '("gconstpointer" "v1")
1087
 
    '("gconstpointer" "v2")
1088
 
  )
1089
 
)
1090
 
 
1091
 
(define-method get_tp_chat
1092
 
  (of-object "EmpathyChatroom")
1093
 
  (c-name "empathy_chatroom_get_tp_chat")
1094
 
  (return-type "EmpathyTpChat*")
1095
 
)
1096
 
 
1097
 
(define-method set_tp_chat
1098
 
  (of-object "EmpathyChatroom")
1099
 
  (c-name "empathy_chatroom_set_tp_chat")
1100
 
  (return-type "none")
1101
 
  (parameters
1102
 
    '("EmpathyTpChat*" "tp_chat")
1103
 
  )
1104
 
)
1105
 
 
1106
 
(define-method is_favorite
1107
 
  (of-object "EmpathyChatroom")
1108
 
  (c-name "empathy_chatroom_is_favorite")
1109
 
  (return-type "gboolean")
1110
 
)
1111
 
 
1112
 
(define-method set_favorite
1113
 
  (of-object "EmpathyChatroom")
1114
 
  (c-name "empathy_chatroom_set_favorite")
1115
 
  (return-type "none")
1116
 
  (parameters
1117
 
    '("gboolean" "favorite")
1118
 
  )
1119
 
)
1120
 
 
1121
 
 
1122
 
 
1123
 
;; From empathy-chatroom-manager.h
1124
 
 
1125
 
(define-function chatroom_manager_get_type
1126
 
  (c-name "empathy_chatroom_manager_get_type")
1127
 
  (return-type "GType")
1128
 
)
1129
 
 
1130
 
(define-function chatroom_manager_dup_singleton
1131
 
  (c-name "empathy_chatroom_manager_dup_singleton")
1132
 
  (return-type "EmpathyChatroomManager*")
1133
 
  (parameters
1134
 
    '("const-gchar*" "file")
1135
 
  )
1136
 
)
1137
 
 
1138
 
(define-method add
1139
 
  (of-object "EmpathyChatroomManager")
1140
 
  (c-name "empathy_chatroom_manager_add")
1141
 
  (return-type "gboolean")
1142
 
  (parameters
1143
 
    '("EmpathyChatroom*" "chatroom")
1144
 
  )
1145
 
)
1146
 
 
1147
 
(define-method remove
1148
 
  (of-object "EmpathyChatroomManager")
1149
 
  (c-name "empathy_chatroom_manager_remove")
1150
 
  (return-type "none")
1151
 
  (parameters
1152
 
    '("EmpathyChatroom*" "chatroom")
1153
 
  )
1154
 
)
1155
 
 
1156
 
(define-method find
1157
 
  (of-object "EmpathyChatroomManager")
1158
 
  (c-name "empathy_chatroom_manager_find")
1159
 
  (return-type "EmpathyChatroom*")
1160
 
  (parameters
1161
 
    '("EmpathyAccount*" "account")
1162
 
    '("const-gchar*" "room")
1163
 
  )
1164
 
)
1165
 
 
1166
 
(define-method get_chatrooms
1167
 
  (of-object "EmpathyChatroomManager")
1168
 
  (c-name "empathy_chatroom_manager_get_chatrooms")
1169
 
  (return-type "GList*")
1170
 
  (parameters
1171
 
    '("EmpathyAccount*" "account")
1172
 
  )
1173
 
)
1174
 
 
1175
 
(define-method get_count
1176
 
  (of-object "EmpathyChatroomManager")
1177
 
  (c-name "empathy_chatroom_manager_get_count")
1178
 
  (return-type "guint")
1179
 
  (parameters
1180
 
    '("EmpathyAccount*" "account")
1181
 
  )
1182
 
)
1183
 
 
1184
 
(define-method observe
1185
 
  (of-object "EmpathyChatroomManager")
1186
 
  (c-name "empathy_chatroom_manager_observe")
1187
 
  (return-type "none")
1188
 
  (parameters
1189
 
    '("EmpathyDispatcher*" "dispatcher")
1190
 
  )
1191
 
)
1192
 
 
1193
 
 
1194
 
 
1195
 
;; From empathy-call-factory.h
1196
 
 
1197
 
(define-function call_factory_get_type
1198
 
  (c-name "empathy_call_factory_get_type")
1199
 
  (return-type "GType")
1200
 
)
1201
 
 
1202
 
(define-function call_factory_initialise
1203
 
  (c-name "empathy_call_factory_initialise")
1204
 
  (return-type "EmpathyCallFactory*")
1205
 
)
1206
 
 
1207
 
(define-function call_factory_get
1208
 
  (c-name "empathy_call_factory_get")
1209
 
  (return-type "EmpathyCallFactory*")
1210
 
)
1211
 
 
1212
 
(define-method new_call
1213
 
  (of-object "EmpathyCallFactory")
1214
 
  (c-name "empathy_call_factory_new_call")
1215
 
  (return-type "none")
1216
 
  (parameters
1217
 
    '("EmpathyContact*" "contact")
1218
 
  )
1219
 
)
1220
 
 
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")
1225
 
  (parameters
1226
 
    '("EmpathyContact*" "contact")
1227
 
    '("gboolean" "initial_audio")
1228
 
    '("gboolean" "initial_video")
1229
 
  )
1230
 
)
1231
 
 
1232
 
(define-method claim_channel
1233
 
  (of-object "EmpathyCallFactory")
1234
 
  (c-name "empathy_call_factory_claim_channel")
1235
 
  (return-type "none")
1236
 
  (parameters
1237
 
    '("EmpathyDispatchOperation*" "operation")
1238
 
  )
1239
 
)
1240
 
 
1241
 
 
1242
 
 
1243
 
;; From empathy-call-handler.h
1244
 
 
1245
 
(define-function call_handler_get_type
1246
 
  (c-name "empathy_call_handler_get_type")
1247
 
  (return-type "GType")
1248
 
)
1249
 
 
1250
 
(define-function call_handler_new_for_contact
1251
 
  (c-name "empathy_call_handler_new_for_contact")
1252
 
  (return-type "EmpathyCallHandler*")
1253
 
  (parameters
1254
 
    '("EmpathyContact*" "contact")
1255
 
  )
1256
 
)
1257
 
 
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*")
1261
 
  (parameters
1262
 
    '("EmpathyContact*" "contact")
1263
 
    '("gboolean" "audio")
1264
 
    '("gboolean" "video")
1265
 
  )
1266
 
)
1267
 
 
1268
 
(define-function call_handler_new_for_channel
1269
 
  (c-name "empathy_call_handler_new_for_channel")
1270
 
  (return-type "EmpathyCallHandler*")
1271
 
  (parameters
1272
 
    '("EmpathyTpCall*" "call")
1273
 
  )
1274
 
)
1275
 
 
1276
 
(define-method start_call
1277
 
  (of-object "EmpathyCallHandler")
1278
 
  (c-name "empathy_call_handler_start_call")
1279
 
  (return-type "none")
1280
 
)
1281
 
 
1282
 
(define-method stop_call
1283
 
  (of-object "EmpathyCallHandler")
1284
 
  (c-name "empathy_call_handler_stop_call")
1285
 
  (return-type "none")
1286
 
)
1287
 
 
1288
 
(define-method has_initial_video
1289
 
  (of-object "EmpathyCallHandler")
1290
 
  (c-name "empathy_call_handler_has_initial_video")
1291
 
  (return-type "gboolean")
1292
 
)
1293
 
 
1294
 
(define-method bus_message
1295
 
  (of-object "EmpathyCallHandler")
1296
 
  (c-name "empathy_call_handler_bus_message")
1297
 
  (return-type "none")
1298
 
  (parameters
1299
 
    '("GstBus*" "bus")
1300
 
    '("GstMessage*" "message")
1301
 
  )
1302
 
)
1303
 
 
1304
 
 
1305
 
 
1306
 
;; From empathy-connectivity.h
1307
 
 
1308
 
(define-function connectivity_get_type
1309
 
  (c-name "empathy_connectivity_get_type")
1310
 
  (return-type "GType")
1311
 
)
1312
 
 
1313
 
(define-function connectivity_dup_singleton
1314
 
  (c-name "empathy_connectivity_dup_singleton")
1315
 
  (return-type "EmpathyConnectivity*")
1316
 
)
1317
 
 
1318
 
(define-method is_online
1319
 
  (of-object "EmpathyConnectivity")
1320
 
  (c-name "empathy_connectivity_is_online")
1321
 
  (return-type "gboolean")
1322
 
)
1323
 
 
1324
 
(define-method get_use_conn
1325
 
  (of-object "EmpathyConnectivity")
1326
 
  (c-name "empathy_connectivity_get_use_conn")
1327
 
  (return-type "gboolean")
1328
 
)
1329
 
 
1330
 
(define-method set_use_conn
1331
 
  (of-object "EmpathyConnectivity")
1332
 
  (c-name "empathy_connectivity_set_use_conn")
1333
 
  (return-type "none")
1334
 
  (parameters
1335
 
    '("gboolean" "use_conn")
1336
 
  )
1337
 
)
1338
 
 
1339
 
 
1340
 
 
1341
 
;; From empathy-contact.h
1342
 
 
1343
 
(define-function contact_get_type
1344
 
  (c-name "empathy_contact_get_type")
1345
 
  (return-type "GType")
1346
 
)
1347
 
 
1348
 
(define-function contact_new
1349
 
  (c-name "empathy_contact_new")
1350
 
  (is-constructor-of "EmpathyContact")
1351
 
  (return-type "EmpathyContact*")
1352
 
  (parameters
1353
 
    '("TpContact*" "tp_contact")
1354
 
  )
1355
 
)
1356
 
 
1357
 
(define-function contact_new_for_log
1358
 
  (c-name "empathy_contact_new_for_log")
1359
 
  (return-type "EmpathyContact*")
1360
 
  (parameters
1361
 
    '("EmpathyAccount*" "account")
1362
 
    '("const-gchar*" "id")
1363
 
    '("const-gchar*" "name")
1364
 
    '("gboolean" "is_user")
1365
 
  )
1366
 
)
1367
 
 
1368
 
(define-method get_tp_contact
1369
 
  (of-object "EmpathyContact")
1370
 
  (c-name "empathy_contact_get_tp_contact")
1371
 
  (return-type "TpContact*")
1372
 
)
1373
 
 
1374
 
(define-method get_id
1375
 
  (of-object "EmpathyContact")
1376
 
  (c-name "empathy_contact_get_id")
1377
 
  (return-type "const-gchar*")
1378
 
)
1379
 
 
1380
 
(define-method set_id
1381
 
  (of-object "EmpathyContact")
1382
 
  (c-name "empathy_contact_set_id")
1383
 
  (return-type "none")
1384
 
  (parameters
1385
 
    '("const-gchar*" "id")
1386
 
  )
1387
 
)
1388
 
 
1389
 
(define-method get_name
1390
 
  (of-object "EmpathyContact")
1391
 
  (c-name "empathy_contact_get_name")
1392
 
  (return-type "const-gchar*")
1393
 
)
1394
 
 
1395
 
(define-method set_name
1396
 
  (of-object "EmpathyContact")
1397
 
  (c-name "empathy_contact_set_name")
1398
 
  (return-type "none")
1399
 
  (parameters
1400
 
    '("const-gchar*" "name")
1401
 
  )
1402
 
)
1403
 
 
1404
 
(define-method get_avatar
1405
 
  (of-object "EmpathyContact")
1406
 
  (c-name "empathy_contact_get_avatar")
1407
 
  (return-type "EmpathyAvatar*")
1408
 
)
1409
 
 
1410
 
(define-method set_avatar
1411
 
  (of-object "EmpathyContact")
1412
 
  (c-name "empathy_contact_set_avatar")
1413
 
  (return-type "none")
1414
 
  (parameters
1415
 
    '("EmpathyAvatar*" "avatar")
1416
 
  )
1417
 
)
1418
 
 
1419
 
(define-method get_account
1420
 
  (of-object "EmpathyContact")
1421
 
  (c-name "empathy_contact_get_account")
1422
 
  (return-type "EmpathyAccount*")
1423
 
)
1424
 
 
1425
 
(define-method get_connection
1426
 
  (of-object "EmpathyContact")
1427
 
  (c-name "empathy_contact_get_connection")
1428
 
  (return-type "TpConnection*")
1429
 
)
1430
 
 
1431
 
(define-method get_presence
1432
 
  (of-object "EmpathyContact")
1433
 
  (c-name "empathy_contact_get_presence")
1434
 
  (return-type "TpConnectionPresenceType")
1435
 
)
1436
 
 
1437
 
(define-method set_presence
1438
 
  (of-object "EmpathyContact")
1439
 
  (c-name "empathy_contact_set_presence")
1440
 
  (return-type "none")
1441
 
  (parameters
1442
 
    '("TpConnectionPresenceType" "presence")
1443
 
  )
1444
 
)
1445
 
 
1446
 
(define-method get_presence_message
1447
 
  (of-object "EmpathyContact")
1448
 
  (c-name "empathy_contact_get_presence_message")
1449
 
  (return-type "const-gchar*")
1450
 
)
1451
 
 
1452
 
(define-method set_presence_message
1453
 
  (of-object "EmpathyContact")
1454
 
  (c-name "empathy_contact_set_presence_message")
1455
 
  (return-type "none")
1456
 
  (parameters
1457
 
    '("const-gchar*" "message")
1458
 
  )
1459
 
)
1460
 
 
1461
 
(define-method get_handle
1462
 
  (of-object "EmpathyContact")
1463
 
  (c-name "empathy_contact_get_handle")
1464
 
  (return-type "guint")
1465
 
)
1466
 
 
1467
 
(define-method set_handle
1468
 
  (of-object "EmpathyContact")
1469
 
  (c-name "empathy_contact_set_handle")
1470
 
  (return-type "none")
1471
 
  (parameters
1472
 
    '("guint" "handle")
1473
 
  )
1474
 
)
1475
 
 
1476
 
(define-method get_capabilities
1477
 
  (of-object "EmpathyContact")
1478
 
  (c-name "empathy_contact_get_capabilities")
1479
 
  (return-type "EmpathyCapabilities")
1480
 
)
1481
 
 
1482
 
(define-method set_capabilities
1483
 
  (of-object "EmpathyContact")
1484
 
  (c-name "empathy_contact_set_capabilities")
1485
 
  (return-type "none")
1486
 
  (parameters
1487
 
    '("EmpathyCapabilities" "capabilities")
1488
 
  )
1489
 
)
1490
 
 
1491
 
(define-method is_user
1492
 
  (of-object "EmpathyContact")
1493
 
  (c-name "empathy_contact_is_user")
1494
 
  (return-type "gboolean")
1495
 
)
1496
 
 
1497
 
(define-method set_is_user
1498
 
  (of-object "EmpathyContact")
1499
 
  (c-name "empathy_contact_set_is_user")
1500
 
  (return-type "none")
1501
 
  (parameters
1502
 
    '("gboolean" "is_user")
1503
 
  )
1504
 
)
1505
 
 
1506
 
(define-method is_online
1507
 
  (of-object "EmpathyContact")
1508
 
  (c-name "empathy_contact_is_online")
1509
 
  (return-type "gboolean")
1510
 
)
1511
 
 
1512
 
(define-method get_status
1513
 
  (of-object "EmpathyContact")
1514
 
  (c-name "empathy_contact_get_status")
1515
 
  (return-type "const-gchar*")
1516
 
)
1517
 
 
1518
 
(define-method can_voip
1519
 
  (of-object "EmpathyContact")
1520
 
  (c-name "empathy_contact_can_voip")
1521
 
  (return-type "gboolean")
1522
 
)
1523
 
 
1524
 
(define-method can_voip_audio
1525
 
  (of-object "EmpathyContact")
1526
 
  (c-name "empathy_contact_can_voip_audio")
1527
 
  (return-type "gboolean")
1528
 
)
1529
 
 
1530
 
(define-method can_voip_video
1531
 
  (of-object "EmpathyContact")
1532
 
  (c-name "empathy_contact_can_voip_video")
1533
 
  (return-type "gboolean")
1534
 
)
1535
 
 
1536
 
(define-method can_send_files
1537
 
  (of-object "EmpathyContact")
1538
 
  (c-name "empathy_contact_can_send_files")
1539
 
  (return-type "gboolean")
1540
 
)
1541
 
 
1542
 
(define-method can_use_stream_tube
1543
 
  (of-object "EmpathyContact")
1544
 
  (c-name "empathy_contact_can_use_stream_tube")
1545
 
  (return-type "gboolean")
1546
 
)
1547
 
 
1548
 
(define-function contact_hash
1549
 
  (c-name "empathy_contact_hash")
1550
 
  (return-type "guint")
1551
 
  (parameters
1552
 
    '("gconstpointer" "key")
1553
 
  )
1554
 
)
1555
 
 
1556
 
(define-method load_avatar_data
1557
 
  (of-object "EmpathyContact")
1558
 
  (c-name "empathy_contact_load_avatar_data")
1559
 
  (return-type "none")
1560
 
  (parameters
1561
 
    '("const-guchar*" "data")
1562
 
    '("const-gsize" "len")
1563
 
    '("const-gchar*" "format")
1564
 
    '("const-gchar*" "token")
1565
 
  )
1566
 
)
1567
 
 
1568
 
(define-method load_avatar_cache
1569
 
  (of-object "EmpathyContact")
1570
 
  (c-name "empathy_contact_load_avatar_cache")
1571
 
  (return-type "gboolean")
1572
 
  (parameters
1573
 
    '("const-gchar*" "token")
1574
 
  )
1575
 
)
1576
 
 
1577
 
(define-function avatar_get_type
1578
 
  (c-name "empathy_avatar_get_type")
1579
 
  (return-type "GType")
1580
 
)
1581
 
 
1582
 
(define-function avatar_new
1583
 
  (c-name "empathy_avatar_new")
1584
 
  (is-constructor-of "EmpathyAvatar")
1585
 
  (return-type "EmpathyAvatar*")
1586
 
  (parameters
1587
 
    '("guchar*" "data")
1588
 
    '("gsize" "len")
1589
 
    '("gchar*" "format")
1590
 
    '("gchar*" "token")
1591
 
    '("gchar*" "filename")
1592
 
  )
1593
 
)
1594
 
 
1595
 
(define-method ref
1596
 
  (of-object "EmpathyAvatar")
1597
 
  (c-name "empathy_avatar_ref")
1598
 
  (return-type "EmpathyAvatar*")
1599
 
)
1600
 
 
1601
 
(define-method unref
1602
 
  (of-object "EmpathyAvatar")
1603
 
  (c-name "empathy_avatar_unref")
1604
 
  (return-type "none")
1605
 
)
1606
 
 
1607
 
(define-method save_to_file
1608
 
  (of-object "EmpathyAvatar")
1609
 
  (c-name "empathy_avatar_save_to_file")
1610
 
  (return-type "gboolean")
1611
 
  (parameters
1612
 
    '("const-gchar*" "filename")
1613
 
    '("GError**" "error")
1614
 
  )
1615
 
)
1616
 
 
1617
 
(define-method get_location
1618
 
  (of-object "EmpathyContact")
1619
 
  (c-name "empathy_contact_get_location")
1620
 
  (return-type "GHashTable*")
1621
 
)
1622
 
 
1623
 
(define-method set_location
1624
 
  (of-object "EmpathyContact")
1625
 
  (c-name "empathy_contact_set_location")
1626
 
  (return-type "none")
1627
 
  (parameters
1628
 
    '("GHashTable*" "location")
1629
 
  )
1630
 
)
1631
 
 
1632
 
(define-function contact_equal
1633
 
  (c-name "empathy_contact_equal")
1634
 
  (return-type "gboolean")
1635
 
  (parameters
1636
 
    '("gconstpointer" "contact1")
1637
 
    '("gconstpointer" "contact2")
1638
 
  )
1639
 
)
1640
 
 
1641
 
 
1642
 
 
1643
 
;; From empathy-contact-groups.h
1644
 
 
1645
 
(define-function contact_groups_get_all
1646
 
  (c-name "empathy_contact_groups_get_all")
1647
 
  (return-type "none")
1648
 
)
1649
 
 
1650
 
(define-function contact_group_get_expanded
1651
 
  (c-name "empathy_contact_group_get_expanded")
1652
 
  (return-type "gboolean")
1653
 
  (parameters
1654
 
    '("const-gchar*" "group")
1655
 
  )
1656
 
)
1657
 
 
1658
 
(define-function contact_group_set_expanded
1659
 
  (c-name "empathy_contact_group_set_expanded")
1660
 
  (return-type "none")
1661
 
  (parameters
1662
 
    '("const-gchar*" "group")
1663
 
    '("gboolean" "expanded")
1664
 
  )
1665
 
)
1666
 
 
1667
 
 
1668
 
 
1669
 
;; From empathy-contact-list.h
1670
 
 
1671
 
(define-function contact_list_get_type
1672
 
  (c-name "empathy_contact_list_get_type")
1673
 
  (return-type "GType")
1674
 
)
1675
 
 
1676
 
(define-method add
1677
 
  (of-object "EmpathyContactList")
1678
 
  (c-name "empathy_contact_list_add")
1679
 
  (return-type "none")
1680
 
  (parameters
1681
 
    '("EmpathyContact*" "contact")
1682
 
    '("const-gchar*" "message")
1683
 
  )
1684
 
)
1685
 
 
1686
 
(define-method remove
1687
 
  (of-object "EmpathyContactList")
1688
 
  (c-name "empathy_contact_list_remove")
1689
 
  (return-type "none")
1690
 
  (parameters
1691
 
    '("EmpathyContact*" "contact")
1692
 
    '("const-gchar*" "message")
1693
 
  )
1694
 
)
1695
 
 
1696
 
(define-method get_members
1697
 
  (of-object "EmpathyContactList")
1698
 
  (c-name "empathy_contact_list_get_members")
1699
 
  (return-type "GList*")
1700
 
)
1701
 
 
1702
 
(define-method get_pendings
1703
 
  (of-object "EmpathyContactList")
1704
 
  (c-name "empathy_contact_list_get_pendings")
1705
 
  (return-type "GList*")
1706
 
)
1707
 
 
1708
 
(define-method get_all_groups
1709
 
  (of-object "EmpathyContactList")
1710
 
  (c-name "empathy_contact_list_get_all_groups")
1711
 
  (return-type "GList*")
1712
 
)
1713
 
 
1714
 
(define-method get_groups
1715
 
  (of-object "EmpathyContactList")
1716
 
  (c-name "empathy_contact_list_get_groups")
1717
 
  (return-type "GList*")
1718
 
  (parameters
1719
 
    '("EmpathyContact*" "contact")
1720
 
  )
1721
 
)
1722
 
 
1723
 
(define-method add_to_group
1724
 
  (of-object "EmpathyContactList")
1725
 
  (c-name "empathy_contact_list_add_to_group")
1726
 
  (return-type "none")
1727
 
  (parameters
1728
 
    '("EmpathyContact*" "contact")
1729
 
    '("const-gchar*" "group")
1730
 
  )
1731
 
)
1732
 
 
1733
 
(define-method remove_from_group
1734
 
  (of-object "EmpathyContactList")
1735
 
  (c-name "empathy_contact_list_remove_from_group")
1736
 
  (return-type "none")
1737
 
  (parameters
1738
 
    '("EmpathyContact*" "contact")
1739
 
    '("const-gchar*" "group")
1740
 
  )
1741
 
)
1742
 
 
1743
 
(define-method rename_group
1744
 
  (of-object "EmpathyContactList")
1745
 
  (c-name "empathy_contact_list_rename_group")
1746
 
  (return-type "none")
1747
 
  (parameters
1748
 
    '("const-gchar*" "old_group")
1749
 
    '("const-gchar*" "new_group")
1750
 
  )
1751
 
)
1752
 
 
1753
 
(define-method remove_group
1754
 
  (of-object "EmpathyContactList")
1755
 
  (c-name "empathy_contact_list_remove_group")
1756
 
  (return-type "none")
1757
 
  (parameters
1758
 
    '("const-gchar*" "group")
1759
 
  )
1760
 
)
1761
 
 
1762
 
(define-method get_monitor
1763
 
  (of-object "EmpathyContactList")
1764
 
  (c-name "empathy_contact_list_get_monitor")
1765
 
  (return-type "EmpathyContactMonitor*")
1766
 
)
1767
 
 
1768
 
(define-method get_flags
1769
 
  (of-object "EmpathyContactList")
1770
 
  (c-name "empathy_contact_list_get_flags")
1771
 
  (return-type "EmpathyContactListFlags")
1772
 
)
1773
 
 
1774
 
 
1775
 
 
1776
 
;; From empathy-contact-manager.h
1777
 
 
1778
 
(define-function contact_manager_get_type
1779
 
  (c-name "empathy_contact_manager_get_type")
1780
 
  (return-type "GType")
1781
 
)
1782
 
 
1783
 
(define-function contact_manager_initialized
1784
 
  (c-name "empathy_contact_manager_initialized")
1785
 
  (return-type "gboolean")
1786
 
)
1787
 
 
1788
 
(define-function contact_manager_dup_singleton
1789
 
  (c-name "empathy_contact_manager_dup_singleton")
1790
 
  (return-type "EmpathyContactManager*")
1791
 
)
1792
 
 
1793
 
(define-method get_list
1794
 
  (of-object "EmpathyContactManager")
1795
 
  (c-name "empathy_contact_manager_get_list")
1796
 
  (return-type "EmpathyTpContactList*")
1797
 
  (parameters
1798
 
    '("TpConnection*" "connection")
1799
 
  )
1800
 
)
1801
 
 
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")
1806
 
  (parameters
1807
 
    '("TpConnection*" "connection")
1808
 
  )
1809
 
)
1810
 
 
1811
 
 
1812
 
 
1813
 
;; From empathy-contact-monitor.h
1814
 
 
1815
 
(define-function contact_monitor_get_type
1816
 
  (c-name "empathy_contact_monitor_get_type")
1817
 
  (return-type "GType")
1818
 
)
1819
 
 
1820
 
(define-method set_iface
1821
 
  (of-object "EmpathyContactMonitor")
1822
 
  (c-name "empathy_contact_monitor_set_iface")
1823
 
  (return-type "none")
1824
 
  (parameters
1825
 
    '("EmpathyContactList*" "iface")
1826
 
  )
1827
 
)
1828
 
 
1829
 
(define-function contact_monitor_new_for_iface
1830
 
  (c-name "empathy_contact_monitor_new_for_iface")
1831
 
  (return-type "EmpathyContactMonitor*")
1832
 
  (parameters
1833
 
    '("EmpathyContactList*" "iface")
1834
 
  )
1835
 
)
1836
 
 
1837
 
 
1838
 
 
1839
 
;; From empathy-connection-managers.h
1840
 
 
1841
 
(define-function connection_managers_get_type
1842
 
  (c-name "empathy_connection_managers_get_type")
1843
 
  (return-type "GType")
1844
 
)
1845
 
 
1846
 
(define-function connection_managers_dup_singleton
1847
 
  (c-name "empathy_connection_managers_dup_singleton")
1848
 
  (return-type "EmpathyConnectionManagers*")
1849
 
)
1850
 
 
1851
 
(define-method is_ready
1852
 
  (of-object "EmpathyConnectionManagers")
1853
 
  (c-name "empathy_connection_managers_is_ready")
1854
 
  (return-type "gboolean")
1855
 
)
1856
 
 
1857
 
(define-method update
1858
 
  (of-object "EmpathyConnectionManagers")
1859
 
  (c-name "empathy_connection_managers_update")
1860
 
  (return-type "none")
1861
 
)
1862
 
 
1863
 
(define-method get_cms
1864
 
  (of-object "EmpathyConnectionManagers")
1865
 
  (c-name "empathy_connection_managers_get_cms")
1866
 
  (return-type "GList*")
1867
 
)
1868
 
 
1869
 
(define-method get_cms_num
1870
 
  (of-object "EmpathyConnectionManagers")
1871
 
  (c-name "empathy_connection_managers_get_cms_num")
1872
 
  (return-type "guint")
1873
 
)
1874
 
 
1875
 
(define-method get_cm
1876
 
  (of-object "EmpathyConnectionManagers")
1877
 
  (c-name "empathy_connection_managers_get_cm")
1878
 
  (return-type "TpConnectionManager*")
1879
 
  (parameters
1880
 
    '("const-gchar*" "cm")
1881
 
  )
1882
 
)
1883
 
 
1884
 
 
1885
 
 
1886
 
;; From empathy-debug.h
1887
 
 
1888
 
(define-function debug_flag_is_set
1889
 
  (c-name "empathy_debug_flag_is_set")
1890
 
  (return-type "gboolean")
1891
 
  (parameters
1892
 
    '("EmpathyDebugFlags" "flag")
1893
 
  )
1894
 
)
1895
 
 
1896
 
(define-function debug
1897
 
  (c-name "empathy_debug")
1898
 
  (return-type "none")
1899
 
  (parameters
1900
 
    '("EmpathyDebugFlags" "flag")
1901
 
    '("const-gchar*" "format")
1902
 
  )
1903
 
  (varargs #t)
1904
 
)
1905
 
 
1906
 
(define-function debug_free
1907
 
  (c-name "empathy_debug_free")
1908
 
  (return-type "none")
1909
 
)
1910
 
 
1911
 
(define-function debug_set_flags
1912
 
  (c-name "empathy_debug_set_flags")
1913
 
  (return-type "none")
1914
 
  (parameters
1915
 
    '("const-gchar*" "flags_string")
1916
 
  )
1917
 
)
1918
 
 
1919
 
 
1920
 
 
1921
 
;; From empathy-debugger.h
1922
 
 
1923
 
(define-function debugger_get_type
1924
 
  (c-name "empathy_debugger_get_type")
1925
 
  (return-type "GType")
1926
 
)
1927
 
 
1928
 
(define-function debugger_get_singleton
1929
 
  (c-name "empathy_debugger_get_singleton")
1930
 
  (return-type "EmpathyDebugger*")
1931
 
)
1932
 
 
1933
 
(define-method add_message
1934
 
  (of-object "EmpathyDebugger")
1935
 
  (c-name "empathy_debugger_add_message")
1936
 
  (return-type "none")
1937
 
  (parameters
1938
 
    '("GTimeVal*" "timestamp")
1939
 
    '("const-gchar*" "domain")
1940
 
    '("GLogLevelFlags" "level")
1941
 
    '("const-gchar*" "string")
1942
 
  )
1943
 
)
1944
 
 
1945
 
 
1946
 
 
1947
 
;; From empathy-dispatcher.h
1948
 
 
1949
 
(define-function dispatcher_get_type
1950
 
  (c-name "empathy_dispatcher_get_type")
1951
 
  (return-type "GType")
1952
 
)
1953
 
 
1954
 
(define-method create_channel
1955
 
  (of-object "EmpathyDispatcher")
1956
 
  (c-name "empathy_dispatcher_create_channel")
1957
 
  (return-type "none")
1958
 
  (parameters
1959
 
    '("TpConnection*" "connection")
1960
 
    '("GHashTable*" "request")
1961
 
    '("EmpathyDispatcherRequestCb*" "callback")
1962
 
    '("gpointer" "user_data")
1963
 
  )
1964
 
)
1965
 
 
1966
 
(define-function dispatcher_chat_with_contact_id
1967
 
  (c-name "empathy_dispatcher_chat_with_contact_id")
1968
 
  (return-type "none")
1969
 
  (parameters
1970
 
    '("TpConnection*" "connection")
1971
 
    '("const-gchar*" "contact_id")
1972
 
    '("EmpathyDispatcherRequestCb*" "callback")
1973
 
    '("gpointer" "user_data")
1974
 
  )
1975
 
)
1976
 
 
1977
 
(define-function dispatcher_chat_with_contact
1978
 
  (c-name "empathy_dispatcher_chat_with_contact")
1979
 
  (return-type "none")
1980
 
  (parameters
1981
 
    '("EmpathyContact*" "contact")
1982
 
    '("EmpathyDispatcherRequestCb*" "callback")
1983
 
    '("gpointer" "user_data")
1984
 
  )
1985
 
)
1986
 
 
1987
 
(define-function dispatcher_send_file_to_contact
1988
 
  (c-name "empathy_dispatcher_send_file_to_contact")
1989
 
  (return-type "none")
1990
 
  (parameters
1991
 
    '("EmpathyContact*" "contact")
1992
 
    '("const-gchar*" "filename")
1993
 
    '("guint64" "size")
1994
 
    '("guint64" "date")
1995
 
    '("const-gchar*" "content_type")
1996
 
    '("EmpathyDispatcherRequestCb*" "callback")
1997
 
    '("gpointer" "user_data")
1998
 
  )
1999
 
)
2000
 
 
2001
 
(define-function dispatcher_join_muc
2002
 
  (c-name "empathy_dispatcher_join_muc")
2003
 
  (return-type "none")
2004
 
  (parameters
2005
 
    '("TpConnection*" "connection")
2006
 
    '("const-gchar*" "roomname")
2007
 
    '("EmpathyDispatcherRequestCb*" "callback")
2008
 
    '("gpointer" "user_data")
2009
 
  )
2010
 
)
2011
 
 
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")
2016
 
  (parameters
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")
2023
 
  )
2024
 
  (varargs #t)
2025
 
)
2026
 
 
2027
 
(define-method find_requestable_channel_classes
2028
 
  (of-object "EmpathyDispatcher")
2029
 
  (c-name "empathy_dispatcher_find_requestable_channel_classes")
2030
 
  (return-type "GList*")
2031
 
  (parameters
2032
 
    '("TpConnection*" "connection")
2033
 
    '("const-gchar*" "channel_type")
2034
 
    '("guint" "handle_type")
2035
 
    '("const-char*" "first_property_name")
2036
 
  )
2037
 
  (varargs #t)
2038
 
)
2039
 
 
2040
 
(define-function dispatcher_dup_singleton
2041
 
  (c-name "empathy_dispatcher_dup_singleton")
2042
 
  (return-type "EmpathyDispatcher*")
2043
 
)
2044
 
 
2045
 
 
2046
 
 
2047
 
;; From empathy-dispatch-operation.h
2048
 
 
2049
 
(define-function dispatch_operation_get_type
2050
 
  (c-name "empathy_dispatch_operation_get_type")
2051
 
  (return-type "GType")
2052
 
)
2053
 
 
2054
 
(define-function dispatch_operation_new
2055
 
  (c-name "empathy_dispatch_operation_new")
2056
 
  (is-constructor-of "EmpathyDispatchOperation")
2057
 
  (return-type "EmpathyDispatchOperation*")
2058
 
  (parameters
2059
 
    '("TpConnection*" "connection")
2060
 
    '("TpChannel*" "channel")
2061
 
    '("EmpathyContact*" "contact")
2062
 
    '("gboolean" "incoming")
2063
 
  )
2064
 
)
2065
 
 
2066
 
(define-function dispatch_operation_new_with_wrapper
2067
 
  (c-name "empathy_dispatch_operation_new_with_wrapper")
2068
 
  (return-type "EmpathyDispatchOperation*")
2069
 
  (parameters
2070
 
    '("TpConnection*" "connection")
2071
 
    '("TpChannel*" "channel")
2072
 
    '("EmpathyContact*" "contact")
2073
 
    '("gboolean" "incoming")
2074
 
    '("GObject*" "channel_wrapper")
2075
 
  )
2076
 
)
2077
 
 
2078
 
(define-method start
2079
 
  (of-object "EmpathyDispatchOperation")
2080
 
  (c-name "empathy_dispatch_operation_start")
2081
 
  (return-type "none")
2082
 
)
2083
 
 
2084
 
(define-method approve
2085
 
  (of-object "EmpathyDispatchOperation")
2086
 
  (c-name "empathy_dispatch_operation_approve")
2087
 
  (return-type "none")
2088
 
)
2089
 
 
2090
 
(define-method claim
2091
 
  (of-object "EmpathyDispatchOperation")
2092
 
  (c-name "empathy_dispatch_operation_claim")
2093
 
  (return-type "gboolean")
2094
 
)
2095
 
 
2096
 
(define-method get_channel
2097
 
  (of-object "EmpathyDispatchOperation")
2098
 
  (c-name "empathy_dispatch_operation_get_channel")
2099
 
  (return-type "TpChannel*")
2100
 
)
2101
 
 
2102
 
(define-method get_channel_wrapper
2103
 
  (of-object "EmpathyDispatchOperation")
2104
 
  (c-name "empathy_dispatch_operation_get_channel_wrapper")
2105
 
  (return-type "GObject*")
2106
 
)
2107
 
 
2108
 
(define-method get_tp_connection
2109
 
  (of-object "EmpathyDispatchOperation")
2110
 
  (c-name "empathy_dispatch_operation_get_tp_connection")
2111
 
  (return-type "TpConnection*")
2112
 
)
2113
 
 
2114
 
(define-method get_channel_type
2115
 
  (of-object "EmpathyDispatchOperation")
2116
 
  (c-name "empathy_dispatch_operation_get_channel_type")
2117
 
  (return-type "const-gchar*")
2118
 
)
2119
 
 
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")
2124
 
)
2125
 
 
2126
 
(define-method get_object_path
2127
 
  (of-object "EmpathyDispatchOperation")
2128
 
  (c-name "empathy_dispatch_operation_get_object_path")
2129
 
  (return-type "const-gchar*")
2130
 
)
2131
 
 
2132
 
(define-method get_status
2133
 
  (of-object "EmpathyDispatchOperation")
2134
 
  (c-name "empathy_dispatch_operation_get_status")
2135
 
  (return-type "EmpathyDispatchOperationState")
2136
 
)
2137
 
 
2138
 
(define-method is_incoming
2139
 
  (of-object "EmpathyDispatchOperation")
2140
 
  (c-name "empathy_dispatch_operation_is_incoming")
2141
 
  (return-type "gboolean")
2142
 
)
2143
 
 
2144
 
 
2145
 
 
2146
 
;; From empathy-ft-factory.h
2147
 
 
2148
 
(define-function ft_factory_get_type
2149
 
  (c-name "empathy_ft_factory_get_type")
2150
 
  (return-type "GType")
2151
 
)
2152
 
 
2153
 
(define-function ft_factory_dup_singleton
2154
 
  (c-name "empathy_ft_factory_dup_singleton")
2155
 
  (return-type "EmpathyFTFactory*")
2156
 
)
2157
 
 
2158
 
(define-method new_transfer_outgoing
2159
 
  (of-object "EmpathyFTFactory")
2160
 
  (c-name "empathy_ft_factory_new_transfer_outgoing")
2161
 
  (return-type "none")
2162
 
  (parameters
2163
 
    '("EmpathyContact*" "contact")
2164
 
    '("GFile*" "source")
2165
 
  )
2166
 
)
2167
 
 
2168
 
(define-method claim_channel
2169
 
  (of-object "EmpathyFTFactory")
2170
 
  (c-name "empathy_ft_factory_claim_channel")
2171
 
  (return-type "none")
2172
 
  (parameters
2173
 
    '("EmpathyDispatchOperation*" "operation")
2174
 
  )
2175
 
)
2176
 
 
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")
2181
 
  (parameters
2182
 
    '("EmpathyFTHandler*" "handler")
2183
 
    '("GFile*" "destination")
2184
 
  )
2185
 
)
2186
 
 
2187
 
 
2188
 
 
2189
 
;; From empathy-ft-handler.h
2190
 
 
2191
 
(define-function ft_handler_get_type
2192
 
  (c-name "empathy_ft_handler_get_type")
2193
 
  (return-type "GType")
2194
 
)
2195
 
 
2196
 
(define-function ft_handler_new_outgoing
2197
 
  (c-name "empathy_ft_handler_new_outgoing")
2198
 
  (return-type "none")
2199
 
  (parameters
2200
 
    '("EmpathyContact*" "contact")
2201
 
    '("GFile*" "source")
2202
 
    '("EmpathyFTHandlerReadyCallback" "callback")
2203
 
    '("gpointer" "user_data")
2204
 
  )
2205
 
)
2206
 
 
2207
 
(define-function ft_handler_new_incoming
2208
 
  (c-name "empathy_ft_handler_new_incoming")
2209
 
  (return-type "none")
2210
 
  (parameters
2211
 
    '("EmpathyTpFile*" "tp_file")
2212
 
    '("EmpathyFTHandlerReadyCallback" "callback")
2213
 
    '("gpointer" "user_data")
2214
 
  )
2215
 
)
2216
 
 
2217
 
(define-method incoming_set_destination
2218
 
  (of-object "EmpathyFTHandler")
2219
 
  (c-name "empathy_ft_handler_incoming_set_destination")
2220
 
  (return-type "none")
2221
 
  (parameters
2222
 
    '("GFile*" "destination")
2223
 
  )
2224
 
)
2225
 
 
2226
 
(define-method start_transfer
2227
 
  (of-object "EmpathyFTHandler")
2228
 
  (c-name "empathy_ft_handler_start_transfer")
2229
 
  (return-type "none")
2230
 
)
2231
 
 
2232
 
(define-method cancel_transfer
2233
 
  (of-object "EmpathyFTHandler")
2234
 
  (c-name "empathy_ft_handler_cancel_transfer")
2235
 
  (return-type "none")
2236
 
)
2237
 
 
2238
 
(define-method get_filename
2239
 
  (of-object "EmpathyFTHandler")
2240
 
  (c-name "empathy_ft_handler_get_filename")
2241
 
  (return-type "const-char*")
2242
 
)
2243
 
 
2244
 
(define-method get_content_type
2245
 
  (of-object "EmpathyFTHandler")
2246
 
  (c-name "empathy_ft_handler_get_content_type")
2247
 
  (return-type "const-char*")
2248
 
)
2249
 
 
2250
 
(define-method get_contact
2251
 
  (of-object "EmpathyFTHandler")
2252
 
  (c-name "empathy_ft_handler_get_contact")
2253
 
  (return-type "EmpathyContact*")
2254
 
)
2255
 
 
2256
 
(define-method get_gfile
2257
 
  (of-object "EmpathyFTHandler")
2258
 
  (c-name "empathy_ft_handler_get_gfile")
2259
 
  (return-type "GFile*")
2260
 
)
2261
 
 
2262
 
(define-method get_use_hash
2263
 
  (of-object "EmpathyFTHandler")
2264
 
  (c-name "empathy_ft_handler_get_use_hash")
2265
 
  (return-type "gboolean")
2266
 
)
2267
 
 
2268
 
(define-method is_incoming
2269
 
  (of-object "EmpathyFTHandler")
2270
 
  (c-name "empathy_ft_handler_is_incoming")
2271
 
  (return-type "gboolean")
2272
 
)
2273
 
 
2274
 
(define-method get_transferred_bytes
2275
 
  (of-object "EmpathyFTHandler")
2276
 
  (c-name "empathy_ft_handler_get_transferred_bytes")
2277
 
  (return-type "guint64")
2278
 
)
2279
 
 
2280
 
(define-method get_total_bytes
2281
 
  (of-object "EmpathyFTHandler")
2282
 
  (c-name "empathy_ft_handler_get_total_bytes")
2283
 
  (return-type "guint64")
2284
 
)
2285
 
 
2286
 
(define-method is_completed
2287
 
  (of-object "EmpathyFTHandler")
2288
 
  (c-name "empathy_ft_handler_is_completed")
2289
 
  (return-type "gboolean")
2290
 
)
2291
 
 
2292
 
(define-method is_cancelled
2293
 
  (of-object "EmpathyFTHandler")
2294
 
  (c-name "empathy_ft_handler_is_cancelled")
2295
 
  (return-type "gboolean")
2296
 
)
2297
 
 
2298
 
 
2299
 
 
2300
 
;; From empathy-idle.h
2301
 
 
2302
 
(define-function idle_get_type
2303
 
  (c-name "empathy_idle_get_type")
2304
 
  (return-type "GType")
2305
 
)
2306
 
 
2307
 
(define-function idle_dup_singleton
2308
 
  (c-name "empathy_idle_dup_singleton")
2309
 
  (return-type "EmpathyIdle*")
2310
 
)
2311
 
 
2312
 
(define-method get_state
2313
 
  (of-object "EmpathyIdle")
2314
 
  (c-name "empathy_idle_get_state")
2315
 
  (return-type "TpConnectionPresenceType")
2316
 
)
2317
 
 
2318
 
(define-method set_state
2319
 
  (of-object "EmpathyIdle")
2320
 
  (c-name "empathy_idle_set_state")
2321
 
  (return-type "none")
2322
 
  (parameters
2323
 
    '("TpConnectionPresenceType" "state")
2324
 
  )
2325
 
)
2326
 
 
2327
 
(define-method get_status
2328
 
  (of-object "EmpathyIdle")
2329
 
  (c-name "empathy_idle_get_status")
2330
 
  (return-type "const-gchar*")
2331
 
)
2332
 
 
2333
 
(define-method set_status
2334
 
  (of-object "EmpathyIdle")
2335
 
  (c-name "empathy_idle_set_status")
2336
 
  (return-type "none")
2337
 
  (parameters
2338
 
    '("const-gchar*" "status")
2339
 
  )
2340
 
)
2341
 
 
2342
 
(define-method get_flash_state
2343
 
  (of-object "EmpathyIdle")
2344
 
  (c-name "empathy_idle_get_flash_state")
2345
 
  (return-type "TpConnectionPresenceType")
2346
 
)
2347
 
 
2348
 
(define-method set_flash_state
2349
 
  (of-object "EmpathyIdle")
2350
 
  (c-name "empathy_idle_set_flash_state")
2351
 
  (return-type "none")
2352
 
  (parameters
2353
 
    '("TpConnectionPresenceType" "state")
2354
 
  )
2355
 
)
2356
 
 
2357
 
(define-method set_presence
2358
 
  (of-object "EmpathyIdle")
2359
 
  (c-name "empathy_idle_set_presence")
2360
 
  (return-type "none")
2361
 
  (parameters
2362
 
    '("TpConnectionPresenceType" "state")
2363
 
    '("const-gchar*" "status")
2364
 
  )
2365
 
)
2366
 
 
2367
 
(define-method get_auto_away
2368
 
  (of-object "EmpathyIdle")
2369
 
  (c-name "empathy_idle_get_auto_away")
2370
 
  (return-type "gboolean")
2371
 
)
2372
 
 
2373
 
(define-method set_auto_away
2374
 
  (of-object "EmpathyIdle")
2375
 
  (c-name "empathy_idle_set_auto_away")
2376
 
  (return-type "none")
2377
 
  (parameters
2378
 
    '("gboolean" "auto_away")
2379
 
  )
2380
 
)
2381
 
 
2382
 
 
2383
 
 
2384
 
;; From empathy-irc-network.h
2385
 
 
2386
 
(define-function irc_network_get_type
2387
 
  (c-name "empathy_irc_network_get_type")
2388
 
  (return-type "GType")
2389
 
)
2390
 
 
2391
 
(define-function irc_network_new
2392
 
  (c-name "empathy_irc_network_new")
2393
 
  (is-constructor-of "EmpathyIrcNetwork")
2394
 
  (return-type "EmpathyIrcNetwork*")
2395
 
  (parameters
2396
 
    '("const-gchar*" "name")
2397
 
  )
2398
 
)
2399
 
 
2400
 
(define-method get_servers
2401
 
  (of-object "EmpathyIrcNetwork")
2402
 
  (c-name "empathy_irc_network_get_servers")
2403
 
  (return-type "GSList*")
2404
 
)
2405
 
 
2406
 
(define-method append_server
2407
 
  (of-object "EmpathyIrcNetwork")
2408
 
  (c-name "empathy_irc_network_append_server")
2409
 
  (return-type "none")
2410
 
  (parameters
2411
 
    '("EmpathyIrcServer*" "server")
2412
 
  )
2413
 
)
2414
 
 
2415
 
(define-method remove_server
2416
 
  (of-object "EmpathyIrcNetwork")
2417
 
  (c-name "empathy_irc_network_remove_server")
2418
 
  (return-type "none")
2419
 
  (parameters
2420
 
    '("EmpathyIrcServer*" "server")
2421
 
  )
2422
 
)
2423
 
 
2424
 
(define-method set_server_position
2425
 
  (of-object "EmpathyIrcNetwork")
2426
 
  (c-name "empathy_irc_network_set_server_position")
2427
 
  (return-type "none")
2428
 
  (parameters
2429
 
    '("EmpathyIrcServer*" "server")
2430
 
    '("gint" "pos")
2431
 
  )
2432
 
)
2433
 
 
2434
 
 
2435
 
 
2436
 
;; From empathy-irc-network-manager.h
2437
 
 
2438
 
(define-function irc_network_manager_get_type
2439
 
  (c-name "empathy_irc_network_manager_get_type")
2440
 
  (return-type "GType")
2441
 
)
2442
 
 
2443
 
(define-function irc_network_manager_new
2444
 
  (c-name "empathy_irc_network_manager_new")
2445
 
  (is-constructor-of "EmpathyIrcNetworkManager")
2446
 
  (return-type "EmpathyIrcNetworkManager*")
2447
 
  (parameters
2448
 
    '("const-gchar*" "global_file")
2449
 
    '("const-gchar*" "user_file")
2450
 
  )
2451
 
)
2452
 
 
2453
 
(define-method add
2454
 
  (of-object "EmpathyIrcNetworkManager")
2455
 
  (c-name "empathy_irc_network_manager_add")
2456
 
  (return-type "none")
2457
 
  (parameters
2458
 
    '("EmpathyIrcNetwork*" "network")
2459
 
  )
2460
 
)
2461
 
 
2462
 
(define-method remove
2463
 
  (of-object "EmpathyIrcNetworkManager")
2464
 
  (c-name "empathy_irc_network_manager_remove")
2465
 
  (return-type "none")
2466
 
  (parameters
2467
 
    '("EmpathyIrcNetwork*" "network")
2468
 
  )
2469
 
)
2470
 
 
2471
 
(define-method get_networks
2472
 
  (of-object "EmpathyIrcNetworkManager")
2473
 
  (c-name "empathy_irc_network_manager_get_networks")
2474
 
  (return-type "GSList*")
2475
 
)
2476
 
 
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*")
2481
 
  (parameters
2482
 
    '("const-gchar*" "address")
2483
 
  )
2484
 
)
2485
 
 
2486
 
 
2487
 
 
2488
 
;; From empathy-irc-server.h
2489
 
 
2490
 
(define-function irc_server_get_type
2491
 
  (c-name "empathy_irc_server_get_type")
2492
 
  (return-type "GType")
2493
 
)
2494
 
 
2495
 
(define-function irc_server_new
2496
 
  (c-name "empathy_irc_server_new")
2497
 
  (is-constructor-of "EmpathyIrcServer")
2498
 
  (return-type "EmpathyIrcServer*")
2499
 
  (parameters
2500
 
    '("const-gchar*" "address")
2501
 
    '("guint" "port")
2502
 
    '("gboolean" "ssl")
2503
 
  )
2504
 
)
2505
 
 
2506
 
 
2507
 
 
2508
 
;; From empathy-location.h
2509
 
 
2510
 
 
2511
 
 
2512
 
;; From empathy-log-manager.h
2513
 
 
2514
 
(define-function log_manager_get_type
2515
 
  (c-name "empathy_log_manager_get_type")
2516
 
  (return-type "GType")
2517
 
)
2518
 
 
2519
 
(define-function log_manager_dup_singleton
2520
 
  (c-name "empathy_log_manager_dup_singleton")
2521
 
  (return-type "EmpathyLogManager*")
2522
 
)
2523
 
 
2524
 
(define-method add_message
2525
 
  (of-object "EmpathyLogManager")
2526
 
  (c-name "empathy_log_manager_add_message")
2527
 
  (return-type "gboolean")
2528
 
  (parameters
2529
 
    '("const-gchar*" "chat_id")
2530
 
    '("gboolean" "chatroom")
2531
 
    '("EmpathyMessage*" "message")
2532
 
    '("GError**" "error")
2533
 
  )
2534
 
)
2535
 
 
2536
 
(define-method exists
2537
 
  (of-object "EmpathyLogManager")
2538
 
  (c-name "empathy_log_manager_exists")
2539
 
  (return-type "gboolean")
2540
 
  (parameters
2541
 
    '("EmpathyAccount*" "account")
2542
 
    '("const-gchar*" "chat_id")
2543
 
    '("gboolean" "chatroom")
2544
 
  )
2545
 
)
2546
 
 
2547
 
(define-method get_dates
2548
 
  (of-object "EmpathyLogManager")
2549
 
  (c-name "empathy_log_manager_get_dates")
2550
 
  (return-type "GList*")
2551
 
  (parameters
2552
 
    '("EmpathyAccount*" "account")
2553
 
    '("const-gchar*" "chat_id")
2554
 
    '("gboolean" "chatroom")
2555
 
  )
2556
 
)
2557
 
 
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*")
2562
 
  (parameters
2563
 
    '("EmpathyAccount*" "account")
2564
 
    '("const-gchar*" "chat_id")
2565
 
    '("gboolean" "chatroom")
2566
 
    '("const-gchar*" "date")
2567
 
  )
2568
 
)
2569
 
 
2570
 
(define-method get_filtered_messages
2571
 
  (of-object "EmpathyLogManager")
2572
 
  (c-name "empathy_log_manager_get_filtered_messages")
2573
 
  (return-type "GList*")
2574
 
  (parameters
2575
 
    '("EmpathyAccount*" "account")
2576
 
    '("const-gchar*" "chat_id")
2577
 
    '("gboolean" "chatroom")
2578
 
    '("guint" "num_messages")
2579
 
    '("EmpathyLogMessageFilter" "filter")
2580
 
    '("gpointer" "user_data")
2581
 
  )
2582
 
)
2583
 
 
2584
 
(define-method get_chats
2585
 
  (of-object "EmpathyLogManager")
2586
 
  (c-name "empathy_log_manager_get_chats")
2587
 
  (return-type "GList*")
2588
 
  (parameters
2589
 
    '("EmpathyAccount*" "account")
2590
 
  )
2591
 
)
2592
 
 
2593
 
(define-method search_new
2594
 
  (of-object "EmpathyLogManager")
2595
 
  (c-name "empathy_log_manager_search_new")
2596
 
  (return-type "GList*")
2597
 
  (parameters
2598
 
    '("const-gchar*" "text")
2599
 
  )
2600
 
)
2601
 
 
2602
 
(define-function log_manager_search_free
2603
 
  (c-name "empathy_log_manager_search_free")
2604
 
  (return-type "none")
2605
 
  (parameters
2606
 
    '("GList*" "hits")
2607
 
  )
2608
 
)
2609
 
 
2610
 
(define-function log_manager_get_date_readable
2611
 
  (c-name "empathy_log_manager_get_date_readable")
2612
 
  (return-type "gchar*")
2613
 
  (parameters
2614
 
    '("const-gchar*" "date")
2615
 
  )
2616
 
)
2617
 
 
2618
 
(define-function log_manager_search_hit_free
2619
 
  (c-name "empathy_log_manager_search_hit_free")
2620
 
  (return-type "none")
2621
 
  (parameters
2622
 
    '("EmpathyLogSearchHit*" "hit")
2623
 
  )
2624
 
)
2625
 
 
2626
 
(define-method observe
2627
 
  (of-object "EmpathyLogManager")
2628
 
  (c-name "empathy_log_manager_observe")
2629
 
  (return-type "none")
2630
 
  (parameters
2631
 
    '("EmpathyDispatcher*" "dispatcher")
2632
 
  )
2633
 
)
2634
 
 
2635
 
 
2636
 
 
2637
 
;; From empathy-log-store.h
2638
 
 
2639
 
(define-function log_store_get_type
2640
 
  (c-name "empathy_log_store_get_type")
2641
 
  (return-type "GType")
2642
 
)
2643
 
 
2644
 
(define-method get_name
2645
 
  (of-object "EmpathyLogStore")
2646
 
  (c-name "empathy_log_store_get_name")
2647
 
  (return-type "const-gchar*")
2648
 
)
2649
 
 
2650
 
(define-method exists
2651
 
  (of-object "EmpathyLogStore")
2652
 
  (c-name "empathy_log_store_exists")
2653
 
  (return-type "gboolean")
2654
 
  (parameters
2655
 
    '("EmpathyAccount*" "account")
2656
 
    '("const-gchar*" "chat_id")
2657
 
    '("gboolean" "chatroom")
2658
 
  )
2659
 
)
2660
 
 
2661
 
(define-method add_message
2662
 
  (of-object "EmpathyLogStore")
2663
 
  (c-name "empathy_log_store_add_message")
2664
 
  (return-type "gboolean")
2665
 
  (parameters
2666
 
    '("const-gchar*" "chat_id")
2667
 
    '("gboolean" "chatroom")
2668
 
    '("EmpathyMessage*" "message")
2669
 
    '("GError**" "error")
2670
 
  )
2671
 
)
2672
 
 
2673
 
(define-method get_dates
2674
 
  (of-object "EmpathyLogStore")
2675
 
  (c-name "empathy_log_store_get_dates")
2676
 
  (return-type "GList*")
2677
 
  (parameters
2678
 
    '("EmpathyAccount*" "account")
2679
 
    '("const-gchar*" "chat_id")
2680
 
    '("gboolean" "chatroom")
2681
 
  )
2682
 
)
2683
 
 
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*")
2688
 
  (parameters
2689
 
    '("EmpathyAccount*" "account")
2690
 
    '("const-gchar*" "chat_id")
2691
 
    '("gboolean" "chatroom")
2692
 
    '("const-gchar*" "date")
2693
 
  )
2694
 
)
2695
 
 
2696
 
(define-method get_last_messages
2697
 
  (of-object "EmpathyLogStore")
2698
 
  (c-name "empathy_log_store_get_last_messages")
2699
 
  (return-type "GList*")
2700
 
  (parameters
2701
 
    '("EmpathyAccount*" "account")
2702
 
    '("const-gchar*" "chat_id")
2703
 
    '("gboolean" "chatroom")
2704
 
  )
2705
 
)
2706
 
 
2707
 
(define-method get_chats
2708
 
  (of-object "EmpathyLogStore")
2709
 
  (c-name "empathy_log_store_get_chats")
2710
 
  (return-type "GList*")
2711
 
  (parameters
2712
 
    '("EmpathyAccount*" "account")
2713
 
  )
2714
 
)
2715
 
 
2716
 
(define-method search_new
2717
 
  (of-object "EmpathyLogStore")
2718
 
  (c-name "empathy_log_store_search_new")
2719
 
  (return-type "GList*")
2720
 
  (parameters
2721
 
    '("const-gchar*" "text")
2722
 
  )
2723
 
)
2724
 
 
2725
 
(define-method ack_message
2726
 
  (of-object "EmpathyLogStore")
2727
 
  (c-name "empathy_log_store_ack_message")
2728
 
  (return-type "none")
2729
 
  (parameters
2730
 
    '("const-gchar*" "chat_id")
2731
 
    '("gboolean" "chatroom")
2732
 
    '("EmpathyMessage*" "message")
2733
 
  )
2734
 
)
2735
 
 
2736
 
(define-method get_filtered_messages
2737
 
  (of-object "EmpathyLogStore")
2738
 
  (c-name "empathy_log_store_get_filtered_messages")
2739
 
  (return-type "GList*")
2740
 
  (parameters
2741
 
    '("EmpathyAccount*" "account")
2742
 
    '("const-gchar*" "chat_id")
2743
 
    '("gboolean" "chatroom")
2744
 
    '("guint" "num_messages")
2745
 
    '("EmpathyLogMessageFilter" "filter")
2746
 
    '("gpointer" "user_data")
2747
 
  )
2748
 
)
2749
 
 
2750
 
 
2751
 
 
2752
 
;; From empathy-log-store-empathy.h
2753
 
 
2754
 
(define-function log_store_empathy_get_type
2755
 
  (c-name "empathy_log_store_empathy_get_type")
2756
 
  (return-type "GType")
2757
 
)
2758
 
 
2759
 
 
2760
 
 
2761
 
;; From empathy-message.h
2762
 
 
2763
 
(define-function message_get_type
2764
 
  (c-name "empathy_message_get_type")
2765
 
  (return-type "GType")
2766
 
)
2767
 
 
2768
 
(define-function message_new
2769
 
  (c-name "empathy_message_new")
2770
 
  (is-constructor-of "EmpathyMessage")
2771
 
  (return-type "EmpathyMessage*")
2772
 
  (parameters
2773
 
    '("const-gchar*" "body")
2774
 
  )
2775
 
)
2776
 
 
2777
 
(define-method get_tptype
2778
 
  (of-object "EmpathyMessage")
2779
 
  (c-name "empathy_message_get_tptype")
2780
 
  (return-type "TpChannelTextMessageType")
2781
 
)
2782
 
 
2783
 
(define-method set_tptype
2784
 
  (of-object "EmpathyMessage")
2785
 
  (c-name "empathy_message_set_tptype")
2786
 
  (return-type "none")
2787
 
  (parameters
2788
 
    '("TpChannelTextMessageType" "type")
2789
 
  )
2790
 
)
2791
 
 
2792
 
(define-method get_sender
2793
 
  (of-object "EmpathyMessage")
2794
 
  (c-name "empathy_message_get_sender")
2795
 
  (return-type "EmpathyContact*")
2796
 
)
2797
 
 
2798
 
(define-method set_sender
2799
 
  (of-object "EmpathyMessage")
2800
 
  (c-name "empathy_message_set_sender")
2801
 
  (return-type "none")
2802
 
  (parameters
2803
 
    '("EmpathyContact*" "contact")
2804
 
  )
2805
 
)
2806
 
 
2807
 
(define-method get_receiver
2808
 
  (of-object "EmpathyMessage")
2809
 
  (c-name "empathy_message_get_receiver")
2810
 
  (return-type "EmpathyContact*")
2811
 
)
2812
 
 
2813
 
(define-method set_receiver
2814
 
  (of-object "EmpathyMessage")
2815
 
  (c-name "empathy_message_set_receiver")
2816
 
  (return-type "none")
2817
 
  (parameters
2818
 
    '("EmpathyContact*" "contact")
2819
 
  )
2820
 
)
2821
 
 
2822
 
(define-method get_body
2823
 
  (of-object "EmpathyMessage")
2824
 
  (c-name "empathy_message_get_body")
2825
 
  (return-type "const-gchar*")
2826
 
)
2827
 
 
2828
 
(define-method set_body
2829
 
  (of-object "EmpathyMessage")
2830
 
  (c-name "empathy_message_set_body")
2831
 
  (return-type "none")
2832
 
  (parameters
2833
 
    '("const-gchar*" "body")
2834
 
  )
2835
 
)
2836
 
 
2837
 
(define-method get_timestamp
2838
 
  (of-object "EmpathyMessage")
2839
 
  (c-name "empathy_message_get_timestamp")
2840
 
  (return-type "time_t")
2841
 
)
2842
 
 
2843
 
(define-method set_timestamp
2844
 
  (of-object "EmpathyMessage")
2845
 
  (c-name "empathy_message_set_timestamp")
2846
 
  (return-type "none")
2847
 
  (parameters
2848
 
    '("time_t" "timestamp")
2849
 
  )
2850
 
)
2851
 
 
2852
 
(define-method is_backlog
2853
 
  (of-object "EmpathyMessage")
2854
 
  (c-name "empathy_message_is_backlog")
2855
 
  (return-type "gboolean")
2856
 
)
2857
 
 
2858
 
(define-method set_is_backlog
2859
 
  (of-object "EmpathyMessage")
2860
 
  (c-name "empathy_message_set_is_backlog")
2861
 
  (return-type "none")
2862
 
  (parameters
2863
 
    '("gboolean" "is_backlog")
2864
 
  )
2865
 
)
2866
 
 
2867
 
(define-method should_highlight
2868
 
  (of-object "EmpathyMessage")
2869
 
  (c-name "empathy_message_should_highlight")
2870
 
  (return-type "gboolean")
2871
 
)
2872
 
 
2873
 
(define-function message_type_from_str
2874
 
  (c-name "empathy_message_type_from_str")
2875
 
  (return-type "TpChannelTextMessageType")
2876
 
  (parameters
2877
 
    '("const-gchar*" "type_str")
2878
 
  )
2879
 
)
2880
 
 
2881
 
(define-function message_type_to_str
2882
 
  (c-name "empathy_message_type_to_str")
2883
 
  (return-type "const-gchar*")
2884
 
  (parameters
2885
 
    '("TpChannelTextMessageType" "type")
2886
 
  )
2887
 
)
2888
 
 
2889
 
(define-method get_id
2890
 
  (of-object "EmpathyMessage")
2891
 
  (c-name "empathy_message_get_id")
2892
 
  (return-type "guint")
2893
 
)
2894
 
 
2895
 
(define-method set_id
2896
 
  (of-object "EmpathyMessage")
2897
 
  (c-name "empathy_message_set_id")
2898
 
  (return-type "none")
2899
 
  (parameters
2900
 
    '("guint" "id")
2901
 
  )
2902
 
)
2903
 
 
2904
 
(define-method equal
2905
 
  (of-object "EmpathyMessage")
2906
 
  (c-name "empathy_message_equal")
2907
 
  (return-type "gboolean")
2908
 
  (parameters
2909
 
    '("EmpathyMessage*" "message2")
2910
 
  )
2911
 
)
2912
 
 
2913
 
 
2914
 
 
2915
 
;; From empathy-status-presets.h
2916
 
 
2917
 
(define-function status_presets_get_all
2918
 
  (c-name "empathy_status_presets_get_all")
2919
 
  (return-type "none")
2920
 
)
2921
 
 
2922
 
(define-function status_presets_get
2923
 
  (c-name "empathy_status_presets_get")
2924
 
  (return-type "GList*")
2925
 
  (parameters
2926
 
    '("TpConnectionPresenceType" "state")
2927
 
    '("gint" "max_number")
2928
 
  )
2929
 
)
2930
 
 
2931
 
(define-function status_presets_set_last
2932
 
  (c-name "empathy_status_presets_set_last")
2933
 
  (return-type "none")
2934
 
  (parameters
2935
 
    '("TpConnectionPresenceType" "state")
2936
 
    '("const-gchar*" "status")
2937
 
  )
2938
 
)
2939
 
 
2940
 
(define-function status_presets_remove
2941
 
  (c-name "empathy_status_presets_remove")
2942
 
  (return-type "none")
2943
 
  (parameters
2944
 
    '("TpConnectionPresenceType" "state")
2945
 
    '("const-gchar*" "status")
2946
 
  )
2947
 
)
2948
 
 
2949
 
(define-function status_presets_reset
2950
 
  (c-name "empathy_status_presets_reset")
2951
 
  (return-type "none")
2952
 
)
2953
 
 
2954
 
(define-function status_presets_get_default_state
2955
 
  (c-name "empathy_status_presets_get_default_state")
2956
 
  (return-type "TpConnectionPresenceType")
2957
 
)
2958
 
 
2959
 
(define-function status_presets_get_default_status
2960
 
  (c-name "empathy_status_presets_get_default_status")
2961
 
  (return-type "const-gchar*")
2962
 
)
2963
 
 
2964
 
(define-function status_presets_set_default
2965
 
  (c-name "empathy_status_presets_set_default")
2966
 
  (return-type "none")
2967
 
  (parameters
2968
 
    '("TpConnectionPresenceType" "state")
2969
 
    '("const-gchar*" "status")
2970
 
  )
2971
 
)
2972
 
 
2973
 
(define-function status_presets_clear_default
2974
 
  (c-name "empathy_status_presets_clear_default")
2975
 
  (return-type "none")
2976
 
)
2977
 
 
2978
 
(define-function status_presets_is_valid
2979
 
  (c-name "empathy_status_presets_is_valid")
2980
 
  (return-type "gboolean")
2981
 
  (parameters
2982
 
    '("TpConnectionPresenceType" "state")
2983
 
  )
2984
 
)
2985
 
 
2986
 
 
2987
 
 
2988
 
;; From empathy-time.h
2989
 
 
2990
 
(define-function time_get_current
2991
 
  (c-name "empathy_time_get_current")
2992
 
  (return-type "time_t")
2993
 
)
2994
 
 
2995
 
(define-function time_get_local_time
2996
 
  (c-name "empathy_time_get_local_time")
2997
 
  (return-type "time_t")
2998
 
  (parameters
2999
 
    '("struct-tm*" "tm")
3000
 
  )
3001
 
)
3002
 
 
3003
 
(define-function time_parse
3004
 
  (c-name "empathy_time_parse")
3005
 
  (return-type "time_t")
3006
 
  (parameters
3007
 
    '("const-gchar*" "str")
3008
 
  )
3009
 
)
3010
 
 
3011
 
(define-function time_to_string_utc
3012
 
  (c-name "empathy_time_to_string_utc")
3013
 
  (return-type "gchar*")
3014
 
  (parameters
3015
 
    '("time_t" "t")
3016
 
    '("const-gchar*" "format")
3017
 
  )
3018
 
)
3019
 
 
3020
 
(define-function time_to_string_local
3021
 
  (c-name "empathy_time_to_string_local")
3022
 
  (return-type "gchar*")
3023
 
  (parameters
3024
 
    '("time_t" "t")
3025
 
    '("const-gchar*" "format")
3026
 
  )
3027
 
)
3028
 
 
3029
 
(define-function time_to_string_relative
3030
 
  (c-name "empathy_time_to_string_relative")
3031
 
  (return-type "gchar*")
3032
 
  (parameters
3033
 
    '("time_t" "t")
3034
 
  )
3035
 
)
3036
 
 
3037
 
 
3038
 
 
3039
 
;; From empathy-tp-call.h
3040
 
 
3041
 
(define-function tp_call_get_type
3042
 
  (c-name "empathy_tp_call_get_type")
3043
 
  (return-type "GType")
3044
 
)
3045
 
 
3046
 
(define-function tp_call_new
3047
 
  (c-name "empathy_tp_call_new")
3048
 
  (is-constructor-of "EmpathyTpCall")
3049
 
  (return-type "EmpathyTpCall*")
3050
 
  (parameters
3051
 
    '("TpChannel*" "channel")
3052
 
  )
3053
 
)
3054
 
 
3055
 
(define-method close
3056
 
  (of-object "EmpathyTpCall")
3057
 
  (c-name "empathy_tp_call_close")
3058
 
  (return-type "none")
3059
 
)
3060
 
 
3061
 
(define-method to
3062
 
  (of-object "EmpathyTpCall")
3063
 
  (c-name "empathy_tp_call_to")
3064
 
  (return-type "none")
3065
 
  (parameters
3066
 
    '("EmpathyContact*" "contact")
3067
 
    '("gboolean" "audio")
3068
 
    '("gboolean" "video")
3069
 
  )
3070
 
)
3071
 
 
3072
 
(define-method accept_incoming_call
3073
 
  (of-object "EmpathyTpCall")
3074
 
  (c-name "empathy_tp_call_accept_incoming_call")
3075
 
  (return-type "none")
3076
 
)
3077
 
 
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")
3082
 
  (parameters
3083
 
    '("gboolean" "is_sending")
3084
 
  )
3085
 
)
3086
 
 
3087
 
(define-method start_tone
3088
 
  (of-object "EmpathyTpCall")
3089
 
  (c-name "empathy_tp_call_start_tone")
3090
 
  (return-type "none")
3091
 
  (parameters
3092
 
    '("TpDTMFEvent" "event")
3093
 
  )
3094
 
)
3095
 
 
3096
 
(define-method stop_tone
3097
 
  (of-object "EmpathyTpCall")
3098
 
  (c-name "empathy_tp_call_stop_tone")
3099
 
  (return-type "none")
3100
 
)
3101
 
 
3102
 
(define-method has_dtmf
3103
 
  (of-object "EmpathyTpCall")
3104
 
  (c-name "empathy_tp_call_has_dtmf")
3105
 
  (return-type "gboolean")
3106
 
)
3107
 
 
3108
 
(define-method is_receiving_video
3109
 
  (of-object "EmpathyTpCall")
3110
 
  (c-name "empathy_tp_call_is_receiving_video")
3111
 
  (return-type "gboolean")
3112
 
)
3113
 
 
3114
 
(define-method is_sending_video
3115
 
  (of-object "EmpathyTpCall")
3116
 
  (c-name "empathy_tp_call_is_sending_video")
3117
 
  (return-type "gboolean")
3118
 
)
3119
 
 
3120
 
 
3121
 
 
3122
 
;; From empathy-tp-chat.h
3123
 
 
3124
 
(define-function tp_chat_get_type
3125
 
  (c-name "empathy_tp_chat_get_type")
3126
 
  (return-type "GType")
3127
 
)
3128
 
 
3129
 
(define-function tp_chat_new
3130
 
  (c-name "empathy_tp_chat_new")
3131
 
  (is-constructor-of "EmpathyTpChat")
3132
 
  (return-type "EmpathyTpChat*")
3133
 
  (parameters
3134
 
    '("TpChannel*" "channel")
3135
 
  )
3136
 
)
3137
 
 
3138
 
(define-method close
3139
 
  (of-object "EmpathyTpChat")
3140
 
  (c-name "empathy_tp_chat_close")
3141
 
  (return-type "none")
3142
 
)
3143
 
 
3144
 
(define-method get_id
3145
 
  (of-object "EmpathyTpChat")
3146
 
  (c-name "empathy_tp_chat_get_id")
3147
 
  (return-type "const-gchar*")
3148
 
)
3149
 
 
3150
 
(define-method get_remote_contact
3151
 
  (of-object "EmpathyTpChat")
3152
 
  (c-name "empathy_tp_chat_get_remote_contact")
3153
 
  (return-type "EmpathyContact*")
3154
 
)
3155
 
 
3156
 
(define-method get_channel
3157
 
  (of-object "EmpathyTpChat")
3158
 
  (c-name "empathy_tp_chat_get_channel")
3159
 
  (return-type "TpChannel*")
3160
 
)
3161
 
 
3162
 
(define-method get_connection
3163
 
  (of-object "EmpathyTpChat")
3164
 
  (c-name "empathy_tp_chat_get_connection")
3165
 
  (return-type "TpConnection*")
3166
 
)
3167
 
 
3168
 
(define-method is_ready
3169
 
  (of-object "EmpathyTpChat")
3170
 
  (c-name "empathy_tp_chat_is_ready")
3171
 
  (return-type "gboolean")
3172
 
)
3173
 
 
3174
 
(define-method send
3175
 
  (of-object "EmpathyTpChat")
3176
 
  (c-name "empathy_tp_chat_send")
3177
 
  (return-type "none")
3178
 
  (parameters
3179
 
    '("EmpathyMessage*" "message")
3180
 
  )
3181
 
)
3182
 
 
3183
 
(define-method set_state
3184
 
  (of-object "EmpathyTpChat")
3185
 
  (c-name "empathy_tp_chat_set_state")
3186
 
  (return-type "none")
3187
 
  (parameters
3188
 
    '("TpChannelChatState" "state")
3189
 
  )
3190
 
)
3191
 
 
3192
 
(define-method set_property
3193
 
  (of-object "EmpathyTpChat")
3194
 
  (c-name "empathy_tp_chat_set_property")
3195
 
  (return-type "none")
3196
 
  (parameters
3197
 
    '("const-gchar*" "name")
3198
 
    '("const-GValue*" "value")
3199
 
  )
3200
 
)
3201
 
 
3202
 
(define-method get_pending_messages
3203
 
  (of-object "EmpathyTpChat")
3204
 
  (c-name "empathy_tp_chat_get_pending_messages")
3205
 
  (return-type "const-GList*")
3206
 
)
3207
 
 
3208
 
(define-method acknowledge_message
3209
 
  (of-object "EmpathyTpChat")
3210
 
  (c-name "empathy_tp_chat_acknowledge_message")
3211
 
  (return-type "none")
3212
 
  (parameters
3213
 
    '("EmpathyMessage*" "message")
3214
 
  )
3215
 
)
3216
 
 
3217
 
(define-method acknowledge_messages
3218
 
  (of-object "EmpathyTpChat")
3219
 
  (c-name "empathy_tp_chat_acknowledge_messages")
3220
 
  (return-type "none")
3221
 
  (parameters
3222
 
    '("const-GList*" "messages")
3223
 
  )
3224
 
)
3225
 
 
3226
 
 
3227
 
 
3228
 
;; From empathy-tp-contact-factory.h
3229
 
 
3230
 
(define-function tp_contact_factory_get_type
3231
 
  (c-name "empathy_tp_contact_factory_get_type")
3232
 
  (return-type "GType")
3233
 
)
3234
 
 
3235
 
(define-function tp_contact_factory_dup_singleton
3236
 
  (c-name "empathy_tp_contact_factory_dup_singleton")
3237
 
  (return-type "EmpathyTpContactFactory*")
3238
 
  (parameters
3239
 
    '("TpConnection*" "connection")
3240
 
  )
3241
 
)
3242
 
 
3243
 
(define-method get_from_ids
3244
 
  (of-object "EmpathyTpContactFactory")
3245
 
  (c-name "empathy_tp_contact_factory_get_from_ids")
3246
 
  (return-type "none")
3247
 
  (parameters
3248
 
    '("guint" "n_ids")
3249
 
    '("const-gchar*-const*" "ids")
3250
 
    '("EmpathyTpContactFactoryContactsByIdCb" "callback")
3251
 
    '("gpointer" "user_data")
3252
 
    '("GDestroyNotify" "destroy")
3253
 
    '("GObject*" "weak_object")
3254
 
  )
3255
 
)
3256
 
 
3257
 
(define-method get_from_handles
3258
 
  (of-object "EmpathyTpContactFactory")
3259
 
  (c-name "empathy_tp_contact_factory_get_from_handles")
3260
 
  (return-type "none")
3261
 
  (parameters
3262
 
    '("guint" "n_handles")
3263
 
    '("const-TpHandle*" "handles")
3264
 
    '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
3265
 
    '("gpointer" "user_data")
3266
 
    '("GDestroyNotify" "destroy")
3267
 
    '("GObject*" "weak_object")
3268
 
  )
3269
 
)
3270
 
 
3271
 
(define-method get_from_id
3272
 
  (of-object "EmpathyTpContactFactory")
3273
 
  (c-name "empathy_tp_contact_factory_get_from_id")
3274
 
  (return-type "none")
3275
 
  (parameters
3276
 
    '("const-gchar*" "id")
3277
 
    '("EmpathyTpContactFactoryContactCb" "callback")
3278
 
    '("gpointer" "user_data")
3279
 
    '("GDestroyNotify" "destroy")
3280
 
    '("GObject*" "weak_object")
3281
 
  )
3282
 
)
3283
 
 
3284
 
(define-method get_from_handle
3285
 
  (of-object "EmpathyTpContactFactory")
3286
 
  (c-name "empathy_tp_contact_factory_get_from_handle")
3287
 
  (return-type "none")
3288
 
  (parameters
3289
 
    '("TpHandle" "handle")
3290
 
    '("EmpathyTpContactFactoryContactCb" "callback")
3291
 
    '("gpointer" "user_data")
3292
 
    '("GDestroyNotify" "destroy")
3293
 
    '("GObject*" "weak_object")
3294
 
  )
3295
 
)
3296
 
 
3297
 
(define-method set_alias
3298
 
  (of-object "EmpathyTpContactFactory")
3299
 
  (c-name "empathy_tp_contact_factory_set_alias")
3300
 
  (return-type "none")
3301
 
  (parameters
3302
 
    '("EmpathyContact*" "contact")
3303
 
    '("const-gchar*" "alias")
3304
 
  )
3305
 
)
3306
 
 
3307
 
(define-method set_avatar
3308
 
  (of-object "EmpathyTpContactFactory")
3309
 
  (c-name "empathy_tp_contact_factory_set_avatar")
3310
 
  (return-type "none")
3311
 
  (parameters
3312
 
    '("const-gchar*" "data")
3313
 
    '("gsize" "size")
3314
 
    '("const-gchar*" "mime_type")
3315
 
  )
3316
 
)
3317
 
 
3318
 
(define-method set_location
3319
 
  (of-object "EmpathyTpContactFactory")
3320
 
  (c-name "empathy_tp_contact_factory_set_location")
3321
 
  (return-type "none")
3322
 
  (parameters
3323
 
    '("GHashTable*" "location")
3324
 
  )
3325
 
)
3326
 
 
3327
 
 
3328
 
 
3329
 
;; From empathy-tp-contact-list.h
3330
 
 
3331
 
(define-function tp_contact_list_get_type
3332
 
  (c-name "empathy_tp_contact_list_get_type")
3333
 
  (return-type "GType")
3334
 
)
3335
 
 
3336
 
(define-function tp_contact_list_new
3337
 
  (c-name "empathy_tp_contact_list_new")
3338
 
  (is-constructor-of "EmpathyTpContactList")
3339
 
  (return-type "EmpathyTpContactList*")
3340
 
  (parameters
3341
 
    '("TpConnection*" "connection")
3342
 
  )
3343
 
)
3344
 
 
3345
 
(define-method get_connection
3346
 
  (of-object "EmpathyTpContactList")
3347
 
  (c-name "empathy_tp_contact_list_get_connection")
3348
 
  (return-type "TpConnection*")
3349
 
)
3350
 
 
3351
 
(define-method can_add
3352
 
  (of-object "EmpathyTpContactList")
3353
 
  (c-name "empathy_tp_contact_list_can_add")
3354
 
  (return-type "gboolean")
3355
 
)
3356
 
 
3357
 
(define-method remove_all
3358
 
  (of-object "EmpathyTpContactList")
3359
 
  (c-name "empathy_tp_contact_list_remove_all")
3360
 
  (return-type "none")
3361
 
)
3362
 
 
3363
 
 
3364
 
 
3365
 
;; From empathy-tp-file.h
3366
 
 
3367
 
(define-function tp_file_get_type
3368
 
  (c-name "empathy_tp_file_get_type")
3369
 
  (return-type "GType")
3370
 
)
3371
 
 
3372
 
(define-function tp_file_new
3373
 
  (c-name "empathy_tp_file_new")
3374
 
  (is-constructor-of "EmpathyTpFile")
3375
 
  (return-type "EmpathyTpFile*")
3376
 
  (parameters
3377
 
    '("TpChannel*" "channel")
3378
 
    '("gboolean" "incoming")
3379
 
  )
3380
 
)
3381
 
 
3382
 
(define-method accept
3383
 
  (of-object "EmpathyTpFile")
3384
 
  (c-name "empathy_tp_file_accept")
3385
 
  (return-type "none")
3386
 
  (parameters
3387
 
    '("guint64" "offset")
3388
 
    '("GFile*" "gfile")
3389
 
    '("GCancellable*" "cancellable")
3390
 
    '("EmpathyTpFileProgressCallback" "progress_callback")
3391
 
    '("gpointer" "progress_user_data")
3392
 
    '("EmpathyTpFileOperationCallback" "op_callback")
3393
 
    '("gpointer" "op_user_data")
3394
 
  )
3395
 
)
3396
 
 
3397
 
(define-method offer
3398
 
  (of-object "EmpathyTpFile")
3399
 
  (c-name "empathy_tp_file_offer")
3400
 
  (return-type "none")
3401
 
  (parameters
3402
 
    '("GFile*" "gfile")
3403
 
    '("GCancellable*" "cancellable")
3404
 
    '("EmpathyTpFileProgressCallback" "progress_callback")
3405
 
    '("gpointer" "progress_user_data")
3406
 
    '("EmpathyTpFileOperationCallback" "op_callback")
3407
 
    '("gpointer" "op_user_data")
3408
 
  )
3409
 
)
3410
 
 
3411
 
(define-method cancel
3412
 
  (of-object "EmpathyTpFile")
3413
 
  (c-name "empathy_tp_file_cancel")
3414
 
  (return-type "none")
3415
 
)
3416
 
 
3417
 
(define-method close
3418
 
  (of-object "EmpathyTpFile")
3419
 
  (c-name "empathy_tp_file_close")
3420
 
  (return-type "none")
3421
 
)
3422
 
 
3423
 
(define-method is_incoming
3424
 
  (of-object "EmpathyTpFile")
3425
 
  (c-name "empathy_tp_file_is_incoming")
3426
 
  (return-type "gboolean")
3427
 
)
3428
 
 
3429
 
 
3430
 
 
3431
 
;; From empathy-tp-roomlist.h
3432
 
 
3433
 
(define-function tp_roomlist_get_type
3434
 
  (c-name "empathy_tp_roomlist_get_type")
3435
 
  (return-type "GType")
3436
 
)
3437
 
 
3438
 
(define-function tp_roomlist_new
3439
 
  (c-name "empathy_tp_roomlist_new")
3440
 
  (is-constructor-of "EmpathyTpRoomlist")
3441
 
  (return-type "EmpathyTpRoomlist*")
3442
 
  (parameters
3443
 
    '("EmpathyAccount*" "account")
3444
 
  )
3445
 
)
3446
 
 
3447
 
(define-method is_listing
3448
 
  (of-object "EmpathyTpRoomlist")
3449
 
  (c-name "empathy_tp_roomlist_is_listing")
3450
 
  (return-type "gboolean")
3451
 
)
3452
 
 
3453
 
(define-method start
3454
 
  (of-object "EmpathyTpRoomlist")
3455
 
  (c-name "empathy_tp_roomlist_start")
3456
 
  (return-type "none")
3457
 
)
3458
 
 
3459
 
(define-method stop
3460
 
  (of-object "EmpathyTpRoomlist")
3461
 
  (c-name "empathy_tp_roomlist_stop")
3462
 
  (return-type "none")
3463
 
)
3464
 
 
3465
 
 
3466
 
 
3467
 
;; From empathy-tube-handler.h
3468
 
 
3469
 
(define-function tube_handler_get_type
3470
 
  (c-name "empathy_tube_handler_get_type")
3471
 
  (return-type "GType")
3472
 
)
3473
 
 
3474
 
(define-function tube_handler_new
3475
 
  (c-name "empathy_tube_handler_new")
3476
 
  (is-constructor-of "EmpathyTubeHandler")
3477
 
  (return-type "EmpathyTubeHandler*")
3478
 
  (parameters
3479
 
    '("TpTubeType" "type")
3480
 
    '("const-gchar*" "service")
3481
 
  )
3482
 
)
3483
 
 
3484
 
(define-function tube_handler_build_bus_name
3485
 
  (c-name "empathy_tube_handler_build_bus_name")
3486
 
  (return-type "gchar*")
3487
 
  (parameters
3488
 
    '("TpTubeType" "type")
3489
 
    '("const-gchar*" "service")
3490
 
  )
3491
 
)
3492
 
 
3493
 
(define-function tube_handler_build_object_path
3494
 
  (c-name "empathy_tube_handler_build_object_path")
3495
 
  (return-type "gchar*")
3496
 
  (parameters
3497
 
    '("TpTubeType" "type")
3498
 
    '("const-gchar*" "service")
3499
 
  )
3500
 
)
3501
 
 
3502
 
 
3503
 
 
3504
 
;; From empathy-types.h
3505
 
 
3506
 
 
3507
 
 
3508
 
;; From empathy-utils.h
3509
 
 
3510
 
(define-function init
3511
 
  (c-name "empathy_init")
3512
 
  (return-type "none")
3513
 
)
3514
 
 
3515
 
(define-function substring
3516
 
  (c-name "empathy_substring")
3517
 
  (return-type "gchar*")
3518
 
  (parameters
3519
 
    '("const-gchar*" "str")
3520
 
    '("gint" "start")
3521
 
    '("gint" "end")
3522
 
  )
3523
 
)
3524
 
 
3525
 
(define-function strcasecmp
3526
 
  (c-name "empathy_strcasecmp")
3527
 
  (return-type "gint")
3528
 
  (parameters
3529
 
    '("const-gchar*" "s1")
3530
 
    '("const-gchar*" "s2")
3531
 
  )
3532
 
)
3533
 
 
3534
 
(define-function strncasecmp
3535
 
  (c-name "empathy_strncasecmp")
3536
 
  (return-type "gint")
3537
 
  (parameters
3538
 
    '("const-gchar*" "s1")
3539
 
    '("const-gchar*" "s2")
3540
 
    '("gsize" "n")
3541
 
  )
3542
 
)
3543
 
 
3544
 
(define-function xml_validate
3545
 
  (c-name "empathy_xml_validate")
3546
 
  (return-type "gboolean")
3547
 
  (parameters
3548
 
    '("xmlDoc*" "doc")
3549
 
    '("const-gchar*" "dtd_filename")
3550
 
  )
3551
 
)
3552
 
 
3553
 
(define-function xml_node_get_child
3554
 
  (c-name "empathy_xml_node_get_child")
3555
 
  (return-type "xmlNodePtr")
3556
 
  (parameters
3557
 
    '("xmlNodePtr" "node")
3558
 
    '("const-gchar*" "child_name")
3559
 
  )
3560
 
)
3561
 
 
3562
 
(define-function xml_node_get_child_content
3563
 
  (c-name "empathy_xml_node_get_child_content")
3564
 
  (return-type "xmlChar*")
3565
 
  (parameters
3566
 
    '("xmlNodePtr" "node")
3567
 
    '("const-gchar*" "child_name")
3568
 
  )
3569
 
)
3570
 
 
3571
 
(define-function xml_node_find_child_prop_value
3572
 
  (c-name "empathy_xml_node_find_child_prop_value")
3573
 
  (return-type "xmlNodePtr")
3574
 
  (parameters
3575
 
    '("xmlNodePtr" "node")
3576
 
    '("const-gchar*" "prop_name")
3577
 
    '("const-gchar*" "prop_value")
3578
 
  )
3579
 
)
3580
 
 
3581
 
(define-function presence_get_default_message
3582
 
  (c-name "empathy_presence_get_default_message")
3583
 
  (return-type "const-gchar*")
3584
 
  (parameters
3585
 
    '("TpConnectionPresenceType" "presence")
3586
 
  )
3587
 
)
3588
 
 
3589
 
(define-function presence_to_str
3590
 
  (c-name "empathy_presence_to_str")
3591
 
  (return-type "const-gchar*")
3592
 
  (parameters
3593
 
    '("TpConnectionPresenceType" "presence")
3594
 
  )
3595
 
)
3596
 
 
3597
 
(define-function presence_from_str
3598
 
  (c-name "empathy_presence_from_str")
3599
 
  (return-type "TpConnectionPresenceType")
3600
 
  (parameters
3601
 
    '("const-gchar*" "str")
3602
 
  )
3603
 
)
3604
 
 
3605
 
(define-function file_lookup
3606
 
  (c-name "empathy_file_lookup")
3607
 
  (return-type "gchar*")
3608
 
  (parameters
3609
 
    '("const-gchar*" "filename")
3610
 
    '("const-gchar*" "subdir")
3611
 
  )
3612
 
)
3613
 
 
3614
 
(define-function proxy_equal
3615
 
  (c-name "empathy_proxy_equal")
3616
 
  (return-type "gboolean")
3617
 
  (parameters
3618
 
    '("gconstpointer" "a")
3619
 
    '("gconstpointer" "b")
3620
 
  )
3621
 
)
3622
 
 
3623
 
(define-function proxy_hash
3624
 
  (c-name "empathy_proxy_hash")
3625
 
  (return-type "guint")
3626
 
  (parameters
3627
 
    '("gconstpointer" "key")
3628
 
  )
3629
 
)
3630
 
 
3631
 
(define-function check_available_state
3632
 
  (c-name "empathy_check_available_state")
3633
 
  (return-type "gboolean")
3634
 
)
3635
 
 
3636
 
(define-function uint_compare
3637
 
  (c-name "empathy_uint_compare")
3638
 
  (return-type "gint")
3639
 
  (parameters
3640
 
    '("gconstpointer" "a")
3641
 
    '("gconstpointer" "b")
3642
 
  )
3643
 
)
3644
 
 
3645
 
(define-function protocol_icon_name
3646
 
  (c-name "empathy_protocol_icon_name")
3647
 
  (return-type "gchar*")
3648
 
  (parameters
3649
 
    '("const-gchar*" "protocol")
3650
 
  )
3651
 
)
3652
 
 
3653
 
(define-function protocol_name_to_display_name
3654
 
  (c-name "empathy_protocol_name_to_display_name")
3655
 
  (return-type "const-gchar*")
3656
 
  (parameters
3657
 
    '("const-gchar*" "proto_name")
3658
 
  )
3659
 
)
3660
 
 
3661
 
(define-function type_dbus_ao
3662
 
  (c-name "empathy_type_dbus_ao")
3663
 
  (return-type "GType")
3664
 
)
3665
 
 
3666