diff options
author | José Alburquerque <jaalburqu@svn.gnome.org> | 2012-09-04 17:12:41 -0400 |
---|---|---|
committer | José Alburquerque <jaalburqu@svn.gnome.org> | 2012-09-04 17:18:56 -0400 |
commit | d62e14c530c0eaeab7436ad947b5bfcc5ed1c885 (patch) | |
tree | 44165cbe624aea12f42242f32447b13b2c56123b /gio/src/gio_signals.defs | |
parent | d18411d611bf9b1f0b33cbefe361f54e97909949 (diff) | |
download | glibmm-d62e14c530c0eaeab7436ad947b5bfcc5ed1c885.tar.gz |
giomm: Add the ZlibDecompressor and the CharsetConverter classes.
* gio/src/charsetconverter.{ccg,hg}:
* gio/src/zlibdecompressor.{ccg,hg}:
* gio/src/filelist.am: Add the new sources wrapping the C functions
and properties in the corresponding classes. Include the sources in
the build.
* gio/src/gio_signals.defs:
* tools/extra_defs_gen/generate_defs_gio.cc: Add the GTypes for the C
types in the property and signal generation utility and regenerate the
defs file so the properties of the new classes can be wrapped.
* gio/src/zlibcompressor.hg: Make the constructor protected and not
private (typo).
Diffstat (limited to 'gio/src/gio_signals.defs')
-rw-r--r-- | gio/src/gio_signals.defs | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs index 2929c0a0..e45df18e 100644 --- a/gio/src/gio_signals.defs +++ b/gio/src/gio_signals.defs @@ -220,6 +220,35 @@ (construct-only #f) ) +;; From GCharsetConverter + +(define-property from-charset + (of-object "GCharsetConverter") + (prop-type "GParamString") + (docs "The character encoding to convert from") + (readable #t) + (writable #t) + (construct-only #t) +) + +(define-property to-charset + (of-object "GCharsetConverter") + (prop-type "GParamString") + (docs "The character encoding to convert to") + (readable #t) + (writable #t) + (construct-only #t) +) + +(define-property use-fallback + (of-object "GCharsetConverter") + (prop-type "GParamBoolean") + (docs "Use fallback (of form \<hexval>) for invalid bytes") + (readable #t) + (writable #t) + (construct-only #f) +) + ;; From GDataInputStream (define-property byte-order @@ -1133,6 +1162,26 @@ (construct-only #f) ) +;; From GZlibDecompressor + +(define-property format + (of-object "GZlibDecompressor") + (prop-type "GParamEnum") + (docs "The format of the compressed data") + (readable #t) + (writable #t) + (construct-only #t) +) + +(define-property file-info + (of-object "GZlibDecompressor") + (prop-type "GParamObject") + (docs "File info") + (readable #t) + (writable #f) + (construct-only #f) +) + ;; From GInetAddress (define-property family |