X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=window.mli;h=b2877bb6d4d853e0b5b677687fad89f020f5f8bc;hb=c79fc07ff71926b3bf956ff296336f6f71bb3b1e;hp=b91ccd9c94788f27f0a48054f6e7c021a30009aa;hpb=63477ec4c94146bae30af05022b5a064667949a8;p=guestfs-browser.git diff --git a/window.mli b/window.mli index b91ccd9..b2877bb 100644 --- a/window.mli +++ b/window.mli @@ -35,12 +35,15 @@ val throbber_idle : window_state -> unit -> unit thread) which are called whenever the throbber should be animated/busy or idle. *) +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. *) -*) +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. *)