101 #define QOF_MOD_CHOICE "qof.choice"
108 #define QOF_TYPE_CHOICE "choice"
159 const char *param_name,
const gchar * QofIdTypeConst
the Core Object Registration/Lookup Interface
gboolean qof_choice_check(const char *choice_obj, const char *param_name, const char *choice)
Is the choice valid for this param_name?
gboolean qof_object_is_choice(QofIdTypeConst type)
Does this object contain a choice parameter?
gboolean qof_choice_create(char *type)
Set an object as using QOF_TYPE_CHOICE.
API for registering paramters on objects.
GList * qof_object_get_choices(QofIdType type, QofParam *param)
Return the list of all object types usable with this parameter.
gboolean qof_choice_add_class(const char *choice, char *add, char *param_name)
Add the choices for this parameter to the object.