X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=window.mli;h=b2877bb6d4d853e0b5b677687fad89f020f5f8bc;hb=c2c9d5bbc2ae5831a912ed5d33d04d43cad09660;hp=97aab794be3ac49fe99c7e687debdcb5f3d2af6c;hpb=b9e8c84588873568b7fdfaeb9beb85466e84c8fa;p=guestfs-browser.git diff --git a/window.mli b/window.mli index 97aab79..b2877bb 100644 --- a/window.mli +++ b/window.mli @@ -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. *)