aboutsummaryrefslogtreecommitdiff
path: root/src/i18n.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2002-12-01 13:42:15 (GMT)
committerrathnor <rathnor>2002-12-01 13:42:15 (GMT)
commit28b5c604490094e187494dcc566bd3d7a05a2c25 (patch)
tree8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/i18n.hh
parentb9134162f9633784d9097df18769a699a62650fe (diff)
downloadfluxbox-28b5c604490094e187494dcc566bd3d7a05a2c25.zip
fluxbox-28b5c604490094e187494dcc566bd3d7a05a2c25.tar.bz2
Indenting from tabs to emacs 4-space
Diffstat (limited to 'src/i18n.hh')
-rw-r--r--src/i18n.hh24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/i18n.hh b/src/i18n.hh
index 5e6bfa4..6f5febf 100644
--- a/src/i18n.hh
+++ b/src/i18n.hh
@@ -22,7 +22,7 @@
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.9 2002/08/15 10:52:16 fluxgen Exp $ 25// $Id: i18n.hh,v 1.10 2002/12/01 13:42:07 rathnor Exp $
26 26
27#ifndef I18N_HH 27#ifndef I18N_HH
28#define I18N_HH 28#define I18N_HH
@@ -54,19 +54,19 @@ extern "C" {
54 54
55class I18n { 55class I18n {
56public: 56public:
57 static I18n *instance(); 57 static I18n *instance();
58 inline const char *getLocale(void) const { return m_locale.c_str(); } 58 inline const char *getLocale(void) const { return m_locale.c_str(); }
59 inline bool multibyte(void) const { return m_multibyte; } 59 inline bool multibyte(void) const { return m_multibyte; }
60 inline const nl_catd &getCatalogFd(void) const { return m_catalog_fd; } 60 inline const nl_catd &getCatalogFd(void) const { return m_catalog_fd; }
61 61
62 const char *getMessage(int set_number, int message_number, const char *default_messsage = 0); 62 const char *getMessage(int set_number, int message_number, const char *default_messsage = 0);
63 void openCatalog(const char *); 63 void openCatalog(const char *);
64private: 64private:
65 I18n(); 65 I18n();
66 ~I18n(); 66 ~I18n();
67 std::string m_locale; 67 std::string m_locale;
68 bool m_multibyte; 68 bool m_multibyte;
69 nl_catd m_catalog_fd; 69 nl_catd m_catalog_fd;
70 70
71}; 71};
72 72