..
original commit: 968ad03a861729fc05db380baecf486693ec5b14
This commit is contained in:
parent
ccd670afee
commit
2ef98371e4
|
@ -1,13 +1,7 @@
|
|||
(module surrogate mzscheme
|
||||
(require (lib "class.ss"))
|
||||
|
||||
(provide host<%>
|
||||
surrogate)
|
||||
|
||||
(define host<%>
|
||||
(interface ()
|
||||
set-surrogate
|
||||
get-surrogate))
|
||||
(provide surrogate)
|
||||
|
||||
(define-syntax (surrogate stx)
|
||||
|
||||
|
@ -117,7 +111,12 @@
|
|||
(interface ()
|
||||
on-disable-surrogate
|
||||
on-enable-surrogate
|
||||
ids ...)])
|
||||
ids ...)]
|
||||
[host<%>
|
||||
(interface ()
|
||||
set-surrogate
|
||||
get-surrogate
|
||||
ids ...)])
|
||||
(values
|
||||
(lambda (super%)
|
||||
(class* super% (host<%>)
|
||||
|
@ -145,6 +144,7 @@
|
|||
overriding-methods ...
|
||||
|
||||
(super-new)))
|
||||
host<%>
|
||||
|
||||
(class* object% (surrogate<%>)
|
||||
(define/public (on-enable-surrogate x) (void))
|
||||
|
|
Loading…
Reference in New Issue
Block a user