indexing
	description: "Language (LANG) and sublanguage (SUBLANG) constants."
	legal: "See notice at end of class."
	status: "See notice at end of class."
	date: "$Date: 2006-01-22 18:25:44 -0800 (Sun, 22 Jan 2006) $"
	revision: "$Revision: 56675 $"

class interface
	WEL_LANGUAGE_CONSTANTS

create 
	default_create
			-- Process instances of classes with no creation clause.
			-- (Default: do nothing.)
			-- (from ANY)

feature -- Access

	generating_type: STRING_8
			-- Name of current object's generating type
			-- (type of which it is a direct instance)
			-- (from ANY)

	generator: STRING_8
			-- Name of current object's generating class
			-- (base class of the type of which it is a direct instance)
			-- (from ANY)

	lang_afrikaans: INTEGER_32 is 54
			-- Declared in Windows as LANG_AFRIKAANS

	lang_albanian: INTEGER_32 is 28
			-- Declared in Windows as LANG_ALBANIAN

	lang_arabic: INTEGER_32 is 1
			-- Declared in Windows as LANG_ARABIC

	lang_basque: INTEGER_32 is 45
			-- Declared in Windows as LANG_BASQUE

	lang_belarusian: INTEGER_32 is 35
			-- Declared in Windows as LANG_BELARUSIAN

	lang_bulgarian: INTEGER_32 is 2
			-- Declared in Windows as LANG_BULGARIAN

	lang_catalan: INTEGER_32 is 3
			-- Declared in Windows as LANG_CATALAN

	lang_chinese: INTEGER_32 is 4
			-- Declared in Windows as LANG_CHINESE

	lang_croatian: INTEGER_32 is 26
			-- Declared in Windows as LANG_CROATIAN

	lang_czech: INTEGER_32 is 5
			-- Declared in Windows as LANG_CZECH

	lang_danish: INTEGER_32 is 6
			-- Declared in Windows as LANG_DANISH

	lang_dutch: INTEGER_32 is 19
			-- Declared in Windows as LANG_DUTCH

	lang_english: INTEGER_32 is 9
			-- Declared in Windows as LANG_ENGLISH

	lang_estonian: INTEGER_32 is 37
			-- Declared in Windows as LANG_ESTONIAN

	lang_faeroese: INTEGER_32 is 56
			-- Declared in Windows as LANG_FAEROESE

	lang_farsi: INTEGER_32 is 41
			-- Declared in Windows as LANG_FARSI

	lang_finnish: INTEGER_32 is 11
			-- Declared in Windows as LANG_FINNISH

	lang_french: INTEGER_32 is 12
			-- Declared in Windows as LANG_FRENCH

	lang_german: INTEGER_32 is 7
			-- Declared in Windows as LANG_GERMAN

	lang_greek: INTEGER_32 is 8
			-- Declared in Windows as LANG_GREEK

	lang_hebrew: INTEGER_32 is 13
			-- Declared in Windows as LANG_HEBREW

	lang_hungarian: INTEGER_32 is 14
			-- Declared in Windows as LANG_HUNGARIAN

	lang_icelandic: INTEGER_32 is 15
			-- Declared in Windows as LANG_ICELANDIC

	lang_indonesian: INTEGER_32 is 33
			-- Declared in Windows as LANG_INDONESIAN

	lang_italian: INTEGER_32 is 16
			-- Declared in Windows as LANG_ITALIAN

	lang_japanese: INTEGER_32 is 17
			-- Declared in Windows as LANG_JAPANESE

	lang_korean: INTEGER_32 is 18
			-- Declared in Windows as LANG_KOREAN

	lang_latvian: INTEGER_32 is 38
			-- Declared in Windows as LANG_LATVIAN

	lang_lithuanian: INTEGER_32 is 39
			-- Declared in Windows as LANG_LITHUANIAN

	lang_neutral: INTEGER_32 is 0
			-- Declared in Windows as LANG_NEUTRAL

	lang_norwegian: INTEGER_32 is 20
			-- Declared in Windows as LANG_NORWEGIAN

	lang_polish: INTEGER_32 is 21
			-- Declared in Windows as LANG_POLISH

	lang_portuguese: INTEGER_32 is 22
			-- Declared in Windows as LANG_PORTUGUESE

	lang_romanian: INTEGER_32 is 24
			-- Declared in Windows as LANG_ROMANIAN

	lang_russian: INTEGER_32 is 25
			-- Declared in Windows as LANG_RUSSIAN

	lang_serbian: INTEGER_32 is 26
			-- Declared in Windows as LANG_SERBIAN

	lang_slovak: INTEGER_32 is 27
			-- Declared in Windows as LANG_SLOVAK

	lang_slovenian: INTEGER_32 is 36
			-- Declared in Windows as LANG_SLOVENIAN

	lang_spanish: INTEGER_32 is 10
			-- Declared in Windows as LANG_SPANISH

	lang_swedish: INTEGER_32 is 29
			-- Declared in Windows as LANG_SWEDISH

	lang_thai: INTEGER_32 is 30
			-- Declared in Windows as LANG_THAI

	lang_turkish: INTEGER_32 is 31
			-- Declared in Windows as LANG_TURKISH

	lang_ukrainian: INTEGER_32 is 34
			-- Declared in Windows as LANG_UKRAINIAN

	lang_vietnamese: INTEGER_32 is 42
			-- Declared in Windows as LANG_VIETNAMESE

	sublang_arabic_algeria: INTEGER_32 is 5
			-- Declared in Windows as SUBLANG_ARABIC_ALGERIA

	sublang_arabic_bahrain: INTEGER_32 is 15
			-- Declared in Windows as SUBLANG_ARABIC_BAHRAIN

	sublang_arabic_egypt: INTEGER_32 is 3
			-- Declared in Windows as SUBLANG_ARABIC_EGYPT

	sublang_arabic_iraq: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_ARABIC_IRAQ

	sublang_arabic_jordan: INTEGER_32 is 11
			-- Declared in Windows as SUBLANG_ARABIC_JORDAN

	sublang_arabic_kuwait: INTEGER_32 is 13
			-- Declared in Windows as SUBLANG_ARABIC_KUWAIT

	sublang_arabic_lebanon: INTEGER_32 is 12
			-- Declared in Windows as SUBLANG_ARABIC_LEBANON

	sublang_arabic_libya: INTEGER_32 is 4
			-- Declared in Windows as SUBLANG_ARABIC_LIBYA

	sublang_arabic_morocco: INTEGER_32 is 6
			-- Declared in Windows as SUBLANG_ARABIC_MOROCCO

	sublang_arabic_oman: INTEGER_32 is 8
			-- Declared in Windows as SUBLANG_ARABIC_OMAN

	sublang_arabic_qatar: INTEGER_32 is 16
			-- Declared in Windows as SUBLANG_ARABIC_QATAR

	sublang_arabic_saudi_arabia: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_ARABIC_SAUDI_ARABIA

	sublang_arabic_syria: INTEGER_32 is 10
			-- Declared in Windows as SUBLANG_ARABIC_SYRIA

	sublang_arabic_tunisia: INTEGER_32 is 7
			-- Declared in Windows as SUBLANG_ARABIC_TUNISIA

	sublang_arabic_uae: INTEGER_32 is 14
			-- Declared in Windows as SUBLANG_ARABIC_UAE

	sublang_arabic_yemen: INTEGER_32 is 9
			-- Declared in Windows as SUBLANG_ARABIC_YEMEN

	sublang_chinese_hongkong: INTEGER_32 is 3
			-- Declared in Windows as SUBLANG_CHINESE_HONGKONG

	sublang_chinese_simplified: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_CHINESE_SIMPLIFIED

	sublang_chinese_singapore: INTEGER_32 is 4
			-- Declared in Windows as SUBLANG_CHINESE_SINGAPORE

	sublang_chinese_traditional: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_CHINESE_TRADITIONAL

	sublang_default: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_DEFAULT

	sublang_dutch: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_DUTCH

	sublang_dutch_belgian: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_DUTCH_BELGIAN

	sublang_english_aus: INTEGER_32 is 3
			-- Declared in Windows as SUBLANG_ENGLISH_AUS

	sublang_english_belize: INTEGER_32 is 10
			-- Declared in Windows as SUBLANG_ENGLISH_BELIZE

	sublang_english_can: INTEGER_32 is 4
			-- Declared in Windows as SUBLANG_ENGLISH_CAN

	sublang_english_caribbean: INTEGER_32 is 9
			-- Declared in Windows as SUBLANG_ENGLISH_CARIBBEAN

	sublang_english_eire: INTEGER_32 is 6
			-- Declared in Windows as SUBLANG_ENGLISH_EIRE

	sublang_english_jamaica: INTEGER_32 is 8
			-- Declared in Windows as SUBLANG_ENGLISH_JAMAICA

	sublang_english_nz: INTEGER_32 is 5
			-- Declared in Windows as SUBLANG_ENGLISH_NZ

	sublang_english_south_africa: INTEGER_32 is 7
			-- Declared in Windows as SUBLANG_ENGLISH_SOUTH_AFRICA

	sublang_english_trinidad: INTEGER_32 is 11
			-- Declared in Windows as SUBLANG_ENGLISH_TRINIDAD

	sublang_english_uk: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_ENGLISH_UK

	sublang_english_us: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_ENGLISH_US

	sublang_french: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_FRENCH

	sublang_french_belgian: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_FRENCH_BELGIAN

	sublang_french_canadian: INTEGER_32 is 3
			-- Declared in Windows as SUBLANG_FRENCH_CANADIAN

	sublang_french_luxembourg: INTEGER_32 is 5
			-- Declared in Windows as SUBLANG_FRENCH_LUXEMBOURG

	sublang_french_swiss: INTEGER_32 is 4
			-- Declared in Windows as SUBLANG_FRENCH_SWISS

	sublang_german: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_GERMAN

	sublang_german_austrian: INTEGER_32 is 3
			-- Declared in Windows as SUBLANG_GERMAN_AUSTRIAN

	sublang_german_liechtenstein: INTEGER_32 is 5
			-- Declared in Windows as SUBLANG_GERMAN_LIECHTENSTEIN

	sublang_german_luxembourg: INTEGER_32 is 4
			-- Declared in Windows as SUBLANG_GERMAN_LUXEMBOURG

	sublang_german_swiss: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_GERMAN_SWISS

	sublang_italian: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_ITALIAN

	sublang_italian_swiss: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_ITALIAN_SWISS

	sublang_korean: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_KOREAN

	sublang_neutral: INTEGER_32 is 0
			-- Declared in Windows as SUBLANG_NEUTRAL

	sublang_norwegian_bokmal: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_NORWEGIAN_BOKMAL

	sublang_norwegian_nynorsk: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_NORWEGIAN_NYNORSK

	sublang_portuguese: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_PORTUGUESE

	sublang_portuguese_brazilian: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_PORTUGUESE_BRAZILIAN

	sublang_serbian_cyrillic: INTEGER_32 is 3
			-- Declared in Windows as SUBLANG_SERBIAN_CYRILLIC

	sublang_serbian_latin: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_SERBIAN_LATIN

	sublang_spanish: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_SPANISH

	sublang_spanish_argentina: INTEGER_32 is 11
			-- Declared in Windows as SUBLANG_SPANISH_ARGENTINA

	sublang_spanish_bolivia: INTEGER_32 is 16
			-- Declared in Windows as SUBLANG_SPANISH_BOLIVIA

	sublang_spanish_chile: INTEGER_32 is 13
			-- Declared in Windows as SUBLANG_SPANISH_CHILE

	sublang_spanish_colombia: INTEGER_32 is 9
			-- Declared in Windows as SUBLANG_SPANISH_COLOMBIA

	sublang_spanish_costa_rica: INTEGER_32 is 5
			-- Declared in Windows as SUBLANG_SPANISH_COSTA_RICA

	sublang_spanish_dominican_republic: INTEGER_32 is 7
			-- Declared in Windows as SUBLANG_SPANISH_DOMINICAN_REPUBLIC

	sublang_spanish_ecuador: INTEGER_32 is 12
			-- Declared in Windows as SUBLANG_SPANISH_ECUADOR

	sublang_spanish_el_salvador: INTEGER_32 is 17
			-- Declared in Windows as SUBLANG_SPANISH_EL_SALVADOR

	sublang_spanish_guatemala: INTEGER_32 is 4
			-- Declared in Windows as SUBLANG_SPANISH_GUATEMALA

	sublang_spanish_honduras: INTEGER_32 is 18
			-- Declared in Windows as SUBLANG_SPANISH_HONDURAS

	sublang_spanish_mexican: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_SPANISH_MEXICAN

	sublang_spanish_modern: INTEGER_32 is 3
			-- Declared in Windows as SUBLANG_SPANISH_MODERN

	sublang_spanish_nicaragua: INTEGER_32 is 19
			-- Declared in Windows as SUBLANG_SPANISH_NICARAGUA

	sublang_spanish_panama: INTEGER_32 is 6
			-- Declared in Windows as SUBLANG_SPANISH_PANAMA

	sublang_spanish_paraguay: INTEGER_32 is 15
			-- Declared in Windows as SUBLANG_SPANISH_PARAGUAY

	sublang_spanish_peru: INTEGER_32 is 10
			-- Declared in Windows as SUBLANG_SPANISH_PERU

	sublang_spanish_puerto_rico: INTEGER_32 is 20
			-- Declared in Windows as SUBLANG_SPANISH_PUERTO_RICO

	sublang_spanish_uruguay: INTEGER_32 is 14
			-- Declared in Windows as SUBLANG_SPANISH_URUGUAY

	sublang_spanish_venezuela: INTEGER_32 is 8
			-- Declared in Windows as SUBLANG_SPANISH_VENEZUELA

	sublang_swedish: INTEGER_32 is 1
			-- Declared in Windows as SUBLANG_SWEDISH

	sublang_swedish_finland: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_SWEDISH_FINLAND

	sublang_sys_default: INTEGER_32 is 2
			-- Declared in Windows as SUBLANG_SYS_DEFAULT
	
feature -- Comparison

	frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN
			-- Are `some' and `other' either both void
			-- or attached to isomorphic object structures?
			-- (from ANY)
		ensure -- from ANY
			shallow_implies_deep: standard_equal (some, other) implies Result
			both_or_none_void: (some = Void) implies (Result = (other = Void))
			same_type: (Result and (some /= Void)) implies some.same_type (other)
			symmetric: Result implies deep_equal (other, some)

	frozen equal (some: ANY; other: like arg #1): BOOLEAN
			-- Are `some' and `other' either both void or attached
			-- to objects considered equal?
			-- (from ANY)
		ensure -- from ANY
			definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))

	is_equal (other: like Current): BOOLEAN
			-- Is `other' attached to an object considered
			-- equal to current object?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			symmetric: Result implies other.is_equal (Current)
			consistent: standard_is_equal (other) implies Result

	frozen standard_equal (some: ANY; other: like arg #1): BOOLEAN
			-- Are `some' and `other' either both void or attached to
			-- field-by-field identical objects of the same type?
			-- Always uses default object comparison criterion.
			-- (from ANY)
		ensure -- from ANY
			definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other))

	frozen standard_is_equal (other: like Current): BOOLEAN
			-- Is `other' attached to an object of the same type
			-- as current object, and field-by-field identical to it?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			same_type: Result implies same_type (other)
			symmetric: Result implies other.standard_is_equal (Current)
	
feature -- Status report

	conforms_to (other: ANY): BOOLEAN
			-- Does type of current object conform to type
			-- of `other' (as per Eiffel: The Language, chapter 13)?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void

	same_type (other: ANY): BOOLEAN
			-- Is type of current object identical to type of `other'?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			definition: Result = (conforms_to (other) and other.conforms_to (Current))
	
feature -- Duplication

	copy (other: like Current)
			-- Update current object using fields of object attached
			-- to `other', so as to yield equal objects.
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
			type_identity: same_type (other)
		ensure -- from ANY
			is_equal: is_equal (other)

	frozen deep_copy (other: like Current)
			-- Effect equivalent to that of:
			--		copy (`other' . deep_twin)
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			deep_equal: deep_equal (Current, other)

	frozen deep_twin: like Current
			-- New object structure recursively duplicated from Current.
			-- (from ANY)
		ensure -- from ANY
			deep_equal: deep_equal (Current, Result)

	frozen standard_copy (other: like Current)
			-- Copy every field of `other' onto corresponding field
			-- of current object.
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
			type_identity: same_type (other)
		ensure -- from ANY
			is_standard_equal: standard_is_equal (other)

	frozen standard_twin: like Current
			-- New object field-by-field identical to `other'.
			-- Always uses default copying semantics.
			-- (from ANY)
		ensure -- from ANY
			standard_twin_not_void: Result /= Void
			equal: standard_equal (Result, Current)

	frozen twin: like Current
			-- New object equal to `Current'
			-- twin calls copy; to change copying/twining semantics, redefine copy.
			-- (from ANY)
		ensure -- from ANY
			twin_not_void: Result /= Void
			is_equal: Result.is_equal (Current)
	
feature -- Basic operations

	frozen default: like Current
			-- Default value of object's type
			-- (from ANY)

	frozen default_pointer: POINTER
			-- Default value of type `POINTER'
			-- (Avoid the need to write `p'.default for
			-- some `p' of type `POINTER'.)
			-- (from ANY)

	default_rescue
			-- Process exception for routines with no Rescue clause.
			-- (Default: do nothing.)
			-- (from ANY)

	frozen do_nothing
			-- Execute a null action.
			-- (from ANY)
	
feature -- Output

	io: STD_FILES
			-- Handle to standard file setup
			-- (from ANY)

	out: STRING_8
			-- New string containing terse printable representation
			-- of current object
			-- Was declared in ANY as synonym of tagged_out.
			-- (from ANY)

	print (some: ANY)
			-- Write terse external representation of `some'
			-- on standard output.
			-- (from ANY)

	frozen tagged_out: STRING_8
			-- New string containing terse printable representation
			-- of current object
			-- Was declared in ANY as synonym of out.
			-- (from ANY)
	
feature -- Platform

	operating_environment: OPERATING_ENVIRONMENT
			-- Objects available from the operating system
			-- (from ANY)
	
invariant
		-- from ANY
	reflexive_equality: standard_is_equal (Current)
	reflexive_conformance: conforms_to (Current)

indexing
	copyright: "Copyright (c) 1984-2006, Eiffel Software and others"
	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
	source: "[
		Eiffel Software
		356 Storke Road, Goleta, CA 93117 USA
		Telephone 805-685-1006, Fax 805-685-6869
		Website http://www.eiffel.com
		Customer support http://support.eiffel.com
	]"

end -- class WEL_LANGUAGE_CONSTANTS