]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite_engine/grafiteTypes.ml
(Part of previous two commits)
[helm.git] / matita / components / grafite_engine / grafiteTypes.ml
index 573fa28c9adbc639b54b6f03c84af5bdd52019c7..27a5cb61ef179e731572db093c7db67d999ac495 100644 (file)
@@ -31,7 +31,7 @@ exception Command_error of string
 
 let command_error msg = raise (Command_error msg)
 
-class status = fun (b : string) ->
+class virtual status = fun (b : string) ->
  let fake_obj =
   NUri.uri_of_string "cic:/matita/dummy.decl",0,[],[],
    NCic.Constant([],"",None,NCic.Implicit `Closed,(`Provided,`Theorem,`Regular))
@@ -41,7 +41,9 @@ class status = fun (b : string) ->
    inherit ([Continuationals.Stack.t] NTacStatus.status fake_obj (Continuationals.Stack.empty))
    inherit NCicLibrary.dumpable_status
    inherit NCicLibrary.status
+   inherit NCicExtraction.status
    inherit GrafiteParser.status
+   inherit TermContentPres.status
    val baseuri = b
    val ng_mode = (`CommandMode : [`CommandMode | `ProofMode])
    method baseuri = baseuri
@@ -50,5 +52,4 @@ class status = fun (b : string) ->
    method set_ng_mode v = {< ng_mode = v >}
  end
 
-module Serializer =
- NCicLibrary.Serializer(struct type dumpable_status = status end)
+module Serializer = NCicLibrary.Serializer(struct type dumpable_s = status end)