This is the mail archive of the cygwin-patches@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] limited /dev/clipboard support



> 2000-10-12  Charles Wilson  <cwilson@ece.gatech.edu>
> 
> 	* winsup/cygwin/fhandler_clipboard.cc: new file
> 	* winsup/cygwin/Makefile.in: add libuser32.a to the DLL_IMPORTS list,
> 	and include fhandler_clipboard.o in DLL_OFILES list.
> 	* winsup/cygwin/fhandler.h: add FH_CLIPBOARD to the devices enum.
> 	* winsup/cygwin/fhandler.h (fhandler_dev_clipboard): new
> 	* winsup/cygwin/path.cc (windows_device_names): add "\\dev\\clipboard"
> 	* winsup/cygwin/path.cc (get_device_number): check for "clipboard"
> 	* winsup/cygwin/winsup.h: declare a few more functions from winuser.h
> 	* winsup/cygwin/dtable.cc (dtable::build_fhandler): check for 
> 	FH_CLIPBOARD in switch().

Applied, with some minor changes:

* user32 functions are autoloaded through dcrt0.cc; we don't link
  libuser32.a

* files that need <winuser.h> include it themselves (and wingdi.h).
  The one exception in winsup.h is because *most* cygwin files use
  that one function.

* We are "Red Hat, Inc." not just "Red Hat" (they make me say that ;)

Thanks!

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]