WIP. Restoring video playback

This commit is contained in:
emeric
2014-09-09 14:06:44 +02:00
parent 9f400f6e6c
commit 614cffc5c1
12 changed files with 152 additions and 386 deletions
+3 -7
View File
@@ -5,7 +5,6 @@
#include <Wt/WContainerWidget>
#include "common/SessionData.hpp"
#include "database/FileTypes.hpp"
namespace UserInterface {
@@ -19,15 +18,12 @@ class VideoDatabaseWidget : public Wt::WContainerWidget
private:
void updateView(Database::Path::pointer directory);
void handleOpenDirectory(boost::filesystem::path directory);
void handlePlayVideo(const boost::filesystem::path& path);
void addHeader(void);
void addDirectory(const std::string& name, const boost::filesystem::path& path);
void addDirectory(const std::string& name, boost::filesystem::path path, size_t depth);
void addVideo(const std::string& name, const boost::posix_time::time_duration& duration, const boost::filesystem::path& path);
void updateView(boost::filesystem::path directory, size_t depth);
Database::Handler& _db;
Wt::Signal< boost::filesystem::path > _playVideo;