]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/matitaScript.mli
λδ site update
[helm.git] / helm / software / matita / matitaScript.mli
index bf0a873f29dc1f3e08e76a11e794872c2ab084ba..e1369617dc91823f70f4646d9856c11335917ce2 100644 (file)
@@ -33,14 +33,12 @@ object
   method locked_tag : GText.tag
   method error_tag : GText.tag
 
-  (** @return current status *)
-  method lexicon_status: LexiconEngine.status
+    (** @return current status *)
   method grafite_status: GrafiteTypes.status
     
   (** {2 Observers} *)
 
-  method addObserver :
-   (LexiconEngine.status -> GrafiteTypes.status -> unit) -> unit
+  method addObserver : (GrafiteTypes.status -> unit) -> unit
 
   (** {2 History} *)
 
@@ -51,9 +49,15 @@ object
   method template: unit -> unit
 
   (** {2 Load/save} *)
-
-  method assignFileName : string -> unit (* to the current active file *)
+  
+  method has_name: bool
+  (* alwais return a name, use has_name to check if it is the default one *)
+  method filename: string 
+  method buri_of_current_file: string 
+  method include_paths: string list
+  method assignFileName : string option -> unit (* to the current active file *)
   method loadFromFile : string -> unit
+  method loadFromString : string -> unit
   method saveToFile : unit -> unit
   method filename : string
 
@@ -62,7 +66,6 @@ object
   (** @return true if there is an ongoing proof, false otherise *)
   method onGoingProof: unit -> bool
 
-(*   method proofStatus: ProofEngineTypes.status |+* @raise Statement_error +| *)
   method proofMetasenv: Cic.metasenv          (** @raise Statement_error *)
   method proofContext: Cic.context            (** @raise Statement_error *)
   method proofConclusion: Cic.term            (** @raise Statement_error *)
@@ -73,25 +76,26 @@ object
 
   (** end of script, true if the whole script has been executed *)
   method eos: bool
+  method bos: bool
 
   (** misc *)
   method clean_dirty_lock: unit
   
   (* debug *)
   method dump : unit -> unit
+  method expandAllVirtuals : unit 
 
 end
 
   (** @param set_star callback used to set the modified symbol (usually a star
    * "*") on the side of a script name *)
 val script: 
-  source_view:GSourceView.source_view -> 
+  source_view:GSourceView2.source_view -> 
   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) ->
+  set_star: (bool -> unit) ->
   unit -> 
     script