23 lines
297 B
C++
23 lines
297 B
C++
#include "VideoTypes.hpp"
|
|
|
|
#include "FileTypes.hpp"
|
|
|
|
namespace Database {
|
|
|
|
Video::Video()
|
|
{
|
|
}
|
|
|
|
Video::Video(Wt::Dbo::ptr<Path> path)
|
|
: _path(path)
|
|
{
|
|
}
|
|
|
|
Video::pointer
|
|
Video::create(Wt::Dbo::Session& session, Wt::Dbo::ptr<Path> path)
|
|
{
|
|
return session.add(new Video(path));
|
|
}
|
|
|
|
} // namespace Video
|