r19434 - gnucash/trunk - Remove unused file from both SVN and POTFILES.in.
Christian Stimming
cstim at code.gnucash.org
Sun Aug 15 05:05:05 EDT 2010
Author: cstim
Date: 2010-08-15 05:05:05 -0400 (Sun, 15 Aug 2010)
New Revision: 19434
Trac: http://svn.gnucash.org/trac/changeset/19434
Removed:
gnucash/trunk/src/engine/gncBusPeriod.c
Modified:
gnucash/trunk/po/POTFILES.in
Log:
Remove unused file from both SVN and POTFILES.in.
Modified: gnucash/trunk/po/POTFILES.in
===================================================================
--- gnucash/trunk/po/POTFILES.in 2010-08-15 00:03:13 UTC (rev 19433)
+++ gnucash/trunk/po/POTFILES.in 2010-08-15 09:05:05 UTC (rev 19434)
@@ -151,7 +151,6 @@
src/engine/gncBillTerm.c
src/engine/gnc-budget.c
src/engine/gncBusGuile.c
-src/engine/gncBusPeriod.c
src/engine/gnc-commodity.c
src/engine/gncCustomer.c
src/engine/gncEmployee.c
Deleted: gnucash/trunk/src/engine/gncBusPeriod.c
===================================================================
--- gnucash/trunk/src/engine/gncBusPeriod.c 2010-08-15 00:03:13 UTC (rev 19433)
+++ gnucash/trunk/src/engine/gncBusPeriod.c 2010-08-15 09:05:05 UTC (rev 19434)
@@ -1,81 +0,0 @@
-
-/*
-XXX TODO:
--- contemplate a per-collection (per type) edit/commmit-edit,
- clone, dirty, etc. functions some more ...
-
--- turn clone into a generic object callback, so that
- the ObtainTwin could be qof_instance_obtain_twin,
- a generic function. (right now its copied everywhere)
-
--- contemplate copy-on-write, and the true need for cloning,
- and how to avoid excess cloning for the SQL backend.
-
--- billterm and taxtables are incompletely cloned, not sure
- what to do with refcount, ask warlord, need to explore.
-
--- The following business objects have an id/name/desc/active
- this could be abstracted into an common object.
- vendor (customer)
- bill term (but bill terms doesn't have id or active)
- job
-
--- gncVendor should be a base class to gncCustomer (they're
- identical, but customer adds more stuff).
-
- Employee could be base class for vendor, its got some of the
- things (name, addr, active, currency)
-
--- TaxTable and BillTerm have common parent/child code.
- this could be abstracted into common code.
-
-=======
--- finish clone of invoice, entry,
-
-
--- jobs in the vendor job list that are no longer active should
- be kept back in old book, removed from new book??
- ditto jobs in the customer list ??
-
--- closed orders can be removed from new book ?
-*/
-
-
-
-#include "gncBusiness.h"
-
-/** Copy all customers from one book to another. Do this
- * by iterating over all existing customers in the src book,
- * and creating a clone for the dest book. */
-
-void
-gncCustomerCopyAll (QofBook *dest_book, QofBook *src_book)
-{
-
-}
-
-static void
-bill_term_copy_helper (gpointer object, gpointer user_data)
-{
- QofBook *dest_book = user_data;
- gncBillTerm *src_term = object;
- gncCloneBillTerm (src_term, dest_book);
-}
-
-void
-gncBillTermCopyAll (QofBook *dest_book, QofBook *src_book)
-{
- qof_object_foreach (GNC_BILLTERM_MODULE_NAME,
- src_book, bill_term_copy_helper, dest_book);
-}
-
-
-
-partition (QofBook *dest_book, QofBook *src_book)
-{
-
- /* Copy all bill terms first, since the CustomerCopy expects
- * these to be in place already. */
- /* XXX not strictly needed, the customer can pull their own .. ? */
- gncBillTermCopyAll (dest_book, src_book);
-}
More information about the gnucash-changes
mailing list