GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
qofchoice.h File Reference

Linking one entity to other entities of many possible types. More...

#include "qofclass.h"
#include "qofobject.h"

Go to the source code of this file.

Macros

#define QOF_MOD_CHOICE   "qof.choice"
 
#define QOF_TYPE_CHOICE   "choice"
 Identify an object as containing a choice. More...
 
gboolean qof_object_is_choice (QofIdTypeConst type)
 Does this object contain a choice parameter? More...
 
gboolean qof_choice_create (char *type)
 Set an object as using QOF_TYPE_CHOICE.
 
gboolean qof_choice_add_class (const char *choice, char *add, char *param_name)
 Add the choices for this parameter to the object. More...
 
GList * qof_object_get_choices (QofIdType type, QofParam *param)
 Return the list of all object types usable with this parameter. More...
 
gboolean qof_choice_check (const char *choice_obj, const char *param_name, const char *choice)
 Is the choice valid for this param_name? More...
 

Detailed Description

Linking one entity to other entities of many possible types.

Author
Copyright (c) 2005 Neil Williams linux.nosp@m.@cod.nosp@m.ehelp.nosp@m..co..nosp@m.uk

Definition in file qofchoice.h.