summaryrefslogtreecommitdiff
path: root/s_lang.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
commitd9c4a95345bd758e45196b29368bd2ff0f2790e3 (patch)
tree8e7aa76f3f2a3a064f440f7410e4ec01cd34a78f /s_lang.h
parentd4c9f10efe815af146438cafb694d16da0e5650a (diff)
tagging ychat-0.5.2ychat-0.5.2
Diffstat (limited to 's_lang.h')
-rw-r--r--s_lang.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/s_lang.h b/s_lang.h
index 03851b9..551537a 100644
--- a/s_lang.h
+++ b/s_lang.h
@@ -5,21 +5,23 @@
#include "s_conf.h"
using namespace std;
-class s_lang
+class s_lang
{
private:
- static lang* obj;
+ static lang* obj;
public:
- static void init()
- {
- obj = new lang( s_conf::get().get_val( "LANGUAGE" ) );
- }
+ static void init()
+ {
+ obj = new lang( s_conf::get
+ ().get_val( "LANGUAGE" ) );
+ }
- static lang& get()
- {
- return *obj;
- }
+ static lang& get
+ ()
+ {
+ return *obj;
+ }
};