Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-10-17 05:46:26 +0400
committerDJ Delorie <dj@redhat.com>2000-10-17 05:46:26 +0400
commite6f5c9d57d2c36296d8eed223c92a3084ccf4a93 (patch)
tree6876b004384dfa260cea9f2c8fbcbe8cc452c8f9 /winsup/cygwin/dtable.cc
parent92e1969051640fe2c25a8862162eb1a59bd0b888 (diff)
* fhandler_clipboard.cc: new file
* Makefile.in: include fhandler_clipboard.o in DLL_OFILES list. * fhandler.h: add FH_CLIPBOARD to the devices enum. (fhandler_dev_clipboard): new * path.cc (windows_device_names): add "\\dev\\clipboard" (get_device_number): check for "clipboard" * dcrt0.cc: declare a few more functions from winuser.h * dtable.cc (dtable::build_fhandler): check for FH_CLIPBOARD in switch().
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index be92bfce4..accf7070a 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -299,6 +299,9 @@ dtable::build_fhandler (int fd, DWORD dev, const char *name, int unit)
case FH_MEM:
fh = new (buf) fhandler_dev_mem (name, unit);
break;
+ case FH_CLIPBOARD:
+ fh = new (buf) fhandler_dev_clipboard (name);
+ break;
default:
/* FIXME - this could recurse forever */
return build_fhandler (fd, name, NULL);