mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-26 02:40:43 -06:00
Drop commodity-table.scm, no longer required after adjusting qif-dialog-utils
This commit is contained in:
parent
716d746315
commit
09296dfb96
@ -85,7 +85,6 @@ gnc_add_scheme_targets(scm-core-utils
|
||||
DEPENDS "${GUILE_DEPENDS}")
|
||||
|
||||
set (engine_SCHEME_0
|
||||
commodity-table.scm
|
||||
gnc-numeric.scm
|
||||
business-core.scm
|
||||
)
|
||||
|
@ -1,44 +0,0 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;; commodity-table.scm
|
||||
;;; load and save commodity tables
|
||||
;;;
|
||||
;;; Bill Gribble <grib@billgribble.com> 3 Aug 2000
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; This program is free software; you can redistribute it and/or
|
||||
;; modify it under the terms of the GNU General Public License as
|
||||
;; published by the Free Software Foundation; either version 2 of
|
||||
;; the License, or (at your option) any later version.
|
||||
;;
|
||||
;; This program is distributed in the hope that it will be useful,
|
||||
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;; GNU General Public License for more details.
|
||||
;;
|
||||
;; You should have received a copy of the GNU General Public License
|
||||
;; along with this program; if not, contact:
|
||||
;;
|
||||
;; Free Software Foundation Voice: +1-617-542-5942
|
||||
;; 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
|
||||
;; Boston, MA 02110-1301, USA gnu@gnu.org
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(define-module (gnucash engine commodity-table))
|
||||
|
||||
(export GNC_COMMODITY_NS_CURRENCY)
|
||||
(export GNC_COMMODITY_NS_NASDAQ)
|
||||
(export GNC_COMMODITY_NS_NYSE)
|
||||
(export GNC_COMMODITY_NS_AMEX)
|
||||
(export GNC_COMMODITY_NS_EUREX)
|
||||
(export GNC_COMMODITY_NS_MUTUAL)
|
||||
|
||||
(define GNC_COMMODITY_NS_CURRENCY "CURRENCY")
|
||||
|
||||
;; If you change the C side, change this too.
|
||||
(define GNC_COMMODITY_NS_AMEX "AMEX")
|
||||
(define GNC_COMMODITY_NS_NYSE "NYSE")
|
||||
(define GNC_COMMODITY_NS_NASDAQ "NASDAQ")
|
||||
(define GNC_COMMODITY_NS_EUREX "EUREX")
|
||||
(define GNC_COMMODITY_NS_MUTUAL "FUND")
|
||||
(define GNC_COMMODITY_NS_ASX "ASX")
|
||||
(define GNC_COMMODITY_NS_NONCURRENCY (gettext "ALL NON-CURRENCY"))
|
@ -28,7 +28,6 @@
|
||||
|
||||
(load-and-reexport (sw_engine)
|
||||
(gnucash engine business-core)
|
||||
(gnucash engine commodity-table)
|
||||
(gnucash engine gnc-numeric))
|
||||
|
||||
(export gnc-pricedb-lookup-latest-before-t64)
|
||||
|
@ -270,7 +270,7 @@
|
||||
(default-currency
|
||||
(gnc-commodity-table-find-full
|
||||
(gnc-commodity-table-get-table (gnc-get-current-book))
|
||||
GNC_COMMODITY_NS_CURRENCY default-currency-name))
|
||||
(GNC-COMMODITY-NS-CURRENCY) default-currency-name))
|
||||
(sorted-accounts-list '())
|
||||
(markable-xtns '())
|
||||
(sorted-qif-files-list (sort qif-files-list
|
||||
|
@ -435,7 +435,7 @@ the option '~a'."))
|
||||
(if (string? currency)
|
||||
(gnc-commodity-table-lookup
|
||||
(gnc-commodity-table-get-table (gnc-get-current-book))
|
||||
GNC_COMMODITY_NS_CURRENCY currency)
|
||||
(GNC-COMMODITY-NS-CURRENCY) currency)
|
||||
currency))
|
||||
|
||||
(let* ((value (currency->scm default-value))
|
||||
@ -561,7 +561,7 @@ the option '~a'."))
|
||||
(define (commodity->scm commodity)
|
||||
(if (string? commodity)
|
||||
(list 'commodity-scm
|
||||
GNC_COMMODITY_NS_CURRENCY
|
||||
(GNC-COMMODITY-NS-CURRENCY)
|
||||
commodity)
|
||||
(list 'commodity-scm
|
||||
(gnc-commodity-get-namespace commodity)
|
||||
@ -1560,7 +1560,7 @@ the option '~a'."))
|
||||
(if (string? currency-string)
|
||||
(gnc-commodity-table-lookup
|
||||
(gnc-commodity-table-get-table (gnc-get-current-book))
|
||||
GNC_COMMODITY_NS_CURRENCY currency-string)
|
||||
(GNC-COMMODITY-NS-CURRENCY) currency-string)
|
||||
#f))
|
||||
|
||||
(define (currency? val)
|
||||
|
@ -1,7 +1,6 @@
|
||||
# This is a list of files which contain translatable strings.
|
||||
# This file was autogenerated by cmake.
|
||||
bindings/guile/business-core.scm
|
||||
bindings/guile/commodity-table.scm
|
||||
bindings/guile/core-utils.scm
|
||||
bindings/guile/engine.scm
|
||||
bindings/guile/glib-guile.c
|
||||
|
Loading…
Reference in New Issue
Block a user