[WIP] Adding revision as a string (hash) in the remote service

This commit is contained in:
emeric
2014-07-02 16:18:06 +02:00
parent 16d1194d61
commit e715b3812a
10 changed files with 687 additions and 190 deletions
+1 -1
View File
@@ -24,7 +24,6 @@ class MediaDirectorySettings
static pointer get(Wt::Dbo::Session& session);
// write accessors
void addMediaDirectory(Wt::Dbo::ptr<MediaDirectory> mediaDirectory);
void setLastUpdate(boost::posix_time::ptime time) { _lastUpdate = time; }
void setLastScan(boost::posix_time::ptime time) { _lastScan = time; }
@@ -63,6 +62,7 @@ class MediaDirectory
MediaDirectory(boost::filesystem::path p, Type type);
// Accessors
static pointer create(Wt::Dbo::Session& session, boost::filesystem::path p, Type type);
static std::vector<MediaDirectory::pointer> getAll(Wt::Dbo::Session& session);
Type getType(void) const { return _type; }