indexing
	description: "IME constants"
	date: "$Date: 2006-03-22 23:29:03 -0800 (Wed, 22 Mar 2006) $"
	revision: "$Revision: 57641 $"

class interface
	WEL_IME_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)
	
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 -- Composition string capabilities.

	scs_cap_compstr: INTEGER_32 is 1

	scs_cap_makeread: INTEGER_32 is 2

	scs_cap_setreconvertstring: INTEGER_32 is 4
	
feature -- Composition window properties.

	cfs_candidatepos: INTEGER_32 is 64

	cfs_default: INTEGER_32 is 0

	cfs_exclude: INTEGER_32 is 128

	cfs_force_position: INTEGER_32 is 32

	cfs_point: INTEGER_32 is 2

	cfs_rect: INTEGER_32 is 1
	
feature -- Dialog Box Options

	ime_config_general: INTEGER_32 is 1

	ime_config_register_word: INTEGER_32 is 2

	ime_config_selectdictionary: INTEGER_32 is 3
	
feature -- IME Conversion Mode Constants

	ime_cmode_alphanumeric: INTEGER_32 is 0

	ime_cmode_charcode: INTEGER_32 is 32

	ime_cmode_chinese: INTEGER_32 is 1

	ime_cmode_eudc: INTEGER_32 is 512

	ime_cmode_fixed: INTEGER_32 is 2048

	ime_cmode_fullshape: INTEGER_32 is 8

	ime_cmode_hangeul: INTEGER_32 is 1

	ime_cmode_hangul: INTEGER_32 is 1

	ime_cmode_hanjaconvert: INTEGER_32 is 64

	ime_cmode_japanese: INTEGER_32 is 1

	ime_cmode_katakana: INTEGER_32 is 2

	ime_cmode_language: INTEGER_32 is 3

	ime_cmode_native: INTEGER_32 is 1

	ime_cmode_noconversion: INTEGER_32 is 256

	ime_cmode_roman: INTEGER_32 is 16

	ime_cmode_softkbd: INTEGER_32 is 128

	ime_cmode_symbol: INTEGER_32 is 1024
	
feature -- IME Sentence Mode Constants

	ime_smode_automatic: INTEGER_32 is 4

	ime_smode_conversation: INTEGER_32 is 10

	ime_smode_none: INTEGER_32 is 0

	ime_smode_phrasepredict: INTEGER_32 is 8

	ime_smode_pluralclause: INTEGER_32 is 1

	ime_smode_singleconvert: INTEGER_32 is 2
	
feature -- IME hotkey constants

	ime_chotkey_ime_nonime_toggle: INTEGER_32 is 10

	ime_chotkey_shape_toggle: INTEGER_32 is 11

	ime_chotkey_symbol_toggle: INTEGER_32 is 12

	ime_hotkey_dswitch_first: INTEGER_32 is 256

	ime_hotkey_dswitch_last: INTEGER_32 is 287

	ime_hotkey_private_first: INTEGER_32 is 512

	ime_hotkey_private_last: INTEGER_32 is 543

	ime_ithotkey_previous_composition: INTEGER_32 is 513

	ime_ithotkey_reconvertstring: INTEGER_32 is 515

	ime_ithotkey_resend_resultstr: INTEGER_32 is 512

	ime_ithotkey_uistyle_toggle: INTEGER_32 is 514

	ime_jhotkey_close_open: INTEGER_32 is 48

	ime_khotkey_english: INTEGER_32 is 82

	ime_khotkey_hanjaconvert: INTEGER_32 is 81

	ime_khotkey_shape_toggle: INTEGER_32 is 80

	ime_thotkey_ime_nonime_toggle: INTEGER_32 is 112

	ime_thotkey_shape_toggle: INTEGER_32 is 113

	ime_thotkey_symbol_toggle: INTEGER_32 is 114
	
feature -- IME property information flags

	igp_conversion: INTEGER_32 is 8

	igp_getimeversion: INTEGER_32 is -4

	igp_property: INTEGER_32 is 4

	igp_select: INTEGER_32 is 24

	igp_sentence: INTEGER_32 is 12

	igp_setcompstr: INTEGER_32 is 20

	igp_ui: INTEGER_32 is 16
	
feature -- Ime property information constants.

	ime_prop_at_caret: INTEGER_32 is 65536

	ime_prop_candlist_start_from_1: INTEGER_32 is 264144

	ime_prop_complete_on_unselect: INTEGER_32 is 1048576

	ime_prop_special_ui: INTEGER_32 is 131072

	ime_prop_unicode: INTEGER_32 is 524288
	
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)
	
feature -- Selection inheritance capabilities.

	select_cap_conversion: INTEGER_32 is 1

	select_cap_sentence: INTEGER_32 is 2
	
feature -- Sorting Constants

	sort_chinese_big5: INTEGER_32 is 0

	sort_chinese_bopomofo: INTEGER_32 is 3

	sort_chinese_prc: INTEGER_32 is 2

	sort_chinese_prcp: INTEGER_32 is 0

	sort_chinese_unicode: INTEGER_32 is 1

	sort_default: INTEGER_32 is 0

	sort_georgian_modern: INTEGER_32 is 1

	sort_georgian_traditional: INTEGER_32 is 0

	sort_german_phone_book: INTEGER_32 is 1

	sort_hungarian_default: INTEGER_32 is 0

	sort_hungarian_technical: INTEGER_32 is 1

	sort_japanese_unicode: INTEGER_32 is 1

	sort_japanese_xjis: INTEGER_32 is 0

	sort_korean_ksc: INTEGER_32 is 0

	sort_korean_unicode: INTEGER_32 is 1
	
feature -- System version number for which the IME was created.

	imever_0310: INTEGER_32 is 200000

	imever_0400: INTEGER_32 is 262144
	
feature -- User interface capabilities.

	ui_cap_2700: INTEGER_32 is 1

	ui_cap_rot90: INTEGER_32 is 2

	ui_cap_rotany: INTEGER_32 is 4
	
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_IME_CONSTANTS