]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/termEditor.mli
first moogle template checkin
[helm.git] / helm / gTopLevel / termEditor.mli
index 77fd2285d02bc3024b55deb8481cd0fa976fe0ea..b3fb949378f504bb9b060d1c88cf60d23bdfc812 100644 (file)
@@ -23,8 +23,6 @@
  * http://cs.unibo.it/helm/.
  *)
 
-open Disambiguate_types
-
 class type term_editor =
  object
    method coerce : GObj.widget
@@ -35,12 +33,10 @@ class type term_editor =
      metasenv:Cic.metasenv -> Cic.metasenv * Cic.term
    method reset : unit
    method set_term : string -> unit
-   method id_to_uris : environment ref
+   method environment : DisambiguatingParser.EnvironmentP3.t ref
  end
 
-val empty_id_to_uris : environment
-
-module Make (C : Callbacks) :
+module Make (C : DisambiguateTypes.Callbacks) :
    sig
     val term_editor :
      MQIConn.handle ->
@@ -48,6 +44,6 @@ module Make (C : Callbacks) :
      ?width:int ->
      ?height:int ->
      ?isnotempty_callback:(bool -> unit) ->
-     ?share_id_to_uris_with:term_editor ->
+     ?share_environment_with:term_editor ->
      unit -> term_editor
    end