mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #625193: Move newly introduced search-by-id functions into src/engine.
Patch by Mike Evans. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19442 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
864311e8a3
commit
5e68bc0093
@ -55,6 +55,7 @@ libgncmod_engine_la_SOURCES = \
|
|||||||
gncOrder.c \
|
gncOrder.c \
|
||||||
gncOwner.c \
|
gncOwner.c \
|
||||||
gncTaxTable.c \
|
gncTaxTable.c \
|
||||||
|
gncIDSearch.c \
|
||||||
gncVendor.c
|
gncVendor.c
|
||||||
|
|
||||||
EXTRA_libgncmod_engine_la_SOURCES = iso-4217-currencies.c
|
EXTRA_libgncmod_engine_la_SOURCES = iso-4217-currencies.c
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#include "utils.h"
|
#include "gncIDSearch.h"
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
@ -20,36 +20,26 @@
|
|||||||
* Mike Evans <mikee@saxicola.co.uk>
|
* Mike Evans <mikee@saxicola.co.uk>
|
||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <regex.h>
|
#include <regex.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <glib/gstdio.h>
|
#include <glib/gstdio.h>
|
||||||
|
#include "qof.h"
|
||||||
#include "gnc-ui.h"
|
//#include "gncAddressP.h"
|
||||||
#include "gnc-ui-util.h"
|
|
||||||
#include "gnome-utils/gnc-gui-query.h"
|
|
||||||
#include "gncAddress.h"
|
|
||||||
#include "gncCustomerP.h"
|
#include "gncCustomerP.h"
|
||||||
#include "gncCustomer.h"
|
//#include "gncCustomer.h"
|
||||||
#include "gncInvoice.h"
|
#include "gncInvoice.h"
|
||||||
#include "gnc-exp-parser.h"
|
#include "gncBusiness.h"
|
||||||
|
|
||||||
// query
|
// query
|
||||||
#include "QueryCore.h"
|
#include "QueryCore.h"
|
||||||
#include "QueryNew.h"
|
#include "QueryNew.h"
|
||||||
#include "GNCId.h"
|
#include "GNCId.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef GNC_PLUGIN_invoice_import_invoice_import_H
|
#ifndef GNC_PLUGIN_invoice_import_invoice_import_H
|
||||||
#define GNC_PLUGIN_invoice_import_invoice_import_H
|
#define GNC_PLUGIN_invoice_import_invoice_import_H
|
||||||
|
|
||||||
|
|
||||||
GncCustomer * search_customer_on_id (QofBook *book, const gchar *id);
|
GncCustomer * search_customer_on_id (QofBook *book, const gchar *id);
|
||||||
GncInvoice * search_invoice_on_id (QofBook *book, const gchar *id);
|
GncInvoice * search_invoice_on_id (QofBook *book, const gchar *id);
|
||||||
GncInvoice * search_bill_on_id (QofBook *book, const gchar *id);
|
GncInvoice * search_bill_on_id (QofBook *book, const gchar *id);
|
@ -12,7 +12,7 @@ pkgpython_PYTHON = \
|
|||||||
pkgpyexec_LTLIBRARIES = _gnucash_core_c.la
|
pkgpyexec_LTLIBRARIES = _gnucash_core_c.la
|
||||||
|
|
||||||
_gnucash_core_c_la_SOURCES = \
|
_gnucash_core_c_la_SOURCES = \
|
||||||
gnucash_core.c utils.c
|
gnucash_core.c
|
||||||
|
|
||||||
_gnucash_core_c_la_CPPFLAGS = \
|
_gnucash_core_c_la_CPPFLAGS = \
|
||||||
$(PYTHON_CPPFLAGS) \
|
$(PYTHON_CPPFLAGS) \
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
#include "gncJob.h"
|
#include "gncJob.h"
|
||||||
#include "gncEntry.h"
|
#include "gncEntry.h"
|
||||||
#include "gncTaxTable.h"
|
#include "gncTaxTable.h"
|
||||||
#include "utils.h"
|
#include "gncIDSearch.h"
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
@ -177,7 +177,7 @@
|
|||||||
%include <gncJob.h>
|
%include <gncJob.h>
|
||||||
%include <gncEntry.h>
|
%include <gncEntry.h>
|
||||||
%include <gncTaxTable.h>
|
%include <gncTaxTable.h>
|
||||||
%include "utils.h"
|
%include <gncIDSearch.h>
|
||||||
|
|
||||||
|
|
||||||
%init %{
|
%init %{
|
||||||
|
Loading…
Reference in New Issue
Block a user