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