diff options
author | Adam <Adam@anope.org> | 2013-03-01 00:57:24 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-03-01 00:57:24 -0500 |
commit | 91ad9d22cad8c1da3134975852ba1f732b55dabe (patch) | |
tree | f93eb451755e2e531c75d2c16ced8c96f17e243c /include/language.h | |
parent | 6aa9ad938a4923bd730516aa97a6e19643fd5c57 (diff) |
Fix Windows build
Diffstat (limited to 'include/language.h')
-rw-r--r-- | include/language.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/language.h b/include/language.h index daa5aa6bf..42d95383d 100644 --- a/include/language.h +++ b/include/language.h @@ -16,7 +16,7 @@ namespace Language * added to this list if we detect a language exists in the correct * location for each language. */ - extern std::vector<Anope::string> Languages; + extern CoreExport std::vector<Anope::string> Languages; /* Domains to search when looking for translations other than the * default "anope domain. This is used by modules who add their own @@ -38,28 +38,28 @@ namespace Language * @param string A string to translate * @return The translated string if found, else the original string. */ - extern const char *Translate(const char *string); + extern CoreExport const char *Translate(const char *string); /** Translates a string to the language of the given user. * @param u The user to transate the string for * @param string A string to translate * @return The translated string if found, else the original string. */ - extern const char *Translate(User *u, const char *string); + extern CoreExport const char *Translate(User *u, const char *string); /** Translates a string to the language of the given account. * @param nc The account to translate the string for * @param string A string to translate * @return The translated string if count, else the original string */ - extern const char *Translate(const NickCore *nc, const char *string); + extern CoreExport const char *Translate(const NickCore *nc, const char *string); /** Translatesa string to the given language. * @param lang The language to trnalsate to * @param string The string to translate * @return The translated string if found, else the original string. */ - extern const char *Translate(const char *lang, const char *string); + extern CoreExport const char *Translate(const char *lang, const char *string); } // namespace Language |