aboutsummaryrefslogtreecommitdiff
path: root/ide/session.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ide/session.ml')
-rw-r--r--ide/session.ml5
1 files changed, 4 insertions, 1 deletions
diff --git a/ide/session.ml b/ide/session.ml
index a795f6331a..168ddd4df9 100644
--- a/ide/session.ml
+++ b/ide/session.ml
@@ -1,6 +1,6 @@
(************************************************************************)
(* v * The Coq Proof Assistant / The Coq Development Team *)
-(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2015 *)
+(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2016 *)
(* \VV/ **************************************************************)
(* // * This file is distributed under the terms of the *)
(* * GNU Lesser General Public License Version 2.1 *)
@@ -19,6 +19,7 @@ class type ['a] page =
method update : 'a -> unit
method on_update : callback:('a -> unit) -> unit
method refresh_color : unit -> unit
+ method data : 'a
end
class type control =
@@ -321,6 +322,7 @@ let create_errpage (script : Wg_ScriptView.script_view) : errpage =
end
method on_update ~callback:cb = callback := cb
method refresh_color () = refresh ()
+ method data = !last_update
end
let create_jobpage coqtop coqops : jobpage =
@@ -361,6 +363,7 @@ let create_jobpage coqtop coqops : jobpage =
end
method on_update ~callback:cb = callback := cb
method refresh_color () = refresh ()
+ method data = !last_update
end
let create_proof () =