]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaScript.mli
better handling of script names
[helm.git] / helm / matita / matitaScript.mli
index df3ec4e1e358a840b62096f9420f457d0713d3c1..677006b7195fb4be17e4ae4fd75d4e2673660f01 100644 (file)
@@ -42,8 +42,9 @@ object
 
   (** {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) *)
 
@@ -61,11 +62,14 @@ object
 
 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) -> 
+  set_star: (string -> bool -> unit) ->
   unit -> 
     script