summaryrefslogtreecommitdiff
path: root/module/muxclient.m
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
commit46439007cf417cbd9ac8049bb4122c890097a0fa (patch)
tree6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /module/muxclient.m
parent37da2899f40661e3e9631e497da8dc59b971cbd0 (diff)
20060303-partial
Diffstat (limited to 'module/muxclient.m')
-rw-r--r--module/muxclient.m23
1 files changed, 23 insertions, 0 deletions
diff --git a/module/muxclient.m b/module/muxclient.m
new file mode 100644
index 00000000..504c2a4c
--- /dev/null
+++ b/module/muxclient.m
@@ -0,0 +1,23 @@
+Muxclient: module
+{
+ # From appl to mux
+ AMexit: con 10; # application is exiting
+ AMstartir: con 11; # application is ready to receive IR events
+ AMstartkbd: con 12; # application is ready to receive keyboard characters
+ AMstartptr: con 13; # application is ready to receive mouse events
+ AMnewpin: con 14; # application needs a PIN
+
+ # From mux to appl
+ MAtop: con 20; # application should make all its windows visible
+
+ Context: adt
+ {
+ screen: ref Screen; # place to make windows
+ display: ref Display; # frame buffer on which windows reside
+ cir: chan of int; # incoming events from IR remote
+ ckbd: chan of int; # incoming characters from keyboard
+ cptr: chan of ref Pointer; # incoming stream of mouse positions
+ ctoappl: chan of int; # commands from mux to application
+ ctomux: chan of int; # commands from application to mux
+ };
+};