Use tabs for inspection dialog.
[guestfs-browser.git] / window.mli
index 97aab79..b2877bb 100644 (file)
@@ -35,9 +35,15 @@ val throbber_idle : window_state -> unit -> unit
       thread) which are called whenever the throbber should be
       animated/busy or idle.  *)
 
-(*
-  val run_cli_request : window_state -> Cmdline.cli_request -> unit
-(** This function performs the {!Cmdline.cli_request} operation.
-  The actual operation happens asynchronously after this function
-  has returned. *)
-*)
+val set_statusbar : window_state -> string -> unit
+  (** This callback from the slave thread (invoked in the main thread)
+      updates the status bar when some slave operation starts or
+      stops. *)
+
+val progress : window_state -> int64 * int64 -> unit
+  (** This called whenever the progress bar should move. *)
+
+val run_cli_request : window_state -> Cmdline.cli_request -> unit
+  (** This function performs the {!Cmdline.cli_request} operation.
+      The actual operation happens asynchronously after this function
+      has returned. *)