indexing
	description: "Eiffel Vision application. Implementation interface.%NSee ev_application.e"
	legal: "See notice at end of class."
	status: "See notice at end of class."
	keywords: "application"
	date: "$Date: 2006-08-21 13:47:02 -0700 (Mon, 21 Aug 2006) $"
	revision: "$Revision: 62822 $"

deferred class interface
	EV_APPLICATION_I

feature -- Access

	alt_pressed: BOOLEAN
			-- Is alt key currently pressed?

	captured_widget: EV_WIDGET
			-- Widget currently captured. Void if none.

	check_instruction: INTEGER_32 is 7
			-- Exception code for violated check
			-- (from EXCEP_CONST)

	class_invariant: INTEGER_32 is 6
			-- Exception code for violated class invariant
			-- (from EXCEP_CONST)

	clipboard: EV_CLIPBOARD
			-- Native platform clipboard access.

	com_exception: INTEGER_32 is 28
			-- Exception code for a COM error.
			-- (from EXCEP_CONST)

	contextual_help_accelerator: EV_ACCELERATOR
			-- Accelerator that enables contextual help mode

	create_on_deferred: INTEGER_32 is 17
			-- Create on deferred
			-- (from EXCEP_CONST)

	ctrl_pressed: BOOLEAN
			-- Is ctrl key currently pressed?

	developer_exception: INTEGER_32 is 24
			-- Exception code for developer exception
			-- (from EXCEP_CONST)

	dollar_applied_to_melted_feature: INTEGER_32 is 26
			-- $ applied to melted feature
			-- (from EXCEP_CONST)

	eiffel_runtime_fatal_error: INTEGER_32 is 25
			-- Eiffel run-time fatal error
			-- (from EXCEP_CONST)

	eiffel_runtime_panic: INTEGER_32 is 13
			-- Eiffel run-time panic
			-- (from EXCEP_CONST)

	exception_in_signal_handler: INTEGER_32 is 20
			-- Exception in signal handler
			-- (from EXCEP_CONST)

	external_exception: INTEGER_32 is 18
			-- Exception code for operating system error
			-- which does not set the `errno' variable
			-- (Unix-specific)
			-- (from EXCEP_CONST)

	floating_point_exception: INTEGER_32 is 5
			-- Exception code for floating point exception
			-- (from EXCEP_CONST)

	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)

	help_accelerator: EV_ACCELERATOR
			-- Accelerator that displays contextual help

	help_engine: EV_HELP_ENGINE
			-- Object that handle contextual help display requests

	incorrect_inspect_value: INTEGER_32 is 9
			-- Exception code for inspect value which is not one
			-- of the inspect constants, if there is no Else_part
			-- (from EXCEP_CONST)

	io_exception: INTEGER_32 is 21
			-- Exception code for I/O error
			-- (from EXCEP_CONST)

	locked_window: EV_WINDOW
			-- Window currently locked. Void if no window
			-- is currently locked.
			--
			-- See `{EV_WINDOW}.lock_update' for more details

	loop_invariant: INTEGER_32 is 11
			-- Exception code for violated loop invariant
			-- (from EXCEP_CONST)

	loop_variant: INTEGER_32 is 10
			-- Exception code for non-decreased loop variant
			-- (from EXCEP_CONST)

	no_more_memory: INTEGER_32 is 2
			-- Exception code for failed memory allocation
			-- (from EXCEP_CONST)

	number_of_codes: INTEGER_32 is 29
			-- How many codes are there to represent exceptions?
			-- (from EXCEP_CONST)

	operating_system_exception: INTEGER_32 is 22
			-- Exception code for operating system error
			-- which sets the `errno' variable
			-- (Unix-specific)
			-- (from EXCEP_CONST)

	out_of_memory: INTEGER_32 is 15
			-- Out of memory (cannot be ignored)
			-- (from EXCEP_CONST)

	pick_and_drop_source: EV_PICK_AND_DROPABLE_I
			-- The current pick and drop source.

	pnd_targets: HASH_TABLE [INTEGER_32, INTEGER_32]
			-- Global list of pick and drop target object ids.

	postcondition: INTEGER_32 is 4
			-- Exception code for violated postcondition
			-- (from EXCEP_CONST)

	precondition: INTEGER_32 is 3
			-- Exception code for violated precondition
			-- (from EXCEP_CONST)

	rescue_exception: INTEGER_32 is 14
			-- Exception code for exception in rescue clause
			-- (from EXCEP_CONST)

	resumption_failed: INTEGER_32 is 16
			-- Resumption failed (retry did not succeed)
			-- (from EXCEP_CONST)

	retrieve_exception: INTEGER_32 is 23
			-- Exception code for retrieval error
			-- may be raised by `retrieved' in `IO_MEDIUM'.
			-- (from EXCEP_CONST)

	routine_failure: INTEGER_32 is 8
			-- Exception code for failed routine
			-- (from EXCEP_CONST)

	runtime_check_exception: INTEGER_32 is 29
			-- Exception code for runtime check being violated.
			-- (from EXCEP_CONST)

	runtime_io_exception: INTEGER_32 is 27
			-- Exception code for I/O error raised by runtime functions
			-- such as store/retrieve, file access...
			-- (from EXCEP_CONST)

	shift_pressed: BOOLEAN
			-- Is shift key currently pressed?

	signal_exception: INTEGER_32 is 12
			-- Exception code for operating system signal
			-- (from EXCEP_CONST)

	valid_code (c: INTEGER_32): BOOLEAN
			-- Is `c' a valid code to represent some kind of exceptions?
			-- (from EXCEP_CONST)

	void_assigned_to_expanded: INTEGER_32 is 19
			-- Exception code for assignment of void value
			-- to expanded entity
			-- (from EXCEP_CONST)

	void_call_target: INTEGER_32 is 1
			-- Exception code for feature applied to void reference
			-- (from EXCEP_CONST)

	windows: LINEAR [EV_WINDOW]
			-- Global list of windows.
	
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

	assertion_violation: BOOLEAN
			-- Is last exception originally due to a violated
			-- assertion or non-decreasing variant?
			-- (from EXCEPTIONS)

	class_name: STRING_8
			-- Name of the class that includes the recipient
			-- of original form of last exception
			-- (from EXCEPTIONS)

	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

	developer_exception_name: STRING_8
			-- Name of last developer-raised exception
			-- (from EXCEPTIONS)
		require -- from EXCEPTIONS
			applicable: is_developer_exception

	exception: INTEGER_32
			-- Code of last exception that occurred
			-- (from EXCEPTIONS)

	exception_trace: STRING_8
			-- String representation of the exception trace
			-- (from EXCEPTIONS)

	focused_widget: EV_WIDGET
			-- Widget with keyboard focus

	is_developer_exception: BOOLEAN
			-- Is the last exception originally due to
			-- a developer exception?
			-- (from EXCEPTIONS)

	is_developer_exception_of_name (name: STRING_8): BOOLEAN
			-- Is the last exception originally due to a developer
			-- exception of name `name'?
			-- (from EXCEPTIONS)

	is_signal: BOOLEAN
			-- Is last exception originally due to an external
			-- event (operating system signal)?
			-- (from EXCEPTIONS)

	is_system_exception: BOOLEAN
			-- Is last exception originally due to an
			-- external event (operating system error)?
			-- (from EXCEPTIONS)

	meaning (except: INTEGER_32): STRING_8
			-- A message in English describing what `except' is
			-- (from EXCEPTIONS)

	original_class_name: STRING_8
			-- Name of the class that includes the recipient
			-- of original form of last exception
			-- (from EXCEPTIONS)

	original_exception: INTEGER_32
			-- Original code of last exception that triggered
			-- current exception
			-- (from EXCEPTIONS)

	original_recipient_name: STRING_8
			-- Name of the routine whose execution was
			-- interrupted by original form of last exception
			-- (from EXCEPTIONS)

	original_tag_name: STRING_8
			-- Assertion tag for original form of last
			-- assertion violation.
			-- (from EXCEPTIONS)

	recipient_name: STRING_8
			-- Name of the routine whose execution was
			-- interrupted by last exception
			-- (from EXCEPTIONS)

	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))

	tag_name: STRING_8
			-- Tag of last violated assertion clause
			-- (from EXCEPTIONS)

	tooltip_delay: INTEGER_32
			-- Time in milliseconds before tooltips pop up.
	
feature -- Status setting

	catch (code: INTEGER_32)
			-- Make sure that any exception of code `code' will be
			-- caught. This is the default.
			-- (from EXCEPTIONS)

	die (code: INTEGER_32)
			-- Terminate execution with exit status `code',
			-- without triggering an exception.
			-- (from EXCEPTIONS)

	ignore (code: INTEGER_32)
			-- Make sure that any exception of code `code' will be
			-- ignored. This is not the default.
			-- (from EXCEPTIONS)

	message_on_failure
			-- Print an exception history table
			-- in case of failure.
			-- This is the default.
			-- (from EXCEPTIONS)

	no_message_on_failure
			-- Do not print an exception history table
			-- in case of failure.
			-- (from EXCEPTIONS)

	raise (name: STRING_8)
			-- Raise a developer exception of name `name'.
			-- (from EXCEPTIONS)

	raise_retrieval_exception (name: STRING_8)
			-- Raise a retrieval exception of name `name'.
			-- (from EXCEPTIONS)

	set_tooltip_delay (a_delay: INTEGER_32)
			-- Set tooltip_delay to `a_delay'.
		require
			a_delay_non_negative: a_delay >= 0
		ensure
			assigned: tooltip_delay = a_delay
	
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 -- Implementation

	call_idle_actions
			-- Call idle actions.

	call_post_launch_actions
			-- Call the post launch actions.

	exception_dialog: EV_DIALOG
			-- Dialog used for showing uncaught exceptions.

	interface: EV_APPLICATION
			-- Provides a common user interface to platform dependent
			-- functionality implemented by `Current'

	new_exception: EXCEPTION
			-- New exception object representating the last exception caught in Current
		ensure
			new_exception_not_void: Result /= Void

	on_exception_action (an_exception: EXCEPTION)
			-- Call exception actions.
		require
			an_exception_not_void: an_exception /= Void

	show_exception_dialog: BOOLEAN is True
			-- Should the exception dialog be shown by default?

	uncaught_exception_actions_called: BOOLEAN
			-- Are the `uncaught_exceptions_actions' currently being called?
			-- This is used to prevent infinite looping should an exception be raised as part of calling uncaught_exception_actions.
	
feature 

	pointer_motion_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32]]
			-- Actions to be performed when screen pointer moves.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void
	
feature -- Basic operation

	add_idle_action (a_idle_action: PROCEDURE [ANY, TUPLE])
			-- Extend idle_actions with `a_idle_action'.
			-- Thread safe
		require
			a_idle_action_not_void: a_idle_action /= Void

	display_help_for_widget (a_widget: EV_WIDGET)
			-- Display contextual help for `a_widget', if any.
		require
			a_widget_not_void: a_widget /= Void

	enable_contextual_help
			-- Change mouse cursor to help cursor
			-- Capture mouse input
			-- Send help context of widget under mouse cursor when left mouse button is pressed to help engine.
			-- Cancel contextual help mode when right mouse button is pressed.

	lock
			-- Lock the Mutex.

	process_events
			-- Process any pending events.
			-- Pass control to the GUI toolkit so that it can
			-- handle any events that may be in its queue.

	process_events_until_stopped
			-- Process all events until 'stop_processing' is called.

	process_graphical_events
			-- Process any pending paint events.
			-- Pass control to the GUI toolkit so that it can
			-- handle any paint events that may be in its queue.

	relinquish_cpu_slice
			-- Give timeslice back to kernel so as to not take all CPU.

	remove_idle_action (a_idle_action: PROCEDURE [ANY, TUPLE])
			-- Remove `a_idle_action' from idle_actions
			-- Thread safe
		require
			a_idle_action_not_void: a_idle_action /= Void

	sleep (msec: INTEGER_32)
			-- Wait for `msec' milliseconds and return.
		require
			msec_non_negative: msec >= 0

	stop_processing
			--  Exit process_events_until_stopped.

	try_lock: BOOLEAN
			-- Try to see if we can lock, False means no lock could be attained

	unlock
			-- Unlock the Mutex.
	
feature -- Element Change

	set_captured_widget (a_captured_widget: EV_WIDGET)
			-- Set captured_widget to the widget that has the current capture 'a_capture_widget'.
		ensure
			captured_widget_set: captured_widget = a_captured_widget

	set_contextual_help_accelerator (an_accelerator: EV_ACCELERATOR)
			-- Assign `an_accelerator' to contextual_help_accelerator
		require
			an_accelerator_not_void: an_accelerator /= Void
		ensure
			contextual_help_accelerator_assigned: contextual_help_accelerator = an_accelerator
			contextual_help_accelerator_complete: contextual_help_accelerator.actions.has (contextual_help_handler_procedure)

	set_help_accelerator (an_accelerator: EV_ACCELERATOR)
			-- Assign `an_accelerator' to help_accelerator
		require
			an_accelerator_not_void: an_accelerator /= Void
		ensure
			help_accelerator_assigned: help_accelerator = an_accelerator
			help_accelerator_complete: help_accelerator.actions.has (help_handler_procedure)

	set_help_engine (an_engine: EV_HELP_ENGINE)
			-- Assign `an_engine' to help_engine
		require
			an_engine_not_void: an_engine /= Void
		ensure
			help_engine_set: help_engine = an_engine

	set_locked_window (a_window: EV_WINDOW)
			-- Set locked_window to `a_window'.
			--
			-- See `{EV_WINDOW}.lock_update' for more details
	
feature -- Event handling

	accelerator_actions (an_accelerator: EV_ACCELERATOR): EV_NOTIFY_ACTION_SEQUENCE
			-- Actions to be performed when `an_accelerator' key sequence is
			-- pressed.
		ensure
			not_void: Result /= Void

	cancel_actions: EV_PND_ACTION_SEQUENCE
			-- Actions to be performed when a PND is cancelled
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	destroy_actions: EV_NOTIFY_ACTION_SEQUENCE
			-- Actions to be performed when current application is destroying.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)

	drop_actions: EV_PND_ACTION_SEQUENCE
			-- Actions to be performed when any "drop" occurs.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	focus_in_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET]]
			-- Actions to be performed when getting focus.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	focus_out_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET]]
			-- Actions to be performed when losing focus.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	idle_actions: EV_NOTIFY_ACTION_SEQUENCE
			-- Actions to be performed when the application is otherwise idle.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	key_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, EV_KEY]]
			-- Actions to be performed when a keyboard key is pressed.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	key_press_string_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, STRING_32]]
			-- Actions to be performed when a keyboard press generates a displayable character.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	key_release_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, EV_KEY]]
			-- Actions to be performed when a keyboard key is released.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	mouse_wheel_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32]]
			-- Actions to be performed when mouse wheel is rotated.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	pick_actions: EV_PND_ACTION_SEQUENCE
			-- Actions to be performed when any "pick" occurs.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	pnd_motion_actions: EV_PND_MOTION_ACTION_SEQUENCE
			-- Actions to be performed when screen pointer is moved,
			-- during a pick and drop.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	pointer_button_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
			-- Actions to be performed when screen pointer button is pressed.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	pointer_button_release_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
			-- Actions to be performed when screen pointer button is released.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	pointer_double_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
			-- Actions to be performed when screen pointer is double clicked.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	post_launch_actions: EV_NOTIFY_ACTION_SEQUENCE
			-- Actions to be performed just after application launch.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void

	theme_changed_actions: EV_NOTIFY_ACTION_SEQUENCE
			-- Actions to be performed when operating system theme changed.
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)

	uncaught_exception_actions: ACTION_SEQUENCE [TUPLE [EXCEPTION]]
			-- Actions to be performed when an
			-- action sequence called via callback
			-- from the underlying toolkit raises an
			-- exception that is not caught
			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
			not_void: Result /= Void
	
feature -- Events

	do_once_idle_actions
			-- Call once_idle_actions then wipe it out.
			-- Remove do_once_idle_actions_agent from internal_idle_actions.

	do_once_idle_actions_agent: PROCEDURE [EV_APPLICATION_I, TUPLE]
			-- Agent for do_once_idle_actions.

	do_once_on_idle (an_action: PROCEDURE [ANY, TUPLE])
			-- Perform `an_action' one time only on idle.

	internal_idle_actions: EV_NOTIFY_ACTION_SEQUENCE
			-- Actions to be performed when no events are in queue.

	once_idle_actions: EV_NOTIFY_ACTION_SEQUENCE
			-- Actions to be preformed once when no events are in queue.
			-- Wiped out after being called.
	
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
	dockable_targets_not_void: is_usable implies dockable_targets /= Void
	pnd_targets_not_void: is_usable implies pnd_targets /= Void
	windows_not_void: is_usable implies windows /= Void
	internal_idle_actions_not_void: is_usable implies internal_idle_actions /= Void
	once_idle_actions_not_void: is_usable implies once_idle_actions /= Void
	do_once_idle_actions_agent: is_usable implies do_once_idle_actions_agent /= Void

		-- from EV_ANY_I
	interface_coupled: is_usable implies interface /= Void and then interface.implementation = Current
	base_make_called: base_make_called

		-- 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 EV_APPLICATION_I