From 6d4bd4d720c44146a145f401e1bdaad565742629 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 18 Mar 2002 15:46:42 +0000 Subject: indentation --- src/i18n.hh | 42 +++++++++++++++++++++--------------------- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: i18n.hh,v 1.5 2002/02/17 18:41:44 fluxgen Exp $ +// $Id: i18n.hh,v 1.6 2002/03/18 15:46:42 fluxgen Exp $ -#ifndef I18N_HH -#define I18N_HH +#ifndef I18N_HH +#define I18N_HH -#ifdef NLS -# include "../nls/blackbox-nls.hh" +#ifdef NLS +# include "../nls/blackbox-nls.hh" #endif // NLS -#ifdef HAVE_LOCALE_H -# include +#ifdef HAVE_LOCALE_H +# include #endif // HAVE_LOCALE_H -#ifdef HAVE_NL_TYPES_H +#ifdef HAVE_NL_TYPES_H // this is needed for linux libc5 systems extern "C" { -# include +# include } #endif // HAVE_NL_TYPES_H #ifdef __CYGWIN32__ -# include "nl_types_cygnus.h" +# include "nl_types_cygnus.h" #endif class I18n { private: - char *locale, *catalog_filename; - int mb; - nl_catd catalog_fd; + char *locale, *catalog_filename; + int mb; + nl_catd catalog_fd; protected: - I18n(void); + I18n(void); public: //so old compilators dont complain ~I18n(void); static I18n *instance(); - inline const char *getLocale(void) const { return locale; } - inline const char *getCatalogFilename(void) const { return catalog_filename; } - - inline const int &multibyte(void) const { return mb; } + inline const char *getLocale(void) const { return locale; } + inline const char *getCatalogFilename(void) const { return catalog_filename; } + + inline const int multibyte(void) const { return mb; } - inline const nl_catd &getCatalogFd(void) const { return catalog_fd; } + inline const nl_catd &getCatalogFd(void) const { return catalog_fd; } - const char *getMessage(int, int, const char * = 0); - void openCatalog(const char *); + const char *getMessage(int, int, const char * = 0); + void openCatalog(const char *); }; -- cgit v0.11.2