indexing description: "REGISTER FLAGS flags" status: "See notice at end of class"; date: "$Date$"; revision: "$Revision$" class EOLE_REGISTER_FLAGS inherit EOLE_FLAGS feature -- Access Regcls_singleuse: INTEGER is -- Once an application is connected to a -- class object with `co_create_instance', the -- class object is removed from public view -- so that no other applications can connect to it. external "C [macro ]" alias "REGCLS_SINGLEUSE" end Regcls_multipleuse: INTEGER is -- Multiple applications can connect to the class -- object through calls to `co_create_instance'. external "C [macro ]" alias "REGCLS_MULTIPLEUSE" end is_valid_register_flag (flag: INTEGER): BOOLEAN is -- Is `flag' a valid combination of funcflags? do Result := flag = Regcls_singleuse or flag = Regcls_multipleuse end end -- class EOLE_REGISTER_FLAGS --|---------------------------------------------------------------- --| EiffelCOM: library of reusable components for ISE Eiffel. --| All rights reserved. Duplication and distribution prohibited. --| May be used only with ISE Eiffel, under terms of user license. --| Contact ISE for any other use. --| Based on WINE library, copyright (C) Object Tools, 1996-1998. --| Modifications and extensions: copyright (C) ISE, 1998. --| --| Interactive Software Engineering Inc. --| ISE Building, 2nd floor --| 270 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Electronic mail --| Customer support e-mail --| For latest info see award-winning pages: http://www.eiffel.com --|----------------------------------------------------------------