X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgzlibcompressor.h;h=4bda6931aea4ffe2cd101fe183ef830a4cc0c528;hb=a3d86afa81ff34ce797a3928fd619ead219a37af;hp=0e14a80f306e61b2b10ecb320bd8a09ee4714f04;hpb=73007021796f33d7ccec4e5f2bb2b2f8660347f2;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gzlibcompressor.h b/gio/gzlibcompressor.h index 0e14a80..4bda693 100644 --- a/gio/gzlibcompressor.h +++ b/gio/gzlibcompressor.h @@ -13,21 +13,20 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . * * Author: Alexander Larsson */ +#ifndef __G_ZLIB_COMPRESSOR_H__ +#define __G_ZLIB_COMPRESSOR_H__ + #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) #error "Only can be included directly." #endif -#ifndef __G_ZLIB_COMPRESSOR_H__ -#define __G_ZLIB_COMPRESSOR_H__ - #include +#include G_BEGIN_DECLS @@ -45,11 +44,19 @@ struct _GZlibCompressorClass GObjectClass parent_class; }; +GLIB_AVAILABLE_IN_ALL GType g_zlib_compressor_get_type (void) G_GNUC_CONST; +GLIB_AVAILABLE_IN_ALL GZlibCompressor *g_zlib_compressor_new (GZlibCompressorFormat format, int level); +GLIB_AVAILABLE_IN_ALL +GFileInfo *g_zlib_compressor_get_file_info (GZlibCompressor *compressor); +GLIB_AVAILABLE_IN_ALL +void g_zlib_compressor_set_file_info (GZlibCompressor *compressor, + GFileInfo *file_info); + G_END_DECLS #endif /* __G_ZLIB_COMPRESSOR_H__ */