2006-10-15 14:02:05 -05:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;;; core-utils.scm
|
|
|
|
;;; Guile module for core-utils
|
|
|
|
;;;
|
|
|
|
;;; Copyright 2006 Chris Shoemaker <c.shoemaker@cox.net>
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
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
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
2006-10-15 14:02:05 -05:00
|
|
|
|
|
|
|
(define-module (gnucash core-utils))
|
2012-12-18 05:33:58 -06:00
|
|
|
|
|
|
|
;; Guile 2 needs to find the symbols from the extension at compile time already
|
2017-12-19 16:13:01 -06:00
|
|
|
(eval-when
|
2013-11-29 13:18:08 -06:00
|
|
|
(compile load eval expand)
|
2019-10-01 05:51:38 -05:00
|
|
|
(load-extension "libgnucash-guile" "gnc_guile_bindings_init"))
|
2012-12-18 05:33:58 -06:00
|
|
|
|
2006-10-15 14:02:05 -05:00
|
|
|
(use-modules (sw_core_utils))
|
|
|
|
|
2010-10-13 11:11:44 -05:00
|
|
|
(re-export gnc-path-get-bindir)
|
2019-04-04 13:34:55 -05:00
|
|
|
(re-export gnc-path-get-scmdir)
|
|
|
|
(re-export gnc-path-get-reportsdir)
|
2010-08-29 14:02:57 -05:00
|
|
|
(re-export gnc-path-get-stdreportsdir)
|
2012-12-12 11:42:33 -06:00
|
|
|
(re-export gnc-path-find-localized-html-file)
|
2017-08-22 09:33:34 -05:00
|
|
|
(re-export gnc-build-userdata-path)
|
2019-06-14 02:21:15 -05:00
|
|
|
(re-export gnc-build-scm-path)
|
2010-09-08 02:14:05 -05:00
|
|
|
(re-export gnc-build-report-path)
|
|
|
|
(re-export gnc-build-stdreports-path)
|
2019-04-04 13:34:55 -05:00
|
|
|
(re-export gnc-build-reports-path)
|
|
|
|
(re-export gnc-file-path-absolute)
|
2008-04-02 13:10:35 -05:00
|
|
|
(re-export gnc-utf8?)
|
2007-05-29 11:24:38 -05:00
|
|
|
(re-export gnc-utf8-strip-invalid-strdup)
|
2008-04-01 17:07:28 -05:00
|
|
|
(re-export gnc-locale-from-utf8)
|
2008-04-02 13:10:35 -05:00
|
|
|
(re-export gnc-locale-to-utf8)
|
2007-02-19 17:45:15 -06:00
|
|
|
(re-export gnc-scm-log-warn)
|
|
|
|
(re-export gnc-scm-log-error)
|
|
|
|
(re-export gnc-scm-log-msg)
|
|
|
|
(re-export gnc-scm-log-debug)
|
2011-02-09 13:52:21 -06:00
|
|
|
(re-export gnc-locale-default-iso-currency-code)
|
2019-06-14 10:43:52 -05:00
|
|
|
(re-export gnc-locale-name)
|
2013-10-07 09:32:02 -05:00
|
|
|
|
|
|
|
(re-export gnc-prefs-set-bool)
|
|
|
|
(re-export gnc-prefs-set-int)
|
|
|
|
(re-export gnc-prefs-set-int64)
|
|
|
|
(re-export gnc-prefs-set-float)
|
|
|
|
(re-export gnc-prefs-set-string)
|
|
|
|
(re-export gnc-prefs-set-coords)
|
2018-02-02 11:46:58 -06:00
|
|
|
(re-export gnc-prefs-get-string)
|
2019-05-17 13:14:58 -05:00
|
|
|
(re-export gnc-prefs-is-extra-enabled)
|
|
|
|
(re-export gnc-prefs-is-debugging-enabled)
|
2013-12-08 12:02:25 -06:00
|
|
|
|
|
|
|
(define-public gnc:version (gnc-version))
|