diff options
Diffstat (limited to 'fluid/proj/i18n.h')
| -rw-r--r-- | fluid/proj/i18n.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/fluid/proj/i18n.h b/fluid/proj/i18n.h index 30e09efae..0d9119ca2 100644 --- a/fluid/proj/i18n.h +++ b/fluid/proj/i18n.h @@ -26,12 +26,18 @@ class Project; /** Enumeration of available internationalization types. */ -enum class I18n_Type { - NONE = 0, ///< No i18n, all strings are litearals - GNU, ///< GNU gettext internationalization - POSIX ///< Posix catgets internationalization +typedef int I18n_Type; + +} // namespace fld + +enum { + FLD_I18N_TYPE_NONE = 0, ///< No i18n, all strings are litearals + FLD_I18N_TYPE_GNU, ///< GNU gettext internationalization + FLD_I18N_TYPE_POSIX ///< Posix catgets internationalization }; +namespace fld { + namespace io { class Project_Reader; class Project_Writer; @@ -48,7 +54,7 @@ public: Project &project_; /// One of the available internationalization types. - fld::I18n_Type type = I18n_Type::NONE; + fld::I18n_Type type = FLD_I18N_TYPE_NONE; /// Include file for GNU i18n, writes an #include statement into the source /// file. This is usually `<libintl.h>` or `"gettext.h"` for GNU gettext. std::string gnu_include = "<libintl.h>"; |
