/* * $Id: tmproperty.h,v 1.1.1.1 2004/08/25 19:21:34 jan Exp $ * * Copyright (c) 2002 Jan Algermissen * See the file "COPYING" for copying permission. * */ #ifndef TM_PROPERTY_INCLUDED #define TM_PROPERTY_INCLUDED #ifdef __cplusplus extern "C" { #endif /** Property Definition. * A data type to hold properties parsed from TMA * definitons. * */ typedef struct TMProperty *TMProperty; #include "tmtk.h" #include "tmmodel.h" /** \defgroup TMProperty * * @{ */ /** \enum Kalatschi * These are values for indicating property type. * FIXME */ enum { TM_SIDP, TM_OP }; #include "tmvaluetype.h" struct TMProperty { TMModel model; char *name; TMValueType value_type; int type; char *description; char *fullname; char *combination_code; char *equality_code; }; /** Get the value type of a property. * */ #define tm_property_get_valuetype(prop) (prop)->value_type /** @} */ #ifdef __cplusplus } #endif #endif /* TM_PROPERTY_INCLUDED */