Adobe.com
Contents Suites Classes Class Index Member Index

IAILocale.h

Go to the documentation of this file.
00001 /*
00002  *        Name: IAILocale.h
00003  *   $Revision: 1 $
00004  *      Author:
00005  *        Date:
00006  *     Purpose: Interface to the wrapper class for AIStringFormatUtilsSuite & the
00007  *                              primary interface for the AI core to the ai::Locale object.
00008  *
00009  * ADOBE SYSTEMS INCORPORATED
00010  * Copyright 2004-2007 Adobe Systems Incorporated.
00011  * All rights reserved.
00012  *
00013  * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00014  * in accordance with the terms of the Adobe license agreement 
00015  * accompanying it. If you have received this file from a source other 
00016  * than Adobe, then your use, modification, or distribution of it 
00017  * requires the prior written permission of Adobe.
00018  *
00019  */
00020 
00021 
00022 #ifndef _IAILOCALE_H_
00023 #define _IAILOCALE_H_
00024 
00025 
00026 namespace ai {
00027 
00034 class Locale {
00035 public:
00036 
00039         enum ID
00040         {
00042                 kUndefined = -1,
00046                 kDefault = 0,
00048                 kSystem,
00050                 kApplication,
00052                 kUS,
00054                 kBritain,
00056                 kGermany,
00058                 kFrance,
00060                 kItaly,
00062                 kJapan,
00064                 kChina,
00066                 kTaiwan,
00068                 kKorea,
00070                 kArabia,
00072                 kCanadaComma,
00074                 kFrCanada,
00076                 kSpain,
00078                 kSweden,
00080                 kPortugal,
00082                 kBrazil,
00084                 kPoland,
00086                 kNetherlands,
00088                 kDenmark,
00090                 kGrSwiss,
00092                 kNorway,
00094                 kNynorskNorway,
00096                 kFinland,
00098                 kCzech,
00100                 kHungary,
00102                 kGreece,
00104                 kRussia,
00106                 kRomania,
00108                 kTurkey,
00110                 kThailand,
00112                 kVietnam,
00114                 kBulgaria,
00116                 kIsrael,
00118                 kUkraine,
00120                 kSpMexican,
00122                 kFarsi,
00124                 kEnArabia,      
00126                 kEnHebrew,
00128                 kFrNorthAfrica,
00130                 kAIDummyLocale = 0xFFFFFFFF
00131         };
00132 
00137         static std::string getLocale(const Locale::ID id);
00138 
00142         static Locale::ID getSystemLocaleID();
00143 
00147         static Locale::ID getApplicationLocaleID();
00148 
00154         static Locale::ID getID(const std::string& locale);
00155 
00156 };
00157 
00159 typedef Locale::ID LocaleID;
00160 
00161 } // end of namespace ai
00162 
00163 #endif //_IAILOCALE_H_


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks