This is the mail archive of the
cygwin-patches@sources.redhat.com
mailing list for the Cygwin project.
Re: [patch] limited /dev/clipboard support
- To: DJ Delorie <dj at delorie dot com>
- Subject: Re: [patch] limited /dev/clipboard support
- From: "Charles S. Wilson" <cwilson at ece dot gatech dot edu>
- Date: Mon, 16 Oct 2000 22:47:54 -0400
- CC: cygwin-patches at sources dot redhat dot com
- References: <200010170148.VAA15515@envy.delorie.com>
DJ Delorie wrote:
>
> > 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
Ok, I see that now. Thx.
>
> * 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.
Ok.
>
> * We are "Red Hat, Inc." not just "Red Hat" (they make me say that ;)
Oops. Sorry.
BTW, fhandler_clipboard.cc doesn't seem to have made it into cvs. Did
you forget to 'cvs add' ?
--Chuck