]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaScript.mli
version 0.7.1
[helm.git] / helm / matita / matitaScript.mli
index 677006b7195fb4be17e4ae4fd75d4e2673660f01..cbdfb286bbdef58e8d0eb54448a7776a483afd1a 100644 (file)
@@ -39,6 +39,7 @@ object
   method retract : unit -> unit
   method goto: [`Top | `Bottom | `Cursor] -> unit -> unit
   method reset: unit -> unit
+  method template: unit -> unit
 
   (** {2 Load/save} *)
 
@@ -57,6 +58,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 +73,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