preparation for adding new additional threads/mailboxes (namely, the file mailbox)
This commit is contained in:
@@ -12,7 +12,6 @@ sig
|
||||
, dots: Real32.real vector
|
||||
}
|
||||
| CLEAR_DOTS
|
||||
| NO_DRAW
|
||||
end
|
||||
|
||||
structure DrawMessage :> DRAW_MESSAGE =
|
||||
@@ -29,5 +28,4 @@ struct
|
||||
, dots: Real32.real vector
|
||||
}
|
||||
| CLEAR_DOTS
|
||||
| NO_DRAW
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
signature IO_MESSAGE =
|
||||
signature FILE_MESSAGE =
|
||||
sig
|
||||
datatype t =
|
||||
SAVE_TRIANGLES of AppType.triangle list
|
||||
@@ -6,7 +6,7 @@ sig
|
||||
| IMPORT_FILE
|
||||
end
|
||||
|
||||
structure IoMessage :> IO_MESSAGE =
|
||||
structure FileMessage :> FILE_MESSAGE =
|
||||
struct
|
||||
datatype t =
|
||||
SAVE_TRIANGLES of AppType.triangle list
|
||||
7
message-types/update-msg.sml
Normal file
7
message-types/update-msg.sml
Normal file
@@ -0,0 +1,7 @@
|
||||
signature UPDATE_MESSAGE =
|
||||
sig
|
||||
datatype t = DRAW of DrawMessage.t | FILE of FileMessage.t | NO_MAILBOX
|
||||
end
|
||||
|
||||
structure UpdateMessage :> UPDATE_MESSAGE =
|
||||
struct datatype t = DRAW of DrawMessage.t | FILE of FileMessage.t | NO_MAILBOX end
|
||||
Reference in New Issue
Block a user