GnuCash
2.6.99
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
core-utils
gnc-locale-utils.h
1
/********************************************************************\
2
* gnc-locale-utils.h -- Locale manipulation functions *
3
* Copyright (C) 2000 Dave Peticolas <
[email protected]
> *
4
* *
5
* This program is free software; you can redistribute it and/or *
6
* modify it under the terms of the GNU General Public License as *
7
* published by the Free Software Foundation; either version 2 of *
8
* the License, or (at your option) any later version. *
9
* *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
14
* *
15
* You should have received a copy of the GNU General Public License*
16
* along with this program; if not, contact: *
17
* *
18
* Free Software Foundation Voice: +1-617-542-5942 *
19
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
20
* Boston, MA 02110-1301, USA
[email protected]
*
21
\********************************************************************/
22
#ifndef GNC_LOCALE_UTILS_H
23
#define GNC_LOCALE_UTILS_H
24
25
#include <glib.h>
26
#include <locale.h>
27
28
/* The gnc_localeconv() subroutine returns an lconv structure
29
* containing locale information. If no locale is set, the structure
30
* is given default (en_US) values. */
31
struct
lconv * gnc_localeconv (
void
);
32
33
34
/* Returns the default ISO currency string of the current locale. */
35
const
char
* gnc_locale_default_iso_currency_code (
void
);
36
37
/* Returns the number of decimal place to print in the current locale */
38
int
gnc_locale_decimal_places (
void
);
39
54
void
gnc_push_locale (
int
category,
const
char
*locale);
55
59
void
gnc_pop_locale (
int
category);
60
61
62
#endif
/* GNC_LOCALE_UTILS_H */
Generated by
1.8.6