| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | val reload_timer : Ideutils.timer |
| 12 | val autosave_timer : Ideutils.timer |
| 13 | |
| 14 | class type ops = |
| 15 | object |
| 16 | method filename : string option |
| 17 | method update_stats : unit |
| 18 | method changed_on_disk : bool |
| 19 | method reload : ?parent:GWindow.window -> unit -> unit |
| 20 | method auto_save : unit |
| 21 | method save : string -> bool |
| 22 | method saveas : ?parent:GWindow.window -> string -> bool |
| 23 | end |
| 24 | |
| 25 | class fileops : GText.buffer -> string option -> (unit -> unit) -> ops |