indexing description: "Hashing routines for a Widget"; status: "See notice at end of class"; date: "$Date$"; revision: "$Revision$" class HASHABLE_WIDGET_WINDOWS inherit HASHABLE feature -- Access hash_code: INTEGER -- Hash code feature {ACTIONS_MANAGER} set_hash_code is -- Set the hash code of the widget do if hash_code = 0 then hash_code := hash_code_generator.value hash_code_generator.next end end feature {NONE} -- Implemementation hash_code_generator: INTEGER_GENERATOR_WINDOWS is -- Generator for hash code values once create Result.make (1, 32767 * 32766) end end -- class HASHABLE_WIDGET_WINDOWS --|---------------------------------------------------------------- --| EiffelVision: library of reusable components for ISE Eiffel. --| Copyright (C) 1985-2004 Eiffel Software. All rights reserved. --| Duplication and distribution prohibited. May be used only with --| ISE Eiffel, under terms of user license. --| Contact Eiffel Software for any other use. --| --| Interactive Software Engineering Inc. --| dba Eiffel Software --| 356 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Contact us at: http://www.eiffel.com/general/email.html --| Customer support: http://support.eiffel.com --| For latest info on our award winning products, visit: --| http://www.eiffel.com --|----------------------------------------------------------------