7#ifndef FILETREETABLENODE_H_
8#define FILETREETABLENODE_H_
10#include <Wt/WTreeTableNode.h>
12#include <boost/filesystem/path.hpp>
48 static std::unique_ptr<WIconPair>
createIcon(
const boost::filesystem::path& path);
A single node in a file tree table.
boost::filesystem::path path_
The path.
static std::unique_ptr< WIconPair > createIcon(const boost::filesystem::path &path)
Create the iconpair for representing the path.
virtual bool expandable() override
Reimplements WTreeNode::expandable.
FileTreeTableNode(const boost::filesystem::path &path)
Construct a new node for the given file.
virtual void populate() override
Reimplements WTreeNode::populate to read files within a directory.