X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=filetree_type.mli;h=e1bd7da4b80135e4db65dd2453a33536e9b0235e;hb=e0047b09f88dcfa6dd9e771caf57a744095321f2;hp=590b635ba44ef573424fc46d1c045f2576e59436;hpb=02614e74adee2a5d499bd557a6adde99a3c56e73;p=guestfs-browser.git diff --git a/filetree_type.mli b/filetree_type.mli index 590b635..e1bd7da 100644 --- a/filetree_type.mli +++ b/filetree_type.mli @@ -16,7 +16,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *) -(** This is the base class for the file tree. +(** This is the base module for the file tree. The types and functions in this file should be considered private to the file tree implementation. @@ -43,6 +43,7 @@ and hdata = { mutable state : state_t; content : content_t; mutable visited : bool; + mutable hiveh : Hivex.t option; } (* The type of the hidden column used to implement on-demand loading. @@ -62,8 +63,12 @@ and content_t = | ErrorMessage of string (* error message node *) | Info of string (* information node (eg. disk usage) *) | Top of Slave.source (* top level OS or volume node *) + (* top level Windows Registry node *) + | TopWinReg of Slave.source * string * string * string | Directory of Slave.direntry (* a directory *) | File of Slave.direntry (* a file inc. special files *) + | RegKey of Hivex.node (* a registry key (like a dir) *) + | RegValue of Hivex.value (* a registry value (like a file) *) val store_hdata : t -> Gtk.tree_iter -> hdata -> unit val get_hdata : t -> Gtk.tree_iter -> hdata @@ -79,9 +84,3 @@ val get_pathname : t -> Gtk.tree_iter -> Slave.source * string (* Get the full path to a row by chasing up through the tree to the top. This also returns the source (eg. operating system or single volume). *) - -val markup_of_name : ?visited:bool -> Slave.direntry -> string - (* Create markup for filenames. *) - -val set_visited : t -> Gtk.tree_iter -> unit - (* Set a file as visited. *)