~vcs-imports/gconfmm/main

« back to all changes in this revision

Viewing changes to gconf/src/gconf_methods.defs

  • Committer: murrayc
  • Date: 2007-01-09 15:43:50 UTC
  • Revision ID: vcs-imports@canonical.com-20070109154350-lczyek6p0f2bqgva
moving

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;; -*- scheme -*-
 
2
; object definitions ...
 
3
(define-object ConfClient
 
4
  (in-module "G")
 
5
  (parent "GObject")
 
6
  (c-name "GConfClient")
 
7
  (gtype-id "G_TYPE_CONF_CLIENT")
 
8
)
 
9
 
 
10
;; Enumerations and flags ...
 
11
 
 
12
(define-enum ConfClientPreloadType
 
13
  (in-module "G")
 
14
  (c-name "GConfClientPreloadType")
 
15
  (gtype-id "G_TYPE_CONF_CLIENT_PRELOAD_TYPE")
 
16
  (values
 
17
    '("none" "GCONF_CLIENT_PRELOAD_NONE")
 
18
    '("onelevel" "GCONF_CLIENT_PRELOAD_ONELEVEL")
 
19
    '("recursive" "GCONF_CLIENT_PRELOAD_RECURSIVE")
 
20
  )
 
21
)
 
22
 
 
23
(define-enum ConfClientErrorHandlingMode
 
24
  (in-module "G")
 
25
  (c-name "GConfClientErrorHandlingMode")
 
26
  (gtype-id "G_TYPE_CONF_CLIENT_ERROR_HANDLING_MODE")
 
27
  (values
 
28
    '("none" "GCONF_CLIENT_HANDLE_NONE")
 
29
    '("unreturned" "GCONF_CLIENT_HANDLE_UNRETURNED")
 
30
    '("all" "GCONF_CLIENT_HANDLE_ALL")
 
31
  )
 
32
)
 
33
 
 
34
(define-enum ConfError
 
35
  (in-module "G")
 
36
  (c-name "GConfError")
 
37
  (gtype-id "G_TYPE_CONF_ERROR")
 
38
  (values
 
39
    '("success" "GCONF_ERROR_SUCCESS")
 
40
    '("failed" "GCONF_ERROR_FAILED")
 
41
    '("no-server" "GCONF_ERROR_NO_SERVER")
 
42
    '("no-permission" "GCONF_ERROR_NO_PERMISSION")
 
43
    '("bad-address" "GCONF_ERROR_BAD_ADDRESS")
 
44
    '("bad-key" "GCONF_ERROR_BAD_KEY")
 
45
    '("parse-error" "GCONF_ERROR_PARSE_ERROR")
 
46
    '("corrupt" "GCONF_ERROR_CORRUPT")
 
47
    '("type-mismatch" "GCONF_ERROR_TYPE_MISMATCH")
 
48
    '("is-dir" "GCONF_ERROR_IS_DIR")
 
49
    '("is-key" "GCONF_ERROR_IS_KEY")
 
50
    '("overridden" "GCONF_ERROR_OVERRIDDEN")
 
51
    '("oaf-error" "GCONF_ERROR_OAF_ERROR")
 
52
    '("local-engine" "GCONF_ERROR_LOCAL_ENGINE")
 
53
    '("lock-failed" "GCONF_ERROR_LOCK_FAILED")
 
54
    '("no-writable-database" "GCONF_ERROR_NO_WRITABLE_DATABASE")
 
55
    '("in-shutdown" "GCONF_ERROR_IN_SHUTDOWN")
 
56
  )
 
57
)
 
58
 
 
59
(define-enum ConfValueType
 
60
  (in-module "G")
 
61
  (c-name "GConfValueType")
 
62
  (gtype-id "G_TYPE_CONF_VALUE_TYPE")
 
63
  (values
 
64
    '("invalid" "GCONF_VALUE_INVALID")
 
65
    '("string" "GCONF_VALUE_STRING")
 
66
    '("int" "GCONF_VALUE_INT")
 
67
    '("float" "GCONF_VALUE_FLOAT")
 
68
    '("bool" "GCONF_VALUE_BOOL")
 
69
    '("schema" "GCONF_VALUE_SCHEMA")
 
70
    '("list" "GCONF_VALUE_LIST")
 
71
    '("pair" "GCONF_VALUE_PAIR")
 
72
  )
 
73
)
 
74
 
 
75
 
 
76
;; From /usr/include/gconf/2/gconf/gconf-changeset.h
 
77
 
 
78
(define-method reverse_change_set
 
79
  (of-object "GConfEngine")
 
80
  (c-name "gconf_engine_reverse_change_set")
 
81
  (return-type "GConfChangeSet*")
 
82
  (parameters
 
83
    '("GConfChangeSet*" "cs")
 
84
    '("GError**" "err")
 
85
  )
 
86
)
 
87
 
 
88
(define-method change_set_from_currentv
 
89
  (of-object "GConfEngine")
 
90
  (c-name "gconf_engine_change_set_from_currentv")
 
91
  (return-type "GConfChangeSet*")
 
92
  (parameters
 
93
    '("const-gchar**" "keys")
 
94
    '("GError**" "err")
 
95
  )
 
96
)
 
97
 
 
98
(define-method change_set_from_current
 
99
  (of-object "GConfEngine")
 
100
  (c-name "gconf_engine_change_set_from_current")
 
101
  (return-type "GConfChangeSet*")
 
102
  (parameters
 
103
    '("GError**" "err")
 
104
    '("const-gchar*" "first_key")
 
105
  )
 
106
  (varargs #t)
 
107
)
 
108
 
 
109
(define-function gconf_change_set_new
 
110
  (c-name "gconf_change_set_new")
 
111
  (return-type "GConfChangeSet*")
 
112
)
 
113
 
 
114
(define-method ref
 
115
  (of-object "GConfChangeSet")
 
116
  (c-name "gconf_change_set_ref")
 
117
  (return-type "none")
 
118
)
 
119
 
 
120
(define-method unref
 
121
  (of-object "GConfChangeSet")
 
122
  (c-name "gconf_change_set_unref")
 
123
  (return-type "none")
 
124
)
 
125
 
 
126
(define-method clear
 
127
  (of-object "GConfChangeSet")
 
128
  (c-name "gconf_change_set_clear")
 
129
  (return-type "none")
 
130
)
 
131
 
 
132
(define-method size
 
133
  (of-object "GConfChangeSet")
 
134
  (c-name "gconf_change_set_size")
 
135
  (return-type "guint")
 
136
)
 
137
 
 
138
(define-method remove
 
139
  (of-object "GConfChangeSet")
 
140
  (c-name "gconf_change_set_remove")
 
141
  (return-type "none")
 
142
  (parameters
 
143
    '("const-gchar*" "key")
 
144
  )
 
145
)
 
146
 
 
147
(define-method foreach
 
148
  (of-object "GConfChangeSet")
 
149
  (c-name "gconf_change_set_foreach")
 
150
  (return-type "none")
 
151
  (parameters
 
152
    '("GConfChangeSetForeachFunc" "func")
 
153
    '("gpointer" "user_data")
 
154
  )
 
155
)
 
156
 
 
157
(define-method check_value
 
158
  (of-object "GConfChangeSet")
 
159
  (c-name "gconf_change_set_check_value")
 
160
  (return-type "gboolean")
 
161
  (parameters
 
162
    '("const-gchar*" "key")
 
163
    '("GConfValue**" "value_retloc")
 
164
  )
 
165
)
 
166
 
 
167
(define-method set
 
168
  (of-object "GConfChangeSet")
 
169
  (c-name "gconf_change_set_set")
 
170
  (return-type "none")
 
171
  (parameters
 
172
    '("const-gchar*" "key")
 
173
    '("GConfValue*" "value")
 
174
  )
 
175
)
 
176
 
 
177
(define-method set_nocopy
 
178
  (of-object "GConfChangeSet")
 
179
  (c-name "gconf_change_set_set_nocopy")
 
180
  (return-type "none")
 
181
  (parameters
 
182
    '("const-gchar*" "key")
 
183
    '("GConfValue*" "value")
 
184
  )
 
185
)
 
186
 
 
187
(define-method unset
 
188
  (of-object "GConfChangeSet")
 
189
  (c-name "gconf_change_set_unset")
 
190
  (return-type "none")
 
191
  (parameters
 
192
    '("const-gchar*" "key")
 
193
  )
 
194
)
 
195
 
 
196
(define-method set_float
 
197
  (of-object "GConfChangeSet")
 
198
  (c-name "gconf_change_set_set_float")
 
199
  (return-type "none")
 
200
  (parameters
 
201
    '("const-gchar*" "key")
 
202
    '("gdouble" "val")
 
203
  )
 
204
)
 
205
 
 
206
(define-method set_int
 
207
  (of-object "GConfChangeSet")
 
208
  (c-name "gconf_change_set_set_int")
 
209
  (return-type "none")
 
210
  (parameters
 
211
    '("const-gchar*" "key")
 
212
    '("gint" "val")
 
213
  )
 
214
)
 
215
 
 
216
(define-method set_string
 
217
  (of-object "GConfChangeSet")
 
218
  (c-name "gconf_change_set_set_string")
 
219
  (return-type "none")
 
220
  (parameters
 
221
    '("const-gchar*" "key")
 
222
    '("const-gchar*" "val")
 
223
  )
 
224
)
 
225
 
 
226
(define-method set_bool
 
227
  (of-object "GConfChangeSet")
 
228
  (c-name "gconf_change_set_set_bool")
 
229
  (return-type "none")
 
230
  (parameters
 
231
    '("const-gchar*" "key")
 
232
    '("gboolean" "val")
 
233
  )
 
234
)
 
235
 
 
236
(define-method set_schema
 
237
  (of-object "GConfChangeSet")
 
238
  (c-name "gconf_change_set_set_schema")
 
239
  (return-type "none")
 
240
  (parameters
 
241
    '("const-gchar*" "key")
 
242
    '("GConfSchema*" "val")
 
243
  )
 
244
)
 
245
 
 
246
(define-method set_list
 
247
  (of-object "GConfChangeSet")
 
248
  (c-name "gconf_change_set_set_list")
 
249
  (return-type "none")
 
250
  (parameters
 
251
    '("const-gchar*" "key")
 
252
    '("GConfValueType" "list_type")
 
253
    '("GSList*" "list")
 
254
  )
 
255
)
 
256
 
 
257
(define-method set_pair
 
258
  (of-object "GConfChangeSet")
 
259
  (c-name "gconf_change_set_set_pair")
 
260
  (return-type "none")
 
261
  (parameters
 
262
    '("const-gchar*" "key")
 
263
    '("GConfValueType" "car_type")
 
264
    '("GConfValueType" "cdr_type")
 
265
    '("gconstpointer" "address_of_car")
 
266
    '("gconstpointer" "address_of_cdr")
 
267
  )
 
268
)
 
269
 
 
270
(define-method set_user_data
 
271
  (of-object "GConfChangeSet")
 
272
  (c-name "gconf_change_set_set_user_data")
 
273
  (return-type "none")
 
274
  (parameters
 
275
    '("gpointer" "data")
 
276
    '("GDestroyNotify" "dnotify")
 
277
  )
 
278
)
 
279
 
 
280
(define-method get_user_data
 
281
  (of-object "GConfChangeSet")
 
282
  (c-name "gconf_change_set_get_user_data")
 
283
  (return-type "gpointer")
 
284
)
 
285
 
 
286
 
 
287
 
 
288
;; From /usr/include/gconf/2/gconf/gconf-client.h
 
289
 
 
290
(define-function gconf_client_get_type
 
291
  (c-name "gconf_client_get_type")
 
292
  (return-type "GType")
 
293
)
 
294
 
 
295
(define-function gconf_client_get_default
 
296
  (c-name "gconf_client_get_default")
 
297
  (return-type "GConfClient*")
 
298
)
 
299
 
 
300
(define-function gconf_client_get_for_engine
 
301
  (c-name "gconf_client_get_for_engine")
 
302
  (return-type "GConfClient*")
 
303
  (parameters
 
304
    '("GConfEngine*" "engine")
 
305
  )
 
306
)
 
307
 
 
308
(define-method add_dir
 
309
  (of-object "GConfClient")
 
310
  (c-name "gconf_client_add_dir")
 
311
  (return-type "none")
 
312
  (parameters
 
313
    '("const-gchar*" "dir")
 
314
    '("GConfClientPreloadType" "preload")
 
315
    '("GError**" "err")
 
316
  )
 
317
)
 
318
 
 
319
(define-method remove_dir
 
320
  (of-object "GConfClient")
 
321
  (c-name "gconf_client_remove_dir")
 
322
  (return-type "none")
 
323
  (parameters
 
324
    '("const-gchar*" "dir")
 
325
    '("GError**" "err")
 
326
  )
 
327
)
 
328
 
 
329
(define-method notify_add
 
330
  (of-object "GConfClient")
 
331
  (c-name "gconf_client_notify_add")
 
332
  (return-type "guint")
 
333
  (parameters
 
334
    '("const-gchar*" "namespace_section")
 
335
    '("GConfClientNotifyFunc" "func")
 
336
    '("gpointer" "user_data")
 
337
    '("GFreeFunc" "destroy_notify")
 
338
    '("GError**" "err")
 
339
  )
 
340
)
 
341
 
 
342
(define-method notify_remove
 
343
  (of-object "GConfClient")
 
344
  (c-name "gconf_client_notify_remove")
 
345
  (return-type "none")
 
346
  (parameters
 
347
    '("guint" "cnxn")
 
348
  )
 
349
)
 
350
 
 
351
(define-method set_error_handling
 
352
  (of-object "GConfClient")
 
353
  (c-name "gconf_client_set_error_handling")
 
354
  (return-type "none")
 
355
  (parameters
 
356
    '("GConfClientErrorHandlingMode" "mode")
 
357
  )
 
358
)
 
359
 
 
360
(define-function gconf_client_set_global_default_error_handler
 
361
  (c-name "gconf_client_set_global_default_error_handler")
 
362
  (return-type "none")
 
363
  (parameters
 
364
    '("GConfClientErrorHandlerFunc" "func")
 
365
  )
 
366
)
 
367
 
 
368
(define-method clear_cache
 
369
  (of-object "GConfClient")
 
370
  (c-name "gconf_client_clear_cache")
 
371
  (return-type "none")
 
372
)
 
373
 
 
374
(define-method preload
 
375
  (of-object "GConfClient")
 
376
  (c-name "gconf_client_preload")
 
377
  (return-type "none")
 
378
  (parameters
 
379
    '("const-gchar*" "dirname")
 
380
    '("GConfClientPreloadType" "type")
 
381
    '("GError**" "err")
 
382
  )
 
383
)
 
384
 
 
385
(define-method set
 
386
  (of-object "GConfClient")
 
387
  (c-name "gconf_client_set")
 
388
  (return-type "none")
 
389
  (parameters
 
390
    '("const-gchar*" "key")
 
391
    '("const-GConfValue*" "val")
 
392
    '("GError**" "err")
 
393
  )
 
394
)
 
395
 
 
396
(define-method get
 
397
  (of-object "GConfClient")
 
398
  (c-name "gconf_client_get")
 
399
  (return-type "GConfValue*")
 
400
  (parameters
 
401
    '("const-gchar*" "key")
 
402
    '("GError**" "err")
 
403
  )
 
404
)
 
405
 
 
406
(define-method get_without_default
 
407
  (of-object "GConfClient")
 
408
  (c-name "gconf_client_get_without_default")
 
409
  (return-type "GConfValue*")
 
410
  (parameters
 
411
    '("const-gchar*" "key")
 
412
    '("GError**" "err")
 
413
  )
 
414
)
 
415
 
 
416
(define-method get_entry
 
417
  (of-object "GConfClient")
 
418
  (c-name "gconf_client_get_entry")
 
419
  (return-type "GConfEntry*")
 
420
  (parameters
 
421
    '("const-gchar*" "key")
 
422
    '("const-gchar*" "locale")
 
423
    '("gboolean" "use_schema_default")
 
424
    '("GError**" "err")
 
425
  )
 
426
)
 
427
 
 
428
(define-method get_default_from_schema
 
429
  (of-object "GConfClient")
 
430
  (c-name "gconf_client_get_default_from_schema")
 
431
  (return-type "GConfValue*")
 
432
  (parameters
 
433
    '("const-gchar*" "key")
 
434
    '("GError**" "err")
 
435
  )
 
436
)
 
437
 
 
438
(define-method unset
 
439
  (of-object "GConfClient")
 
440
  (c-name "gconf_client_unset")
 
441
  (return-type "gboolean")
 
442
  (parameters
 
443
    '("const-gchar*" "key")
 
444
    '("GError**" "err")
 
445
  )
 
446
)
 
447
 
 
448
(define-method all_entries
 
449
  (of-object "GConfClient")
 
450
  (c-name "gconf_client_all_entries")
 
451
  (return-type "GSList*")
 
452
  (parameters
 
453
    '("const-gchar*" "dir")
 
454
    '("GError**" "err")
 
455
  )
 
456
)
 
457
 
 
458
(define-method all_dirs
 
459
  (of-object "GConfClient")
 
460
  (c-name "gconf_client_all_dirs")
 
461
  (return-type "GSList*")
 
462
  (parameters
 
463
    '("const-gchar*" "dir")
 
464
    '("GError**" "err")
 
465
  )
 
466
)
 
467
 
 
468
(define-method suggest_sync
 
469
  (of-object "GConfClient")
 
470
  (c-name "gconf_client_suggest_sync")
 
471
  (return-type "none")
 
472
  (parameters
 
473
    '("GError**" "err")
 
474
  )
 
475
)
 
476
 
 
477
(define-method dir_exists
 
478
  (of-object "GConfClient")
 
479
  (c-name "gconf_client_dir_exists")
 
480
  (return-type "gboolean")
 
481
  (parameters
 
482
    '("const-gchar*" "dir")
 
483
    '("GError**" "err")
 
484
  )
 
485
)
 
486
 
 
487
(define-method key_is_writable
 
488
  (of-object "GConfClient")
 
489
  (c-name "gconf_client_key_is_writable")
 
490
  (return-type "gboolean")
 
491
  (parameters
 
492
    '("const-gchar*" "key")
 
493
    '("GError**" "err")
 
494
  )
 
495
)
 
496
 
 
497
(define-method get_float
 
498
  (of-object "GConfClient")
 
499
  (c-name "gconf_client_get_float")
 
500
  (return-type "gdouble")
 
501
  (parameters
 
502
    '("const-gchar*" "key")
 
503
    '("GError**" "err")
 
504
  )
 
505
)
 
506
 
 
507
(define-method get_int
 
508
  (of-object "GConfClient")
 
509
  (c-name "gconf_client_get_int")
 
510
  (return-type "gint")
 
511
  (parameters
 
512
    '("const-gchar*" "key")
 
513
    '("GError**" "err")
 
514
  )
 
515
)
 
516
 
 
517
(define-method get_string
 
518
  (of-object "GConfClient")
 
519
  (c-name "gconf_client_get_string")
 
520
  (return-type "gchar*")
 
521
  (parameters
 
522
    '("const-gchar*" "key")
 
523
    '("GError**" "err")
 
524
  )
 
525
)
 
526
 
 
527
(define-method get_bool
 
528
  (of-object "GConfClient")
 
529
  (c-name "gconf_client_get_bool")
 
530
  (return-type "gboolean")
 
531
  (parameters
 
532
    '("const-gchar*" "key")
 
533
    '("GError**" "err")
 
534
  )
 
535
)
 
536
 
 
537
(define-method get_schema
 
538
  (of-object "GConfClient")
 
539
  (c-name "gconf_client_get_schema")
 
540
  (return-type "GConfSchema*")
 
541
  (parameters
 
542
    '("const-gchar*" "key")
 
543
    '("GError**" "err")
 
544
  )
 
545
)
 
546
 
 
547
(define-method get_list
 
548
  (of-object "GConfClient")
 
549
  (c-name "gconf_client_get_list")
 
550
  (return-type "GSList*")
 
551
  (parameters
 
552
    '("const-gchar*" "key")
 
553
    '("GConfValueType" "list_type")
 
554
    '("GError**" "err")
 
555
  )
 
556
)
 
557
 
 
558
(define-method get_pair
 
559
  (of-object "GConfClient")
 
560
  (c-name "gconf_client_get_pair")
 
561
  (return-type "gboolean")
 
562
  (parameters
 
563
    '("const-gchar*" "key")
 
564
    '("GConfValueType" "car_type")
 
565
    '("GConfValueType" "cdr_type")
 
566
    '("gpointer" "car_retloc")
 
567
    '("gpointer" "cdr_retloc")
 
568
    '("GError**" "err")
 
569
  )
 
570
)
 
571
 
 
572
(define-method set_float
 
573
  (of-object "GConfClient")
 
574
  (c-name "gconf_client_set_float")
 
575
  (return-type "gboolean")
 
576
  (parameters
 
577
    '("const-gchar*" "key")
 
578
    '("gdouble" "val")
 
579
    '("GError**" "err")
 
580
  )
 
581
)
 
582
 
 
583
(define-method set_int
 
584
  (of-object "GConfClient")
 
585
  (c-name "gconf_client_set_int")
 
586
  (return-type "gboolean")
 
587
  (parameters
 
588
    '("const-gchar*" "key")
 
589
    '("gint" "val")
 
590
    '("GError**" "err")
 
591
  )
 
592
)
 
593
 
 
594
(define-method set_string
 
595
  (of-object "GConfClient")
 
596
  (c-name "gconf_client_set_string")
 
597
  (return-type "gboolean")
 
598
  (parameters
 
599
    '("const-gchar*" "key")
 
600
    '("const-gchar*" "val")
 
601
    '("GError**" "err")
 
602
  )
 
603
)
 
604
 
 
605
(define-method set_bool
 
606
  (of-object "GConfClient")
 
607
  (c-name "gconf_client_set_bool")
 
608
  (return-type "gboolean")
 
609
  (parameters
 
610
    '("const-gchar*" "key")
 
611
    '("gboolean" "val")
 
612
    '("GError**" "err")
 
613
  )
 
614
)
 
615
 
 
616
(define-method set_schema
 
617
  (of-object "GConfClient")
 
618
  (c-name "gconf_client_set_schema")
 
619
  (return-type "gboolean")
 
620
  (parameters
 
621
    '("const-gchar*" "key")
 
622
    '("const-GConfSchema*" "val")
 
623
    '("GError**" "err")
 
624
  )
 
625
)
 
626
 
 
627
(define-method set_list
 
628
  (of-object "GConfClient")
 
629
  (c-name "gconf_client_set_list")
 
630
  (return-type "gboolean")
 
631
  (parameters
 
632
    '("const-gchar*" "key")
 
633
    '("GConfValueType" "list_type")
 
634
    '("GSList*" "list")
 
635
    '("GError**" "err")
 
636
  )
 
637
)
 
638
 
 
639
(define-method set_pair
 
640
  (of-object "GConfClient")
 
641
  (c-name "gconf_client_set_pair")
 
642
  (return-type "gboolean")
 
643
  (parameters
 
644
    '("const-gchar*" "key")
 
645
    '("GConfValueType" "car_type")
 
646
    '("GConfValueType" "cdr_type")
 
647
    '("gconstpointer" "address_of_car")
 
648
    '("gconstpointer" "address_of_cdr")
 
649
    '("GError**" "err")
 
650
  )
 
651
)
 
652
 
 
653
(define-method error
 
654
  (of-object "GConfClient")
 
655
  (c-name "gconf_client_error")
 
656
  (return-type "none")
 
657
  (parameters
 
658
    '("GError*" "error")
 
659
  )
 
660
)
 
661
 
 
662
(define-method unreturned_error
 
663
  (of-object "GConfClient")
 
664
  (c-name "gconf_client_unreturned_error")
 
665
  (return-type "none")
 
666
  (parameters
 
667
    '("GError*" "error")
 
668
  )
 
669
)
 
670
 
 
671
(define-method value_changed
 
672
  (of-object "GConfClient")
 
673
  (c-name "gconf_client_value_changed")
 
674
  (return-type "none")
 
675
  (parameters
 
676
    '("const-gchar*" "key")
 
677
    '("GConfValue*" "value")
 
678
  )
 
679
)
 
680
 
 
681
(define-method commit_change_set
 
682
  (of-object "GConfClient")
 
683
  (c-name "gconf_client_commit_change_set")
 
684
  (return-type "gboolean")
 
685
  (parameters
 
686
    '("GConfChangeSet*" "cs")
 
687
    '("gboolean" "remove_committed")
 
688
    '("GError**" "err")
 
689
  )
 
690
)
 
691
 
 
692
(define-method reverse_change_set
 
693
  (of-object "GConfClient")
 
694
  (c-name "gconf_client_reverse_change_set")
 
695
  (return-type "GConfChangeSet*")
 
696
  (parameters
 
697
    '("GConfChangeSet*" "cs")
 
698
    '("GError**" "err")
 
699
  )
 
700
)
 
701
 
 
702
(define-method change_set_from_currentv
 
703
  (of-object "GConfClient")
 
704
  (c-name "gconf_client_change_set_from_currentv")
 
705
  (return-type "GConfChangeSet*")
 
706
  (parameters
 
707
    '("const-gchar**" "keys")
 
708
    '("GError**" "err")
 
709
  )
 
710
)
 
711
 
 
712
(define-method change_set_from_current
 
713
  (of-object "GConfClient")
 
714
  (c-name "gconf_client_change_set_from_current")
 
715
  (return-type "GConfChangeSet*")
 
716
  (parameters
 
717
    '("GError**" "err")
 
718
    '("const-gchar*" "first_key")
 
719
  )
 
720
  (varargs #t)
 
721
)
 
722
 
 
723
 
 
724
 
 
725
;; From /usr/include/gconf/2/gconf/gconf-engine.h
 
726
 
 
727
(define-function gconf_engine_get_for_address
 
728
  (c-name "gconf_engine_get_for_address")
 
729
  (return-type "GConfEngine*")
 
730
  (parameters
 
731
    '("const-gchar*" "address")
 
732
    '("GError**" "err")
 
733
  )
 
734
)
 
735
 
 
736
(define-method unref
 
737
  (of-object "GConfEngine")
 
738
  (c-name "gconf_engine_unref")
 
739
  (return-type "none")
 
740
)
 
741
 
 
742
(define-method ref
 
743
  (of-object "GConfEngine")
 
744
  (c-name "gconf_engine_ref")
 
745
  (return-type "none")
 
746
)
 
747
 
 
748
(define-function gconf_engine_get_local
 
749
  (c-name "gconf_engine_get_local")
 
750
  (return-type "GConfEngine*")
 
751
  (parameters
 
752
    '("const-gchar*" "address")
 
753
    '("GError**" "err")
 
754
  )
 
755
)
 
756
 
 
757
(define-method set_user_data
 
758
  (of-object "GConfEngine")
 
759
  (c-name "gconf_engine_set_user_data")
 
760
  (return-type "none")
 
761
  (parameters
 
762
    '("gpointer" "data")
 
763
    '("GDestroyNotify" "dnotify")
 
764
  )
 
765
)
 
766
 
 
767
(define-method get_user_data
 
768
  (of-object "GConfEngine")
 
769
  (c-name "gconf_engine_get_user_data")
 
770
  (return-type "gpointer")
 
771
)
 
772
 
 
773
 
 
774
 
 
775
;; From /usr/include/gconf/2/gconf/gconf-enum-types.h
 
776
 
 
777
(define-function gconf_error_get_type
 
778
  (c-name "gconf_error_get_type")
 
779
  (return-type "GType")
 
780
)
 
781
 
 
782
(define-function gconf_client_preload_type_get_type
 
783
  (c-name "gconf_client_preload_type_get_type")
 
784
  (return-type "GType")
 
785
)
 
786
 
 
787
(define-function gconf_client_error_handling_mode_get_type
 
788
  (c-name "gconf_client_error_handling_mode_get_type")
 
789
  (return-type "GType")
 
790
)
 
791
 
 
792
 
 
793
 
 
794
;; From /usr/include/gconf/2/gconf/gconf-error.h
 
795
 
 
796
 
 
797
 
 
798
;; From /usr/include/gconf/2/gconf/gconf-schema.h
 
799
 
 
800
(define-function gconf_schema_new
 
801
  (c-name "gconf_schema_new")
 
802
  (return-type "GConfSchema*")
 
803
)
 
804
 
 
805
(define-method free
 
806
  (of-object "GConfSchema")
 
807
  (c-name "gconf_schema_free")
 
808
  (return-type "none")
 
809
)
 
810
 
 
811
(define-method copy
 
812
  (of-object "GConfSchema")
 
813
  (c-name "gconf_schema_copy")
 
814
  (return-type "GConfSchema*")
 
815
)
 
816
 
 
817
(define-method set_type
 
818
  (of-object "GConfSchema")
 
819
  (c-name "gconf_schema_set_type")
 
820
  (return-type "none")
 
821
  (parameters
 
822
    '("GConfValueType" "type")
 
823
  )
 
824
)
 
825
 
 
826
(define-method set_list_type
 
827
  (of-object "GConfSchema")
 
828
  (c-name "gconf_schema_set_list_type")
 
829
  (return-type "none")
 
830
  (parameters
 
831
    '("GConfValueType" "type")
 
832
  )
 
833
)
 
834
 
 
835
(define-method set_car_type
 
836
  (of-object "GConfSchema")
 
837
  (c-name "gconf_schema_set_car_type")
 
838
  (return-type "none")
 
839
  (parameters
 
840
    '("GConfValueType" "type")
 
841
  )
 
842
)
 
843
 
 
844
(define-method set_cdr_type
 
845
  (of-object "GConfSchema")
 
846
  (c-name "gconf_schema_set_cdr_type")
 
847
  (return-type "none")
 
848
  (parameters
 
849
    '("GConfValueType" "type")
 
850
  )
 
851
)
 
852
 
 
853
(define-method set_locale
 
854
  (of-object "GConfSchema")
 
855
  (c-name "gconf_schema_set_locale")
 
856
  (return-type "none")
 
857
  (parameters
 
858
    '("const-gchar*" "locale")
 
859
  )
 
860
)
 
861
 
 
862
(define-method set_short_desc
 
863
  (of-object "GConfSchema")
 
864
  (c-name "gconf_schema_set_short_desc")
 
865
  (return-type "none")
 
866
  (parameters
 
867
    '("const-gchar*" "desc")
 
868
  )
 
869
)
 
870
 
 
871
(define-method set_long_desc
 
872
  (of-object "GConfSchema")
 
873
  (c-name "gconf_schema_set_long_desc")
 
874
  (return-type "none")
 
875
  (parameters
 
876
    '("const-gchar*" "desc")
 
877
  )
 
878
)
 
879
 
 
880
(define-method set_owner
 
881
  (of-object "GConfSchema")
 
882
  (c-name "gconf_schema_set_owner")
 
883
  (return-type "none")
 
884
  (parameters
 
885
    '("const-gchar*" "owner")
 
886
  )
 
887
)
 
888
 
 
889
(define-method set_default_value
 
890
  (of-object "GConfSchema")
 
891
  (c-name "gconf_schema_set_default_value")
 
892
  (return-type "none")
 
893
  (parameters
 
894
    '("const-GConfValue*" "val")
 
895
  )
 
896
)
 
897
 
 
898
(define-method set_default_value_nocopy
 
899
  (of-object "GConfSchema")
 
900
  (c-name "gconf_schema_set_default_value_nocopy")
 
901
  (return-type "none")
 
902
  (parameters
 
903
    '("GConfValue*" "val")
 
904
  )
 
905
)
 
906
 
 
907
(define-method get_type
 
908
  (of-object "GConfSchema")
 
909
  (c-name "gconf_schema_get_type")
 
910
  (return-type "GConfValueType")
 
911
)
 
912
 
 
913
(define-method get_list_type
 
914
  (of-object "GConfSchema")
 
915
  (c-name "gconf_schema_get_list_type")
 
916
  (return-type "GConfValueType")
 
917
)
 
918
 
 
919
(define-method get_car_type
 
920
  (of-object "GConfSchema")
 
921
  (c-name "gconf_schema_get_car_type")
 
922
  (return-type "GConfValueType")
 
923
)
 
924
 
 
925
(define-method get_cdr_type
 
926
  (of-object "GConfSchema")
 
927
  (c-name "gconf_schema_get_cdr_type")
 
928
  (return-type "GConfValueType")
 
929
)
 
930
 
 
931
(define-method get_locale
 
932
  (of-object "GConfSchema")
 
933
  (c-name "gconf_schema_get_locale")
 
934
  (return-type "const-char*")
 
935
)
 
936
 
 
937
(define-method get_short_desc
 
938
  (of-object "GConfSchema")
 
939
  (c-name "gconf_schema_get_short_desc")
 
940
  (return-type "const-char*")
 
941
)
 
942
 
 
943
(define-method get_long_desc
 
944
  (of-object "GConfSchema")
 
945
  (c-name "gconf_schema_get_long_desc")
 
946
  (return-type "const-char*")
 
947
)
 
948
 
 
949
(define-method get_owner
 
950
  (of-object "GConfSchema")
 
951
  (c-name "gconf_schema_get_owner")
 
952
  (return-type "const-char*")
 
953
)
 
954
 
 
955
(define-method get_default_value
 
956
  (of-object "GConfSchema")
 
957
  (c-name "gconf_schema_get_default_value")
 
958
  (return-type "GConfValue*")
 
959
)
 
960
 
 
961
 
 
962
 
 
963
;; From /usr/include/gconf/2/gconf/gconf-value.h
 
964
 
 
965
(define-method get_string
 
966
  (of-object "GConfValue")
 
967
  (c-name "gconf_value_get_string")
 
968
  (return-type "const-char*")
 
969
)
 
970
 
 
971
(define-method get_int
 
972
  (of-object "GConfValue")
 
973
  (c-name "gconf_value_get_int")
 
974
  (return-type "int")
 
975
)
 
976
 
 
977
(define-method get_float
 
978
  (of-object "GConfValue")
 
979
  (c-name "gconf_value_get_float")
 
980
  (return-type "double")
 
981
)
 
982
 
 
983
(define-method get_list_type
 
984
  (of-object "GConfValue")
 
985
  (c-name "gconf_value_get_list_type")
 
986
  (return-type "GConfValueType")
 
987
)
 
988
 
 
989
(define-method get_list
 
990
  (of-object "GConfValue")
 
991
  (c-name "gconf_value_get_list")
 
992
  (return-type "GSList*")
 
993
)
 
994
 
 
995
(define-method get_car
 
996
  (of-object "GConfValue")
 
997
  (c-name "gconf_value_get_car")
 
998
  (return-type "GConfValue*")
 
999
)
 
1000
 
 
1001
(define-method get_cdr
 
1002
  (of-object "GConfValue")
 
1003
  (c-name "gconf_value_get_cdr")
 
1004
  (return-type "GConfValue*")
 
1005
)
 
1006
 
 
1007
(define-method get_bool
 
1008
  (of-object "GConfValue")
 
1009
  (c-name "gconf_value_get_bool")
 
1010
  (return-type "gboolean")
 
1011
)
 
1012
 
 
1013
(define-method get_schema
 
1014
  (of-object "GConfValue")
 
1015
  (c-name "gconf_value_get_schema")
 
1016
  (return-type "GConfSchema*")
 
1017
)
 
1018
 
 
1019
(define-function gconf_value_new
 
1020
  (c-name "gconf_value_new")
 
1021
  (return-type "GConfValue*")
 
1022
  (parameters
 
1023
    '("GConfValueType" "type")
 
1024
  )
 
1025
)
 
1026
 
 
1027
(define-function gconf_value_new_from_string
 
1028
  (c-name "gconf_value_new_from_string")
 
1029
  (return-type "GConfValue*")
 
1030
  (parameters
 
1031
    '("GConfValueType" "type")
 
1032
    '("const-gchar*" "str")
 
1033
    '("GError**" "err")
 
1034
  )
 
1035
)
 
1036
 
 
1037
(define-method copy
 
1038
  (of-object "GConfValue")
 
1039
  (c-name "gconf_value_copy")
 
1040
  (return-type "GConfValue*")
 
1041
)
 
1042
 
 
1043
(define-method free
 
1044
  (of-object "GConfValue")
 
1045
  (c-name "gconf_value_free")
 
1046
  (return-type "none")
 
1047
)
 
1048
 
 
1049
(define-method set_int
 
1050
  (of-object "GConfValue")
 
1051
  (c-name "gconf_value_set_int")
 
1052
  (return-type "none")
 
1053
  (parameters
 
1054
    '("gint" "the_int")
 
1055
  )
 
1056
)
 
1057
 
 
1058
(define-method set_string
 
1059
  (of-object "GConfValue")
 
1060
  (c-name "gconf_value_set_string")
 
1061
  (return-type "none")
 
1062
  (parameters
 
1063
    '("const-gchar*" "the_str")
 
1064
  )
 
1065
)
 
1066
 
 
1067
(define-method set_float
 
1068
  (of-object "GConfValue")
 
1069
  (c-name "gconf_value_set_float")
 
1070
  (return-type "none")
 
1071
  (parameters
 
1072
    '("gdouble" "the_float")
 
1073
  )
 
1074
)
 
1075
 
 
1076
(define-method set_bool
 
1077
  (of-object "GConfValue")
 
1078
  (c-name "gconf_value_set_bool")
 
1079
  (return-type "none")
 
1080
  (parameters
 
1081
    '("gboolean" "the_bool")
 
1082
  )
 
1083
)
 
1084
 
 
1085
(define-method set_schema
 
1086
  (of-object "GConfValue")
 
1087
  (c-name "gconf_value_set_schema")
 
1088
  (return-type "none")
 
1089
  (parameters
 
1090
    '("const-GConfSchema*" "sc")
 
1091
  )
 
1092
)
 
1093
 
 
1094
(define-method set_schema_nocopy
 
1095
  (of-object "GConfValue")
 
1096
  (c-name "gconf_value_set_schema_nocopy")
 
1097
  (return-type "none")
 
1098
  (parameters
 
1099
    '("GConfSchema*" "sc")
 
1100
  )
 
1101
)
 
1102
 
 
1103
(define-method set_car
 
1104
  (of-object "GConfValue")
 
1105
  (c-name "gconf_value_set_car")
 
1106
  (return-type "none")
 
1107
  (parameters
 
1108
    '("const-GConfValue*" "car")
 
1109
  )
 
1110
)
 
1111
 
 
1112
(define-method set_car_nocopy
 
1113
  (of-object "GConfValue")
 
1114
  (c-name "gconf_value_set_car_nocopy")
 
1115
  (return-type "none")
 
1116
  (parameters
 
1117
    '("GConfValue*" "car")
 
1118
  )
 
1119
)
 
1120
 
 
1121
(define-method set_cdr
 
1122
  (of-object "GConfValue")
 
1123
  (c-name "gconf_value_set_cdr")
 
1124
  (return-type "none")
 
1125
  (parameters
 
1126
    '("const-GConfValue*" "cdr")
 
1127
  )
 
1128
)
 
1129
 
 
1130
(define-method set_cdr_nocopy
 
1131
  (of-object "GConfValue")
 
1132
  (c-name "gconf_value_set_cdr_nocopy")
 
1133
  (return-type "none")
 
1134
  (parameters
 
1135
    '("GConfValue*" "cdr")
 
1136
  )
 
1137
)
 
1138
 
 
1139
(define-method set_list_type
 
1140
  (of-object "GConfValue")
 
1141
  (c-name "gconf_value_set_list_type")
 
1142
  (return-type "none")
 
1143
  (parameters
 
1144
    '("GConfValueType" "type")
 
1145
  )
 
1146
)
 
1147
 
 
1148
(define-method set_list_nocopy
 
1149
  (of-object "GConfValue")
 
1150
  (c-name "gconf_value_set_list_nocopy")
 
1151
  (return-type "none")
 
1152
  (parameters
 
1153
    '("GSList*" "list")
 
1154
  )
 
1155
)
 
1156
 
 
1157
(define-method set_list
 
1158
  (of-object "GConfValue")
 
1159
  (c-name "gconf_value_set_list")
 
1160
  (return-type "none")
 
1161
  (parameters
 
1162
    '("GSList*" "list")
 
1163
  )
 
1164
)
 
1165
 
 
1166
(define-method to_string
 
1167
  (of-object "GConfValue")
 
1168
  (c-name "gconf_value_to_string")
 
1169
  (return-type "gchar*")
 
1170
)
 
1171
 
 
1172
(define-method get_schema
 
1173
  (of-object "GConfMetaInfo")
 
1174
  (c-name "gconf_meta_info_get_schema")
 
1175
  (return-type "const-char*")
 
1176
)
 
1177
 
 
1178
(define-method get_mod_user
 
1179
  (of-object "GConfMetaInfo")
 
1180
  (c-name "gconf_meta_info_get_mod_user")
 
1181
  (return-type "const-char*")
 
1182
)
 
1183
 
 
1184
(define-method mod_time
 
1185
  (of-object "GConfMetaInfo")
 
1186
  (c-name "gconf_meta_info_mod_time")
 
1187
  (return-type "GTime")
 
1188
)
 
1189
 
 
1190
(define-function gconf_meta_info_new
 
1191
  (c-name "gconf_meta_info_new")
 
1192
  (return-type "GConfMetaInfo*")
 
1193
)
 
1194
 
 
1195
(define-method free
 
1196
  (of-object "GConfMetaInfo")
 
1197
  (c-name "gconf_meta_info_free")
 
1198
  (return-type "none")
 
1199
)
 
1200
 
 
1201
(define-method set_schema
 
1202
  (of-object "GConfMetaInfo")
 
1203
  (c-name "gconf_meta_info_set_schema")
 
1204
  (return-type "none")
 
1205
  (parameters
 
1206
    '("const-gchar*" "schema_name")
 
1207
  )
 
1208
)
 
1209
 
 
1210
(define-method set_mod_user
 
1211
  (of-object "GConfMetaInfo")
 
1212
  (c-name "gconf_meta_info_set_mod_user")
 
1213
  (return-type "none")
 
1214
  (parameters
 
1215
    '("const-gchar*" "mod_user")
 
1216
  )
 
1217
)
 
1218
 
 
1219
(define-method set_mod_time
 
1220
  (of-object "GConfMetaInfo")
 
1221
  (c-name "gconf_meta_info_set_mod_time")
 
1222
  (return-type "none")
 
1223
  (parameters
 
1224
    '("GTime" "mod_time")
 
1225
  )
 
1226
)
 
1227
 
 
1228
(define-method get_key
 
1229
  (of-object "GConfEntry")
 
1230
  (c-name "gconf_entry_get_key")
 
1231
  (return-type "const-char*")
 
1232
)
 
1233
 
 
1234
(define-method get_value
 
1235
  (of-object "GConfEntry")
 
1236
  (c-name "gconf_entry_get_value")
 
1237
  (return-type "GConfValue*")
 
1238
)
 
1239
 
 
1240
(define-method get_schema_name
 
1241
  (of-object "GConfEntry")
 
1242
  (c-name "gconf_entry_get_schema_name")
 
1243
  (return-type "const-char*")
 
1244
)
 
1245
 
 
1246
(define-method get_is_default
 
1247
  (of-object "GConfEntry")
 
1248
  (c-name "gconf_entry_get_is_default")
 
1249
  (return-type "gboolean")
 
1250
)
 
1251
 
 
1252
(define-method get_is_writable
 
1253
  (of-object "GConfEntry")
 
1254
  (c-name "gconf_entry_get_is_writable")
 
1255
  (return-type "gboolean")
 
1256
)
 
1257
 
 
1258
(define-function gconf_entry_new
 
1259
  (c-name "gconf_entry_new")
 
1260
  (return-type "GConfEntry*")
 
1261
  (parameters
 
1262
    '("const-gchar*" "key")
 
1263
    '("const-GConfValue*" "val")
 
1264
  )
 
1265
)
 
1266
 
 
1267
(define-function gconf_entry_new_nocopy
 
1268
  (c-name "gconf_entry_new_nocopy")
 
1269
  (return-type "GConfEntry*")
 
1270
  (parameters
 
1271
    '("gchar*" "key")
 
1272
    '("GConfValue*" "val")
 
1273
  )
 
1274
)
 
1275
 
 
1276
(define-method free
 
1277
  (of-object "GConfEntry")
 
1278
  (c-name "gconf_entry_free")
 
1279
  (return-type "none")
 
1280
)
 
1281
 
 
1282
(define-method steal_value
 
1283
  (of-object "GConfEntry")
 
1284
  (c-name "gconf_entry_steal_value")
 
1285
  (return-type "GConfValue*")
 
1286
)
 
1287
 
 
1288
(define-method set_value
 
1289
  (of-object "GConfEntry")
 
1290
  (c-name "gconf_entry_set_value")
 
1291
  (return-type "none")
 
1292
  (parameters
 
1293
    '("const-GConfValue*" "val")
 
1294
  )
 
1295
)
 
1296
 
 
1297
(define-method set_value_nocopy
 
1298
  (of-object "GConfEntry")
 
1299
  (c-name "gconf_entry_set_value_nocopy")
 
1300
  (return-type "none")
 
1301
  (parameters
 
1302
    '("GConfValue*" "val")
 
1303
  )
 
1304
)
 
1305
 
 
1306
(define-method set_schema_name
 
1307
  (of-object "GConfEntry")
 
1308
  (c-name "gconf_entry_set_schema_name")
 
1309
  (return-type "none")
 
1310
  (parameters
 
1311
    '("const-gchar*" "name")
 
1312
  )
 
1313
)
 
1314
 
 
1315
(define-method set_is_default
 
1316
  (of-object "GConfEntry")
 
1317
  (c-name "gconf_entry_set_is_default")
 
1318
  (return-type "none")
 
1319
  (parameters
 
1320
    '("gboolean" "is_default")
 
1321
  )
 
1322
)
 
1323
 
 
1324
(define-method set_is_writable
 
1325
  (of-object "GConfEntry")
 
1326
  (c-name "gconf_entry_set_is_writable")
 
1327
  (return-type "none")
 
1328
  (parameters
 
1329
    '("gboolean" "is_writable")
 
1330
  )
 
1331
)
 
1332
 
 
1333