summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/browser/shell.mli
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2000-06-07 07:12:46 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2000-06-07 07:12:46 +0000
commit9e4ac3298c65fe71abfc3b80f82e071fd19c9fc0 (patch)
tree61b0996f7fae7f2dd9418f9650643f055030b432 /otherlibs/labltk/browser/shell.mli
parent874e4e62e15532a7e8d920b7e107db52579ed9a2 (diff)
add shell restart
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3192 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/browser/shell.mli')
-rw-r--r--otherlibs/labltk/browser/shell.mli13
1 files changed, 12 insertions, 1 deletions
diff --git a/otherlibs/labltk/browser/shell.mli b/otherlibs/labltk/browser/shell.mli
index 856587319..4936cd6e2 100644
--- a/otherlibs/labltk/browser/shell.mli
+++ b/otherlibs/labltk/browser/shell.mli
@@ -13,11 +13,22 @@
(* $Id$ *)
+class ['a] history :
+ unit ->
+ object
+ val mutable count : int
+ val mutable history : 'a list
+ method add : 'a -> unit
+ method empty : bool
+ method next : 'a
+ method previous : 'a
+ end
+
(* toplevel shell *)
class shell :
textw:Widget.text Widget.widget -> prog:string ->
- args:string array -> env:string array ->
+ args:string array -> env:string array -> history:string history ->
object
method alive : bool
method kill : unit