Refactor code to add inspection dialog.
[guestfs-browser.git] / op_inspection_dialog.mli
diff --git a/op_inspection_dialog.mli b/op_inspection_dialog.mli
new file mode 100644 (file)
index 0000000..9e9901c
--- /dev/null
@@ -0,0 +1,26 @@
+(* Guestfs Browser.
+ * Copyright (C) 2011 Red Hat Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *)
+
+(** Operating system inspection data dialog. *)
+
+val inspection_dialog : Filetree.tree -> Slave_types.inspection_os -> unit
+  (** [dialog tree os] creates a operating system inspection
+      dialog, displaying the inspection data from [os].
+
+      [tree] is passed here just so that we can register a
+      signal to destroy the dialog when the tree is cleared. *)