all repos — fluxbox @ 6d4bd4d720c44146a145f401e1bdaad565742629

custom fork of the fluxbox windowmanager

indentation
fluxgen fluxgen
commit

6d4bd4d720c44146a145f401e1bdaad565742629

parent

50e3ef9b4a065b951dfd762be7b487d42c81222b

1 files changed, 21 insertions(+), 21 deletions(-)

jump to
M src/i18n.hhsrc/i18n.hh

@@ -22,54 +22,54 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// 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 <locale.h> +#ifdef HAVE_LOCALE_H +# include <locale.h> #endif // HAVE_LOCALE_H -#ifdef HAVE_NL_TYPES_H +#ifdef HAVE_NL_TYPES_H // this is needed for linux libc5 systems extern "C" { -# include <nl_types.h> +# include <nl_types.h> } #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 *); };