gconfig.mli 1.47 KB
Newer Older
MARCHE Claude's avatar
MARCHE Claude committed
1

MARCHE Claude's avatar
MARCHE Claude committed
2 3 4 5 6 7 8
open Why

type prover_data =
    { prover_id : string;
      prover_name : string;
      prover_version : string;
      command : string;
9
      driver_name : string;
MARCHE Claude's avatar
MARCHE Claude committed
10
      driver : Driver.driver;
11
      mutable editor : string;
MARCHE Claude's avatar
MARCHE Claude committed
12
    }
MARCHE Claude's avatar
MARCHE Claude committed
13 14 15 16 17

type t = 
    { mutable window_width : int;
      mutable window_height : int;
      mutable tree_width : int;
18
      mutable task_height : int;
19
      mutable time_limit : int;
MARCHE Claude's avatar
MARCHE Claude committed
20
      mutable verbose : int;
21
      mutable max_running_processes : int;
MARCHE Claude's avatar
MARCHE Claude committed
22
      mutable provers : prover_data list;
23
      mutable default_editor : string;
MARCHE Claude's avatar
MARCHE Claude committed
24 25
    }

26
val read_config : Env.env -> t
MARCHE Claude's avatar
MARCHE Claude committed
27 28 29

val save_config : t -> unit

MARCHE Claude's avatar
MARCHE Claude committed
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
(***************)
(* boomy icons *)
(***************)

val image_yes : GdkPixbuf.pixbuf ref

(* tree object icons *)
val image_directory : GdkPixbuf.pixbuf ref
val image_file : GdkPixbuf.pixbuf ref
val image_prover : GdkPixbuf.pixbuf ref
val image_transf : GdkPixbuf.pixbuf ref

(* status icons *)
val image_scheduled : GdkPixbuf.pixbuf ref
val image_running : GdkPixbuf.pixbuf ref
val image_valid : GdkPixbuf.pixbuf ref
val image_timeout : GdkPixbuf.pixbuf ref
val image_unknown : GdkPixbuf.pixbuf ref
val image_failure : GdkPixbuf.pixbuf ref

(*************************)
(* miscellaneous dialogs *)
(*************************)

val show_legend_window : unit -> unit
val show_about_window : unit -> unit
56
val preferences : t -> unit
MARCHE Claude's avatar
MARCHE Claude committed
57

58
val run_auto_detection : Env.env -> t -> unit
MARCHE Claude's avatar
MARCHE Claude committed
59

MARCHE Claude's avatar
MARCHE Claude committed
60 61 62 63 64
(*
Local Variables: 
compile-command: "unset LANG; make -C ../.. bin/whyide.opt"
End: 
*)