11#include <Wt/WContainerWidget.h>
12#include <Wt/WTreeView.h>
13#include <Wt/WStandardItemModel.h>
40 std::shared_ptr<WStandardItemModel>
model_;
43 const boost::filesystem::path&
path);
45 const boost::filesystem::path&
path);
47 const boost::filesystem::path&
srcPath,
57 const std::string& example);
Wt::Auth::Dbo::UserDatabase< AuthInfo > UserDatabase
A simple widget to visualise a set of example source files.
void cppTraverseDir(WStandardItem *parent, const boost::filesystem::path &path)
void setExample(const std::string &exampleDir, const std::string &example)
std::shared_ptr< WStandardItemModel > model_
void javaTraversePackages(WStandardItem *parent, const boost::filesystem::path &srcPath, const std::string packageName)
std::string examplesType_
std::string examplesRoot_
void showFile()
Displayed the currently selected file.
void javaTraverseDir(WStandardItem *parent, const boost::filesystem::path &path)
View class for source code.