]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaScript.mli
matita now asks to save .moo if possible or cleans the dust the
[helm.git] / helm / matita / matitaScript.mli
index 677006b7195fb4be17e4ae4fd75d4e2673660f01..43c40b6462148d4227a9e0a1a606cd95c4e0837f 100644 (file)
@@ -57,6 +57,9 @@ object
 
   method setGoal: int -> unit
 
+  (** end of script, true if the whole script has been executed *)
+  method eos: bool
+  
   (* debug *)
   method dump : unit -> unit
 
@@ -69,6 +72,8 @@ val script:
   init:MatitaTypes.status -> 
   mathviewer: MatitaTypes.mathViewer-> 
   urichooser: (UriManager.uri list -> UriManager.uri list) -> 
+  ask_confirmation: 
+    (title:string -> message:string -> [`YES | `NO | `CANCEL]) -> 
   set_star: (string -> bool -> unit) ->
   unit -> 
     script