qofobject.h File Reference

Detailed Description

the Core Object Description Interface

Copyright (c) 2001,2002 Derek Atkins <warlord@MIT.EDU>

Copyright (c) 2006 Neil Williams <linux@codehelp.co.uk>

Definition in file qofobject.h.

#include "qofbook.h"
#include "qofid.h"
#include "qofchoice.h"

Go to the source code of this file.

Data Structures

struct  _QofObject


#define QOF_MOD_OBJECT   "qof-object"


typedef struct _QofObject QofObject
typedef void(* QofForeachCB )(gpointer obj, gpointer user_data)
typedef void(* QofForeachTypeCB )(QofObject *type, gpointer user_data)
typedef void(* QofForeachBackendTypeCB )(QofIdTypeConst type, gpointer backend_data, gpointer user_data)


gboolean qof_object_register (const QofObject *object)
const QofObjectqof_object_lookup (QofIdTypeConst type_name)
gpointer qof_object_new_instance (QofIdTypeConst type_name, QofBook *book)
const gchar * qof_object_get_type_label (QofIdTypeConst type_name)
const gchar * qof_object_printable (QofIdTypeConst type_name, gpointer instance)
void qof_object_foreach_type (QofForeachTypeCB cb, gpointer user_data)
void qof_object_foreach (QofIdTypeConst type_name, QofBook *book, QofEntityForeachCB cb, gpointer user_data)
gboolean qof_object_register_backend (QofIdTypeConst type_name, const gchar *backend_name, gpointer be_data)
gpointer qof_object_lookup_backend (QofIdTypeConst type_name, const gchar *backend_name)
void qof_object_foreach_backend (const char *backend_name, QofForeachBackendTypeCB cb, gpointer user_data)
Initialize the object registration subsystem

void qof_object_initialize (void)
void qof_object_shutdown (void)

Generated on Thu Jan 31 22:50:26 2008 for QOF by  doxygen 1.5.4