qofobject.h File Reference


Detailed Description

the Core Object Registration/Lookup Interface

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

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

Initialize the object registration subsystem

void qof_object_initialize (void)
void qof_object_shutdown (void)

Defines

#define QOF_OBJECT_VERSION   3
#define QOF_MOD_OBJECT   "qof-object"

Typedefs

typedef _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)

Functions

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 char * qof_object_get_type_label (QofIdTypeConst type_name)
const char * 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 char *backend_name, gpointer be_data)
gpointer qof_object_lookup_backend (QofIdTypeConst type_name, const char *backend_name)
void qof_object_foreach_backend (const char *backend_name, QofForeachBackendTypeCB cb, gpointer user_data)


Generated on Fri May 12 18:00:34 2006 for QOF by  doxygen 1.4.4