"Initial commit to Gerrit"
[profile/ivi/libgsf.git] / python / gsfgnome.defs
1 ;; -*- scheme -*-
2 ;; gsf-input-bonobo.[ch]
3
4 (define-object InputBonobo
5   (in-module "Gsf")
6   (parent "GsfInput")
7   (c-name "GsfInputBonobo")
8   (gtype-id "GSF_TYPE_INPUT_BONOBO")
9 )
10
11 (define-function gsf_input_bonobo_new
12   (c-name "gsf_input_bonobo_new")
13   (is-constructor-of "GsfInputBonobo")
14   (return-type "GsfInput*")
15   (parameters
16     '("Bonobo_Stream-const" "stream")
17     '("GError**" "err")
18   )
19 )
20
21 ;; gsf-input-gnomevfs.[ch]
22
23 (define-object InputVFS
24   (in-module "Gsf")
25   (parent "GsfInput")
26   (c-name "GsfInputGnomeVFS")
27   (gtype-id "GSF_TYPE_INPUT_GNOME_VFS")
28 )
29
30 (define-function gsf_input_gnomevfs_new
31   (c-name "gsf_input_gnomevfs_new")
32   (is-constructor-of "GsfInputGnomeVFS")
33   (return-type "GsfInput*")
34   (parameters
35     '("char-const*" "uri")
36     '("GError**" "error")
37   )
38 )
39
40 ;; From /home/jk/gnome2/libgsf/gsf/gsf-output-gnomevfs.[ch]
41
42 (define-object OutputVFS
43   (in-module "Gsf")
44   (parent "GsfOutput")
45   (c-name "GsfOutputGnomeVFS")
46   (gtype-id "GSF_TYPE_OUTPUT_GNOME_VFS")
47 )
48
49 (define-function gsf_output_gnomevfs_new
50   (c-name "gsf_output_gnomevfs_new")
51   (is-constructor-of "GsfOutputGnomeVFS")
52   (return-type "GsfOutput*")
53   (parameters
54     '("char-const*" "filename")
55     '("GError**" "err")
56   )
57 )