rename qof_query_object to qof_class to better represent what this

thing actually is


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9425 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2003-09-27 17:00:20 +00:00
parent fd10a04277
commit 82a4f0acb4
15 changed files with 35 additions and 34 deletions

View File

@ -49,9 +49,9 @@
#include "qofbackend-p.h"
#include "qofbook.h"
#include "qofbook-p.h"
#include "qofclass.h"
#include "qofid-p.h"
#include "qofobject.h"
#include "qofqueryobject.h"
static short module = MOD_ACCOUNT;

View File

@ -44,11 +44,11 @@ libgncmod_engine_la_SOURCES = \
policy.c \
qofbackend.c \
qofbook.c \
qofclass.c \
qofid.c \
qofobject.c \
qofquery.c \
qofquerycore.c \
qofqueryobject.c \
qofsession.c
EXTRA_libgncmod_engine_la_SOURCES = iso-4217-currencies.c
@ -98,11 +98,11 @@ gncinclude_HEADERS = \
qof.h \
qofbackend.h \
qofbook.h \
qofclass.h \
qofid.h \
qofobject.h \
qofquery.h \
qofquerycore.h \
qofqueryobject.h \
qofsession.h
noinst_HEADERS = \
@ -126,11 +126,11 @@ noinst_HEADERS = \
policy-p.h \
qofbackend-p.h \
qofbook-p.h \
qofclass-p.h \
qofid-p.h \
qofobject-p.h \
qofquery-p.h \
qofquerycore-p.h \
qofqueryobject-p.h \
qofsession-p.h
noinst_SCRIPTS = iso-currencies-to-c

View File

@ -1,5 +1,5 @@
#include "qofqueryobject.h"
#include "qofclass.h"
#define query_object_def _QofParam
#define QueryObjectDef QofParam

View File

@ -51,9 +51,9 @@
#include "qofbackend-p.h"
#include "qofbook.h"
#include "qofbook-p.h"
#include "qofclass.h"
#include "qofid-p.h"
#include "qofobject.h"
#include "qofqueryobject.h"
/*
* Design notes on event-generation: transaction-modified-events

View File

@ -47,11 +47,11 @@
#include "gnc-trace.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "qofquery.h"
#include "qofqueryobject.h"
#include "qofbook.h"
#include "qofbook-p.h"
#include "qofclass.h"
#include "qofid-p.h"
#include "qofquery.h"
/* This static indicates the debugging module that this .o belongs to. */
static short module = MOD_LOT;

View File

@ -37,9 +37,9 @@
#include "qofbackend-p.h"
#include "qofbook.h"
#include "qofbook-p.h"
#include "qofclass.h"
#include "qofid-p.h"
#include "qofobject.h"
#include "qofqueryobject.h"
/* This static indicates the debugging module that this .o belongs to. */
static short module = MOD_PRICE;

View File

@ -31,10 +31,10 @@
#include "qof/kvp_frame.h"
#include "qof/qofbackend.h"
#include "qof/qofid.h"
#include "qof/qofquery.h"
#include "qof/qofqueryobject.h"
#include "qof/qofbook.h"
#include "qof/qofclass.h"
#include "qof/qofobject.h"
#include "qof/qofquery.h"
#include "qof/qofquerycore.h"
#include "qof/qofsession.h"

View File

@ -46,9 +46,9 @@
#include "qofbackend-p.h"
#include "qofbook.h"
#include "qofbook-p.h"
#include "qofclass.h"
#include "qofid-p.h"
#include "qofobject-p.h"
#include "qofqueryobject.h"
static short module = MOD_ENGINE;

View File

@ -1,5 +1,5 @@
/********************************************************************\
* qofqueryobject-p.h -- Private API for registering queriable objects *
* qofclass-p.h -- Private API for registering queriable objects *
* Copyright (C) 2002 Derek Atkins <warlord@MIT.EDU> *
* *
* This program is free software; you can redistribute it and/or *
@ -21,14 +21,14 @@
* *
\********************************************************************/
#ifndef QOF_QUERYOBJECTP_H
#define QOF_QUERYOBJECTP_H
#ifndef QOF_CLASSP_H
#define QOF_CLASSP_H
#include "qofqueryobject.h"
#include "qofclass.h"
void qof_class_init(void);
void qof_class_shutdown (void);
QofSortFunc qof_class_get_default_sort (QofIdTypeConst obj_name);
#endif /* QOF_QUERYOBJECTP_H */
#endif /* QOF_CLASSP_H */

View File

@ -1,5 +1,5 @@
/********************************************************************\
* QueryObject.c -- provide QOF Queriable data objects *
* qofclass.c -- provide QOF paramterized data objects *
* Copyright (C) 2002 Derek Atkins <warlord@MIT.EDU> *
* *
* This program is free software; you can redistribute it and/or *
@ -27,7 +27,8 @@
#include "gnc-engine-util.h"
#include "gnc-trace.h"
#include "qofqueryobject-p.h"
#include "qofclass.h"
#include "qofclass-p.h"
#include "qofquery.h"
static short module = MOD_QUERY;

View File

@ -35,13 +35,13 @@
#include "qofbackend-p.h"
#include "qofbook.h"
#include "qofbook-p.h"
#include "qofclass.h"
#include "qofclass-p.h"
#include "qofobject.h"
#include "qofquery.h"
#include "qofquery-p.h"
#include "qofquerycore.h"
#include "qofquerycore-p.h"
#include "qofqueryobject.h"
#include "qofqueryobject-p.h"
static short module = MOD_QUERY;

View File

@ -26,15 +26,15 @@
@author Copyright (C) 2002 Derek Atkins <warlord@MIT.EDU>
*/
#ifndef QOF_TYPE_H
#define QOF_TYPE_H
#ifndef QOF_QUERYCORE_H
#define QOF_QUERYCORE_H
#include <glib.h>
#include "gnc-numeric.h"
#include "gnc-date.h"
#include "kvp_frame.h"
#include "qofqueryobject.h"
#include "qofclass.h"
typedef struct _QofQueryPredData QofQueryPredData;

View File

@ -7,10 +7,10 @@
#include "gnc-engine-util.h"
#include "messages.h"
#include "qofclass-p.h"
#include "qofquery.h"
#include "qofquerycore.h"
#include "qofquerycore-p.h"
#include "qofqueryobject-p.h"
#include "test-stuff.h"

View File

@ -173,18 +173,18 @@ foreach (@files)
s/query_new_term/_QofQueryTerm/g;
s/query_new_sort/_QofQuerySort/g;
s/query_object_def/_QofQueryObject/g;
s/QueryObjectDef/QofQueryObject/g;
s/query_object_def/_QofParam/g;
s/QueryObjectDef/QofParam/g;
s/QueryAccess/QofAccessFunc/g;
s/gncQueryObjectRegister/qof_query_object_register/g;
s/gncQueryObjectParameterType/qof_query_object_parameter_type/g;
s/gncQueryObjectGetParameterGetter/qof_query_object_get_parameter_getter/g;
s/gncQueryObjectGetParameter/qof_query_object_get_parameter/g;
s/gncQueryObjectInit/qof_query_object_init/g;
s/gncQueryObjectShutdown/qof_query_object_shutdown/g;
s/gncQueryObjectDefaultSort/qof_query_object_default_sort/g;
s/gncQueryObjectRegister/qof_class_register/g;
s/gncQueryObjectParameterType/qof_class_get_parameter_type/g;
s/gncQueryObjectGetParameterGetter/qof_class_get_parameter_getter/g;
s/gncQueryObjectGetParameter/qof_class_get_parameter/g;
s/gncQueryObjectInit/qof_class_init/g;
s/gncQueryObjectShutdown/qof_class_shutdown/g;
s/gncQueryObjectDefaultSort/qof_class_get_default_sort/g;
s/xaccGUIDNULL/guid_null/g;
s/xaccGUIDMalloc/guid_malloc/g;