]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/termViewer.mli
- moved applyTransformation initialization code to the relevant library
[helm.git] / helm / gTopLevel / termViewer.mli
index 0cc9ba93b35329eceac25206a808a1cdd5255ee7..8fa37e53193f2e19ed4f56cf10c696bc106a8159 100644 (file)
 (*                                                                            *)
 (******************************************************************************)
 
+type mml_of_cic_sequent =
+ Cic.metasenv ->
+ int * Cic.context * Cic.term ->
+ Gdome.document *
+  ((Cic.id, Cic.term) Hashtbl.t *
+   (Cic.id, Cic.id option) Hashtbl.t *
+   (string, Cic.hypothesis) Hashtbl.t)
+
+type mml_of_cic_object =
+  explode_all:bool ->
+  UriManager.uri ->
+  Cic.annobj ->
+  (string, string) Hashtbl.t ->
+  (string, Cic2acic.anntypes) Hashtbl.t -> Gdome.document
+
 (** A widget to render sequents **)
 
 class sequent_viewer :
+  mml_of_cic_sequent:mml_of_cic_sequent ->
   Gtk_mathview.math_view Gtk.obj ->
   object
     inherit GMathViewAux.multi_selection_math_view
@@ -52,6 +68,7 @@ class sequent_viewer :
   end
 
 val sequent_viewer :
+  mml_of_cic_sequent:mml_of_cic_sequent ->
   ?hadjustment:GData.adjustment ->
   ?vadjustment:GData.adjustment ->
   ?font_size:int ->
@@ -66,6 +83,7 @@ val sequent_viewer :
 (** A widget to render proofs **)
 
 class proof_viewer :
+  mml_of_cic_object:mml_of_cic_object ->
   Gtk_mathview.math_view Gtk.obj ->
   object
     inherit GMathViewAux.single_selection_math_view
@@ -88,6 +106,7 @@ class proof_viewer :
   end
 
 val proof_viewer :
+  mml_of_cic_object:mml_of_cic_object ->
   ?hadjustment:GData.adjustment ->
   ?vadjustment:GData.adjustment ->
   ?font_size:int ->
@@ -98,3 +117,4 @@ val proof_viewer :
   ?packing:(GObj.widget -> unit) ->
   ?show:bool ->
   unit -> proof_viewer
+