1 /* Fo 2 * fo-length-range-private.h: Structures private to length-range datatype 3 * 4 * Copyright (C) 2001 Sun Microsystems 5 * Copyright (C) 2007 Menteith Consulting Ltd 6 * 7 * See COPYING for the status of this software. 8 */ 9 10 #ifndef __FO_LENGTH_RANGE_PRIVATE_H__ 11 #define __FO_LENGTH_RANGE_PRIVATE_H__ 12 13 #include <libfo/datatype/fo-datatype.h> 14 #include <libfo/datatype/fo-datatype-private.h> 15 16 G_BEGIN_DECLS 17 18 struct _FoLengthRange 19 { 20 FoDatatype parent_instance; 21 22 FoDatatype *minimum; 23 FoDatatype *optimum; 24 FoDatatype *maximum; 25 }; 26 27 struct _FoLengthRangeClass 28 { 29 FoDatatypeClass parent_class; 30 FoDatatype* (*resolve) (FoDatatype *shortform, 31 FoDatatype *minimum, 32 FoDatatype *optimum, 33 FoDatatype *maximum, 34 FoDatatype *hundred_percent, 35 GError **error); 36 }; 37 38 G_END_DECLS 39 40 #endif /* !__FO_LENGTH_RANGE_PRIVATE_H__ */ 41