aboutsummaryrefslogtreecommitdiff
path: root/ide/coqide/fileOps.mli
diff options
context:
space:
mode:
Diffstat (limited to 'ide/coqide/fileOps.mli')
-rw-r--r--ide/coqide/fileOps.mli25
1 files changed, 25 insertions, 0 deletions
diff --git a/ide/coqide/fileOps.mli b/ide/coqide/fileOps.mli
new file mode 100644
index 0000000000..cf8084af5c
--- /dev/null
+++ b/ide/coqide/fileOps.mli
@@ -0,0 +1,25 @@
+(************************************************************************)
+(* * The Coq Proof Assistant / The Coq Development Team *)
+(* v * Copyright INRIA, CNRS and contributors *)
+(* <O___,, * (see version control and CREDITS file for authors & dates) *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(* * (see LICENSE file for the text of the license) *)
+(************************************************************************)
+
+val revert_timer : Ideutils.timer
+val autosave_timer : Ideutils.timer
+
+class type ops =
+object
+ method filename : string option
+ method update_stats : unit
+ method changed_on_disk : bool
+ method revert : ?parent:GWindow.window -> unit -> unit
+ method auto_save : unit
+ method save : string -> bool
+ method saveas : ?parent:GWindow.window -> string -> bool
+end
+
+class fileops : GText.buffer -> string option -> (unit -> unit) -> ops