* 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().
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user