X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Flocale.hxx;h=8ccd2d218fd40aefea9accb4d96473b01bca5667;hb=44ffdcd7d00a6bf31c6f0526e9021fa2910980e7;hp=27623fb35a6d4ad3c6243c36df13523333a07fa2;hpb=470552fab1c55a6c8168120997bcd54c115e3bb4;p=flightgear.git diff --git a/src/Main/locale.hxx b/src/Main/locale.hxx index 27623fb35..8ccd2d218 100644 --- a/src/Main/locale.hxx +++ b/src/Main/locale.hxx @@ -16,7 +16,7 @@ // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef __FGLOCALE_HXX #define __FGLOCALE_HXX @@ -72,6 +72,11 @@ public: */ static void utf8toLatin1 (std::string& s); + /** + * Obtain user's default language setting. + */ + const char* getUserLanguage(); + protected: /** * Find property node matching given language.