summaryrefslogtreecommitdiff
path: root/bindings/swig/localemgr.i
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/swig/localemgr.i')
-rw-r--r--bindings/swig/localemgr.i25
1 files changed, 0 insertions, 25 deletions
diff --git a/bindings/swig/localemgr.i b/bindings/swig/localemgr.i
deleted file mode 100644
index 8fb7487..0000000
--- a/bindings/swig/localemgr.i
+++ /dev/null
@@ -1,25 +0,0 @@
-%{
-#include <localemgr.h>
-
-using namespace std;
-using namespace sword;
-%}
-
-typedef map < SWBuf, SWLocale *, less < string > >LocaleMap;
-
-class LocaleMgr {
-public:
- LocaleMgr (const char *iConfigPath = 0);
- virtual ~LocaleMgr ();
- virtual SWLocale *getLocale (const char *name);
- virtual std::list < SWBuf > getAvailableLocales ();
- //virtual const char *translate (const char *name, const char *text);
- virtual const char *getDefaultLocaleName();
- virtual void setDefaultLocaleName (const char *name);
-
-%extend {
- static LocaleMgr* const getSystemLocaleMgr() {
- return &(LocaleMgr::systemLocaleMgr);
- };
-}
-};