1 /* 2 * Copyright 2011 Google, Inc. 3 * 4 * This is part of HarfBuzz, a text shaping library. 5 * 6 * Permission is hereby granted, without written agreement and without 7 * license or royalty fees, to use, copy, modify, and distribute this 8 * software and its documentation for any purpose, provided that the 9 * above copyright notice and the following two paragraphs appear in 10 * all copies of this software. 11 * 12 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR 13 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 14 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN 15 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 16 * DAMAGE. 17 * 18 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, 19 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 20 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS 21 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO 22 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 23 * 24 * Google Author(s): Behdad Esfahbod 25 */ 26 27 #ifndef HB_GOBJECT_H_IN 28 #error "Include <hb-gobject.h> instead." 29 #endif 30 31 #ifndef HB_GOBJECT_STRUCTS_H 32 #define HB_GOBJECT_STRUCTS_H 33 34 #include "hb.h" 35 36 #include <glib-object.h> 37 38 HB_BEGIN_DECLS 39 40 41 /* Object types */ 42 43 /** 44 * hb_gobject_blob_get_type: 45 * 46 * Since: 0.9.2 47 **/ 48 HB_EXTERN GType 49 hb_gobject_blob_get_type (void); 50 #define HB_GOBJECT_TYPE_BLOB (hb_gobject_blob_get_type ()) 51 52 /** 53 * hb_gobject_buffer_get_type: 54 * 55 * Since: 0.9.2 56 **/ 57 HB_EXTERN GType 58 hb_gobject_buffer_get_type (void); 59 #define HB_GOBJECT_TYPE_BUFFER (hb_gobject_buffer_get_type ()) 60 61 /** 62 * hb_gobject_face_get_type: 63 * 64 * Since: 0.9.2 65 **/ 66 HB_EXTERN GType 67 hb_gobject_face_get_type (void); 68 #define HB_GOBJECT_TYPE_FACE (hb_gobject_face_get_type ()) 69 70 /** 71 * hb_gobject_font_get_type: 72 * 73 * Since: 0.9.2 74 **/ 75 HB_EXTERN GType 76 hb_gobject_font_get_type (void); 77 #define HB_GOBJECT_TYPE_FONT (hb_gobject_font_get_type ()) 78 79 /** 80 * hb_gobject_font_funcs_get_type: 81 * 82 * Since: 0.9.2 83 **/ 84 HB_EXTERN GType 85 hb_gobject_font_funcs_get_type (void); 86 #define HB_GOBJECT_TYPE_FONT_FUNCS (hb_gobject_font_funcs_get_type ()) 87 88 HB_EXTERN GType 89 hb_gobject_set_get_type (void); 90 #define HB_GOBJECT_TYPE_SET (hb_gobject_set_get_type ()) 91 92 HB_EXTERN GType 93 hb_gobject_map_get_type (void); 94 #define HB_GOBJECT_TYPE_MAP (hb_gobject_map_get_type ()) 95 96 HB_EXTERN GType 97 hb_gobject_shape_plan_get_type (void); 98 #define HB_GOBJECT_TYPE_SHAPE_PLAN (hb_gobject_shape_plan_get_type ()) 99 100 /** 101 * hb_gobject_unicode_funcs_get_type: 102 * 103 * Since: 0.9.2 104 **/ 105 HB_EXTERN GType 106 hb_gobject_unicode_funcs_get_type (void); 107 #define HB_GOBJECT_TYPE_UNICODE_FUNCS (hb_gobject_unicode_funcs_get_type ()) 108 109 /* Value types */ 110 111 HB_EXTERN GType 112 hb_gobject_feature_get_type (void); 113 #define HB_GOBJECT_TYPE_FEATURE (hb_gobject_feature_get_type ()) 114 115 HB_EXTERN GType 116 hb_gobject_glyph_info_get_type (void); 117 #define HB_GOBJECT_TYPE_GLYPH_INFO (hb_gobject_glyph_info_get_type ()) 118 119 HB_EXTERN GType 120 hb_gobject_glyph_position_get_type (void); 121 #define HB_GOBJECT_TYPE_GLYPH_POSITION (hb_gobject_glyph_position_get_type ()) 122 123 HB_EXTERN GType 124 hb_gobject_segment_properties_get_type (void); 125 #define HB_GOBJECT_TYPE_SEGMENT_PROPERTIES (hb_gobject_segment_properties_get_type ()) 126 127 HB_EXTERN GType 128 hb_gobject_user_data_key_get_type (void); 129 #define HB_GOBJECT_TYPE_USER_DATA_KEY (hb_gobject_user_data_key_get_type ()) 130 131 HB_EXTERN GType 132 hb_gobject_ot_math_glyph_variant_get_type (void); 133 #define HB_GOBJECT_TYPE_OT_MATH_GLYPH_VARIANT (hb_gobject_ot_math_glyph_variant_get_type ()) 134 135 HB_EXTERN GType 136 hb_gobject_ot_math_glyph_part_get_type (void); 137 #define HB_GOBJECT_TYPE_OT_MATH_GLYPH_PART (hb_gobject_ot_math_glyph_part_get_type ()) 138 139 140 HB_END_DECLS 141 142 #endif /* HB_GOBJECT_H */ 143