X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaScript.mli;h=cbdfb286bbdef58e8d0eb54448a7776a483afd1a;hb=b60666721441e676081a6e3b2f436b23dbcdae0f;hp=df3ec4e1e358a840b62096f9420f457d0713d3c1;hpb=de4483296d06aac3df4da10d5401b1f97c4350ab;p=helm.git diff --git a/helm/matita/matitaScript.mli b/helm/matita/matitaScript.mli index df3ec4e1e..cbdfb286b 100644 --- a/helm/matita/matitaScript.mli +++ b/helm/matita/matitaScript.mli @@ -39,11 +39,13 @@ object method retract : unit -> unit method goto: [`Top | `Bottom | `Cursor] -> unit -> unit method reset: unit -> unit + method template: unit -> unit (** {2 Load/save} *) - method loadFrom : string -> unit - method saveTo : string -> unit + method assignFileName : string -> unit (* to the current active file *) + method loadFromFile : unit -> unit + method saveToFile : unit -> unit (** {2 Current proof} (if any) *) @@ -56,16 +58,24 @@ object method setGoal: int -> unit + (** end of script, true if the whole script has been executed *) + method eos: bool + (* debug *) method dump : unit -> unit end + (** @param set_star callback used to set the modified symbol (usually a star + * "*") on the side of a script name *) val script: buffer:GText.buffer -> init:MatitaTypes.status -> mathviewer: MatitaTypes.mathViewer-> - urichooser: (string list -> string list) -> + urichooser: (UriManager.uri list -> UriManager.uri list) -> + ask_confirmation: + (title:string -> message:string -> [`YES | `NO | `CANCEL]) -> + set_star: (string -> bool -> unit) -> unit -> script