# The glue merging panels and files.
# This provides an interface for handling panels that maintains and
# adjusts the file tree according to the panels.
# Not a real module, just operations on panels and their trees.
Merotree: module {
PATH: con "/dis/o/merotree.dis";
init: fn(d: Dat): chan of ref Styxservers->Navop;
pcreate: fn(dp: ref Panel, dr: ref Repl, name: string): ref Panel;
premove: fn(p: ref Panel, rr: ref Repl, depth: int);
pchanged: fn(p: ref Panel, data: int, ctl: int);
moveto: fn(p: ref Panel, r: ref Repl, path: string, pos: int): string;
copyto: fn(p: ref Panel, r: ref Repl, path: string, pos: int): string;
chpos: fn(p: ref Panel, r: ref Repl, pos: int);
mkcol: fn(p: ref Panel, r: ref Repl);
mktree: fn();
dump: fn();
};
|