2015-09-29 14:08:48 -05:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; 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
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
2001-08-07 18:29:04 -05:00
|
|
|
(define-module (gnucash engine))
|
2002-01-09 15:41:02 -06:00
|
|
|
|
2017-12-19 16:13:01 -06:00
|
|
|
(eval-when
|
2014-10-31 04:07:10 -05:00
|
|
|
(compile load eval expand)
|
2017-12-19 16:13:01 -06:00
|
|
|
(load-extension "libgncmod-engine" "scm_init_sw_engine_module"))
|
2006-10-15 14:02:05 -05:00
|
|
|
(use-modules (sw_engine))
|
2001-08-07 18:29:04 -05:00
|
|
|
|
|
|
|
(export GNC-RND-FLOOR)
|
|
|
|
(export GNC-RND-CEIL)
|
|
|
|
(export GNC-RND-TRUNC)
|
|
|
|
(export GNC-RND-PROMOTE)
|
|
|
|
(export GNC-RND-ROUND-HALF-DOWN)
|
|
|
|
(export GNC-RND-ROUND-HALF-UP)
|
|
|
|
(export GNC-RND-ROUND)
|
|
|
|
(export GNC-RND-NEVER)
|
2011-11-20 03:33:13 -06:00
|
|
|
(export GNC-DENOM-AUTO)
|
2001-08-07 18:29:04 -05:00
|
|
|
(export GNC-DENOM-REDUCE)
|
|
|
|
(export GNC-DENOM-FIXED)
|
|
|
|
(export GNC-DENOM-LCD)
|
|
|
|
(export GNC-DENOM-SIGFIG)
|
|
|
|
(export GNC-DENOM-SIGFIGS)
|
2011-11-20 03:33:13 -06:00
|
|
|
(export GNC-ERROR-OK)
|
|
|
|
(export GNC-ERROR-ARG)
|
|
|
|
(export GNC-ERROR-OVERFLOW)
|
|
|
|
(export GNC-ERROR-DENOM-DIFF)
|
|
|
|
(export GNC-ERROR-REMAINDER)
|
2001-08-07 18:29:04 -05:00
|
|
|
(export <gnc-monetary>)
|
|
|
|
(export gnc:gnc-monetary?)
|
|
|
|
(export gnc:make-gnc-monetary)
|
|
|
|
(export gnc:gnc-monetary-commodity)
|
|
|
|
(export gnc:gnc-monetary-amount)
|
|
|
|
(export gnc:monetary-neg)
|
|
|
|
|
2006-04-13 22:49:14 -05:00
|
|
|
(export GNC_COMMODITY_NS_CURRENCY)
|
2001-08-07 18:29:04 -05:00
|
|
|
(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)
|
|
|
|
|
2001-10-02 04:10:35 -05:00
|
|
|
(export gnc:url->loaded-session)
|
2015-11-12 14:26:18 -06:00
|
|
|
|
|
|
|
;; engine-utilities.scm
|
2007-02-22 19:23:31 -06:00
|
|
|
(export gnc:account-map-descendants)
|
|
|
|
(export gnc:account-map-children)
|
2001-08-08 00:57:19 -05:00
|
|
|
|
2015-11-12 14:26:18 -06:00
|
|
|
(export account-full-name<?)
|
|
|
|
(export accounts-get-children-depth)
|
2015-11-12 14:38:49 -06:00
|
|
|
|
2019-06-08 11:04:50 -05:00
|
|
|
(load-from-path "gnucash/engine/gnc-numeric")
|
|
|
|
(load-from-path "gnucash/engine/commodity-table")
|
|
|
|
(load-from-path "gnucash/engine/engine-utilities")
|