aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-03-18 15:46:42 (GMT)
committerfluxgen <fluxgen>2002-03-18 15:46:42 (GMT)
commit6d4bd4d720c44146a145f401e1bdaad565742629 (patch)
tree4f03c5ef9050fa458ef41a39f53dd76c8be88775
parent50e3ef9b4a065b951dfd762be7b487d42c81222b (diff)
downloadfluxbox-6d4bd4d720c44146a145f401e1bdaad565742629.zip
fluxbox-6d4bd4d720c44146a145f401e1bdaad565742629.tar.bz2
indentation
-rw-r--r--src/i18n.hh42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/i18n.hh b/src/i18n.hh
index 15d5a92..dca2cde 100644
--- a/src/i18n.hh
+++ b/src/i18n.hh
@@ -22,54 +22,54 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: i18n.hh,v 1.5 2002/02/17 18:41:44 fluxgen Exp $ 25// $Id: i18n.hh,v 1.6 2002/03/18 15:46:42 fluxgen Exp $
26 26
27#ifndef I18N_HH 27#ifndef I18N_HH
28#define I18N_HH 28#define I18N_HH
29 29
30#ifdef NLS 30#ifdef NLS
31# include "../nls/blackbox-nls.hh" 31# include "../nls/blackbox-nls.hh"
32#endif // NLS 32#endif // NLS
33 33
34#ifdef HAVE_LOCALE_H 34#ifdef HAVE_LOCALE_H
35# include <locale.h> 35# include <locale.h>
36#endif // HAVE_LOCALE_H 36#endif // HAVE_LOCALE_H
37 37
38#ifdef HAVE_NL_TYPES_H 38#ifdef HAVE_NL_TYPES_H
39// this is needed for linux libc5 systems 39// this is needed for linux libc5 systems
40extern "C" { 40extern "C" {
41# include <nl_types.h> 41# include <nl_types.h>
42} 42}
43#endif // HAVE_NL_TYPES_H 43#endif // HAVE_NL_TYPES_H
44 44
45#ifdef __CYGWIN32__ 45#ifdef __CYGWIN32__
46# include "nl_types_cygnus.h" 46# include "nl_types_cygnus.h"
47#endif 47#endif
48 48
49class I18n { 49class I18n {
50private: 50private:
51 char *locale, *catalog_filename; 51 char *locale, *catalog_filename;
52 int mb; 52 int mb;
53 nl_catd catalog_fd; 53 nl_catd catalog_fd;
54 54
55 55
56protected: 56protected:
57 I18n(void); 57 I18n(void);
58 58
59public: 59public:
60 //so old compilators dont complain 60 //so old compilators dont complain
61 ~I18n(void); 61 ~I18n(void);
62 62
63 static I18n *instance(); 63 static I18n *instance();
64 inline const char *getLocale(void) const { return locale; } 64 inline const char *getLocale(void) const { return locale; }
65 inline const char *getCatalogFilename(void) const { return catalog_filename; } 65 inline const char *getCatalogFilename(void) const { return catalog_filename; }
66 66
67 inline const int &multibyte(void) const { return mb; } 67 inline const int multibyte(void) const { return mb; }
68 68
69 inline const nl_catd &getCatalogFd(void) const { return catalog_fd; } 69 inline const nl_catd &getCatalogFd(void) const { return catalog_fd; }
70 70
71 const char *getMessage(int, int, const char * = 0); 71 const char *getMessage(int, int, const char * = 0);
72 void openCatalog(const char *); 72 void openCatalog(const char *);
73}; 73};
74 74
75 75