96 #define QOF_MOD_CHOICE "qof-choice" 103 #define QOF_TYPE_CHOICE "choice"
the Core Object Description Interface
gboolean qof_choice_create(gchar *type)
Set an object as using QOF_TYPE_CHOICE.
API for registering parameters on objects.
GList * qof_object_get_choices(QofIdType type, QofParam *param)
Return the list of all object types usable with this parameter.
gboolean qof_object_is_choice(QofIdType type)
Does this object contain a choice parameter?
gboolean qof_choice_add_class(gchar *choice, gchar *add, gchar *param_name)
Add the choices for this parameter to the object.
gboolean qof_choice_check(gchar *choice_obj, gchar *param_name, gchar *choice)
Is the choice valid for this param_name?