#| -*-Scheme-*-
-$Id: edwin.pkg,v 1.154 1994/10/25 01:46:12 adams Exp $
+$Id: edwin.pkg,v 1.155 1994/11/02 19:40:18 adams Exp $
Copyright (c) 1989-1994 Massachusetts Institute of Technology
;;;; Edwin Packaging
\f
(global-definitions "../runtime/runtime")
-
-#| Only for Win32:
(global-definitions "../win32/win32")
-|#
(define-package (edwin)
(file-case os-type
;;;; This is the variant used under DOS and NT (for now)
-#|
+#||#
(define-package (edwin process)
(file-case os-type
((dos nt) "dosproc"))
(file-case os-type
((dos) "doscom" "dosshell"))
(parent (edwin)))
-|#
+#||#
\f
;;;; This is the variant used under Unix/X
-
+#|
(define-package (edwin process)
(file-case os-type
((unix) "process")
stop-process
subprocesses-available? ; always present
run-synchronous-process))
+|#
\f
(define-package (edwin screen x-screen)
(files "xterm")
xterm-screen/set-name)
(initialization (initialize-package!)))
-#| PC only:
+#| PC only: |#
(define-package (edwin screen win32)
(files "win32")
(parent (edwin screen))
(import (win32)
destroy-window
get-handle
+ load-icon
message-beep
send-message
+ set-active-window
+ set-focus
set-window-text
sleep
+ show-window
+ SW_SHOWMINNOACTIVE
+ update-window
)
+ (export (edwin win-commands)
+ screen->handle
+ win32-screen/set-name!)
(initialization (initialize-package!)))
(define-package (edwin win32-keys)
end ; the END key
)
(initialization (initialize-package!)))
-|#
+#| End PC only|#
(define-package (edwin x-commands)
(files "xcom")
(define-package (edwin win-commands)
(files "win32com")
(parent (edwin))
+ (import (win32)
+ load-icon
+ get-handle)
(export (edwin)
- ))
+ edwin-command$set-icon)
+ (export (edwin screen win32)
+ update-win32-screen-name!))
\f
(define-package (edwin x-keys)