]> matita.cs.unibo.it Git - helm.git/commitdiff
removed uri parameter from load_proof
authorEnrico Tassi <enrico.tassi@inria.fr>
Thu, 3 Feb 2005 13:14:04 +0000 (13:14 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Thu, 3 Feb 2005 13:14:04 +0000 (13:14 +0000)
helm/gTopLevel/gTopLevel.ml
helm/gTopLevel/termViewer.ml
helm/gTopLevel/termViewer.mli

index f7d502066fddc2e9f356b0c77c9e181192fe4f4f..de725228e5061096b489880502f1b2ccd2e3ea14 100644 (file)
@@ -451,7 +451,7 @@ let qed () =
                  Cic.Constant (UriManager.name_of_uri uri,Some bo,ty,[],[]) 
                 in
                let (acic,ids_to_inner_types,ids_to_inner_sorts) =
-                 (rendering_window ())#output#load_proof uri proof
+                 (rendering_window ())#output#load_proof proof
                in
                  !qed_set_sensitive false ;
                  (* let's save the theorem and register it to the getter *) 
@@ -564,7 +564,7 @@ let refresh_proof (output : TermViewer.proof_viewer) =
         (uri,
          Cic.CurrentProof (UriManager.name_of_uri uri,metasenv,bo,ty,[],[]))
   in
-   ignore (output#load_proof uri currentproof)
+   ignore (output#load_proof currentproof)
  with
   e ->
  match ProofEngine.get_proof () with
@@ -864,7 +864,7 @@ let
     try
       let mml,(_,(ids_to_terms,ids_to_father_ids,ids_to_conjectures,
           ids_to_hypotheses,_,_)) =
-       ApplyTransformation.mml_of_cic_object uri obj 
+       ApplyTransformation.mml_of_cic_object obj 
       in
        window#set_title (UriManager.string_of_uri uri) ;
        window#misc#hide () ; window#show () ;
index 23d7543d3da08d19995e393b4f69596febc01426..0f2019ad507b3a3c2d6c9a850ca537001ce3eefd 100644 (file)
@@ -47,7 +47,6 @@ type mml_of_cic_sequent =
    
 
 type mml_of_cic_object =
-  UriManager.uri ->
   Cic.obj ->
   Gdome.document * 
   (Cic.annobj * 
@@ -229,12 +228,12 @@ class proof_viewer ~(mml_of_cic_object:mml_of_cic_object) obj =
          end
     | None -> assert false (* "ERROR: No selection!!!" *)
 
-  method load_proof uri currentproof =
+  method load_proof currentproof =
     let mml,
          (acic,
            (ids_to_terms,ids_to_father_ids,ids_to_conjectures,
             ids_to_hypotheses,ids_to_inner_sorts,ids_to_inner_types)) =
-      mml_of_cic_object uri currentproof
+      mml_of_cic_object currentproof
     in
     current_infos <-
       Some
index 5a8ff7253bb48d1601eb55f1fa5f4fcb2c38440b..f391363ebdf48730caac1dcbb9b0138a06589322 100644 (file)
@@ -45,7 +45,6 @@ type mml_of_cic_sequent =
    
 
 type mml_of_cic_object =
-  UriManager.uri ->
   Cic.obj ->
   Gdome.document * 
   (Cic.annobj * 
@@ -106,7 +105,7 @@ class proof_viewer :
     (* load_proof also returns the annotated cic term and the *)
     (* ids_to_inner_types and ids_to_inner_sorts maps.        *)
     method load_proof :
-     UriManager.uri -> Cic.obj ->
+     Cic.obj ->
       Cic.annobj * (Cic.id, Cic2acic.anntypes) Hashtbl.t *
        (Cic.id, string) Hashtbl.t