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