Move main code to virt_df_main.ml and provide explicit interface virt_df.mli
[virt-top.git] / virt-ctrl / vc_connection_dlg.mli
index bfd7ba4..0102713 100644 (file)
 *)
 
 (** The connection dialog. *)
-val open_connection : unit -> unit
+val open_connection : GWindow.window -> unit -> unit
+
+(** Quick connect to local Xen. *)
+val open_local_xen : unit -> unit
+
+(** Quick connect to local QEMU or KVM. *)
+val open_local_qemu : unit -> unit
+
+type name = string
+type uri = string
+type service = name * uri
+
+(** Hook to find libvirtd network services with zeroconf using some
+    external method, eg. D-Bus or Avahi. *)
+val find_libvirtd_with_zeroconf : (unit -> service list) ref
+
+(** Hooks for icons. *)
+val icon_16x16_devices_computer_png : GdkPixbuf.pixbuf option ref
+val icon_24x24_devices_computer_png : GdkPixbuf.pixbuf option ref
+val icon_32x32_devices_computer_png : GdkPixbuf.pixbuf option ref
+val icon_48x48_devices_computer_png : GdkPixbuf.pixbuf option ref