]> matita.cs.unibo.it Git - helm.git/commitdiff
added methods to start/stop web services
authorStefano Zacchiroli <zack@upsilon.cc>
Thu, 4 Sep 2003 16:41:38 +0000 (16:41 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Thu, 4 Sep 2003 16:41:38 +0000 (16:41 +0000)
helm/gTopLevel/hbugs.ml
helm/gTopLevel/hbugs.mli

index 753f3fc787e89d8cdc3690de376700ef16fb8c68..19722a1d27c0446a2ac5a5313a5285401bb01ecf 100644 (file)
@@ -54,7 +54,6 @@ let get_hbugs_client () =
 let disable () =
        match !hbugs_client with None -> () | Some c -> c#hide ()
 
-       (** send current proof assistant state to hbugs broker *)
 let notify () =
        try
                if !hbugs_enabled then begin
@@ -131,3 +130,7 @@ module Initialize (Tactics: InvokeTactics.Tactics) : Unit =
 
     let _ = use_hint_callback := use_hint
   end
+
+let start_web_services () = ignore (Unix.system "make -C ../hbugs/ start")
+let stop_web_services () = ignore (Unix.system "make -C ../hbugs/ stop")
+
index 022bbf43a2395dda6ffaba0e86db81d62616bd67..b98a641afedbf42d9e0d3d41d240ada0164498ed 100644 (file)
@@ -32,9 +32,19 @@ val toggle: bool -> unit
 
 val quit: unit -> unit
 
+       (** send current proof assistant state to hbugs broker *)
 val notify: unit -> unit
+
 val clear: unit -> unit
 
 module type Unit = sig end
 
 module Initialize (Tactics: InvokeTactics.Tactics) : Unit
+
+(*
+  External Web Services controls. TEMPORARY(?)
+*)
+
+val start_web_services: unit -> unit
+val stop_web_services: unit -> unit
+