michael@0: /* michael@0: * Copyright © 2011 Google, Inc. michael@0: * michael@0: * This is part of HarfBuzz, a text shaping library. michael@0: * michael@0: * Permission is hereby granted, without written agreement and without michael@0: * license or royalty fees, to use, copy, modify, and distribute this michael@0: * software and its documentation for any purpose, provided that the michael@0: * above copyright notice and the following two paragraphs appear in michael@0: * all copies of this software. michael@0: * michael@0: * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR michael@0: * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES michael@0: * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN michael@0: * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH michael@0: * DAMAGE. michael@0: * michael@0: * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, michael@0: * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND michael@0: * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS michael@0: * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO michael@0: * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. michael@0: * michael@0: * Google Author(s): Behdad Esfahbod michael@0: */ michael@0: michael@0: #ifndef HB_GOBJECT_H_IN michael@0: #error "Include instead." michael@0: #endif michael@0: michael@0: #ifndef HB_GOBJECT_STRUCTS_H michael@0: #define HB_GOBJECT_STRUCTS_H michael@0: michael@0: #include "hb.h" michael@0: michael@0: #include michael@0: michael@0: HB_BEGIN_DECLS michael@0: michael@0: michael@0: /* Object types */ michael@0: michael@0: GType hb_gobject_blob_get_type (void); michael@0: #define HB_GOBJECT_TYPE_BLOB (hb_gobject_blob_get_type ()) michael@0: michael@0: GType hb_gobject_buffer_get_type (void); michael@0: #define HB_GOBJECT_TYPE_BUFFER (hb_gobject_buffer_get_type ()) michael@0: michael@0: GType hb_gobject_face_get_type (void); michael@0: #define HB_GOBJECT_TYPE_FACE (hb_gobject_face_get_type ()) michael@0: michael@0: GType hb_gobject_font_get_type (void); michael@0: #define HB_GOBJECT_TYPE_FONT (hb_gobject_font_get_type ()) michael@0: michael@0: GType hb_gobject_font_funcs_get_type (void); michael@0: #define HB_GOBJECT_TYPE_FONT_FUNCS (hb_gobject_font_funcs_get_type ()) michael@0: michael@0: GType hb_gobject_set_get_type (void); michael@0: #define HB_GOBJECT_TYPE_SET (hb_gobject_set_get_type ()) michael@0: michael@0: GType hb_gobject_shape_plan_get_type (void); michael@0: #define HB_GOBJECT_TYPE_SHAPE_PLAN (hb_gobject_shape_plan_get_type ()) michael@0: michael@0: GType hb_gobject_unicode_funcs_get_type (void); michael@0: #define HB_GOBJECT_TYPE_UNICODE_FUNCS (hb_gobject_unicode_funcs_get_type ()) michael@0: michael@0: /* Value types */ michael@0: michael@0: GType hb_gobject_feature_get_type (void); michael@0: #define HB_GOBJECT_TYPE_FEATURE (hb_gobject_feature_get_type ()) michael@0: michael@0: GType hb_gobject_glyph_info_get_type (void); michael@0: #define HB_GOBJECT_TYPE_GLYPH_INFO (hb_gobject_glyph_info_get_type ()) michael@0: michael@0: GType hb_gobject_glyph_position_get_type (void); michael@0: #define HB_GOBJECT_TYPE_GLYPH_POSITION (hb_gobject_glyph_position_get_type ()) michael@0: michael@0: GType hb_gobject_segment_properties_get_type (void); michael@0: #define HB_GOBJECT_TYPE_SEGMENT_PROPERTIES (hb_gobject_segment_properties_get_type ()) michael@0: michael@0: GType hb_gobject_user_data_key_get_type (void); michael@0: #define HB_GOBJECT_TYPE_USER_DATA_KEY (hb_gobject_user_data_key_get_type ()) michael@0: michael@0: /* Currently gobject-introspection doesn't understand that hb_language_t michael@0: * can be passed by-value. As such we box it up. May remove in the michael@0: * future. michael@0: * michael@0: * https://bugzilla.gnome.org/show_bug.cgi?id=707656 michael@0: */ michael@0: GType hb_gobject_language_get_type (void); michael@0: #define HB_GOBJECT_TYPE_LANGUAGE (hb_gobject_language_get_type ()) michael@0: michael@0: HB_END_DECLS michael@0: michael@0: #endif /* HB_GOBJECT_H */