summaryrefslogtreecommitdiff
path: root/appl/charon/script.m
blob: b491ace6645a8356be7531d822edadf2c56054f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Script: module
{
	JSCRIPTPATH: con "/dis/charon/jscript.dis";

	defaultStatus: string;
	jevchan: chan of ref Events->ScriptEvent;
	versions : array of string;

	init: fn(cu: CharonUtils): string;
	frametreechanged: fn(top: ref Layout->Frame);
	havenewdoc: fn(f: ref Layout->Frame);
	evalscript: fn(f: ref Layout->Frame, s: string) : (string, string, string);
	framedone: fn(f : ref Layout->Frame, hasscripts : int);
};