X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fmatita%2FmatitaScript.mli;h=637584aa97e8c6acdc8600b686b3922b0cfa7166;hb=619a3a478a4f6b0a50782b620009f6a141c30a53;hp=b6b3d8ae2a28f8ef8dc50cfbcc2c2e678cd6c77c;hpb=a7b90d2494f7d580faa54ecd2835bd4649129763;p=helm.git diff --git a/helm/matita/matitaScript.mli b/helm/matita/matitaScript.mli index b6b3d8ae2..637584aa9 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,28 @@ object method setGoal: int -> unit + (** end of script, true if the whole script has been executed *) + method eos: bool + + (** misc *) + method clean_dirty_lock: unit + (* 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: (UriManager.uri list -> UriManager.uri list) -> + develcreator: (containing:string option -> unit) -> + ask_confirmation: + (title:string -> message:string -> [`YES | `NO | `CANCEL]) -> + set_star: (string -> bool -> unit) -> unit -> script