Wt examples  3.2.3
/home/koen/project/wt/public-git/wt/examples/filetreetable/FileTreeTableNode.h
Go to the documentation of this file.
00001 // This may look like C code, but it's really -*- C++ -*-
00002 /*
00003  * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
00004  *
00005  * See the LICENSE file for terms of use.
00006  */
00007 #ifndef FILETREETABLENODE_H_
00008 #define FILETREETABLENODE_H_
00009 
00010 #include <Wt/WTreeTableNode>
00011 
00012 #include <boost/filesystem/path.hpp>
00013 
00018 
00028 class FileTreeTableNode : public Wt::WTreeTableNode
00029 {
00030 public:
00033   FileTreeTableNode(const boost::filesystem::path& path);
00034 
00035 private:
00037   boost::filesystem::path path_;
00038 
00040   virtual void populate();
00041 
00043   virtual bool expandable();
00044 
00046   static Wt::WIconPair *createIcon(const boost::filesystem::path& path);
00047 };
00048 
00051 #endif // FILETREETABLENODE_H_

Generated on Thu Nov 1 2012 for the C++ Web Toolkit (Wt) by doxygen 1.7.5.1