Covers. Minor bugfixes

This commit is contained in:
emeric
2014-06-25 12:43:11 +02:00
parent 17662d4eb8
commit 47a12b220f
6 changed files with 28 additions and 10 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
#include <boost/thread.hpp>
#include "DatabaseRefreshService.hpp"
@@ -12,7 +13,7 @@ DatabaseRefreshService::DatabaseRefreshService(boost::asio::io_service& ioServic
_database.watchDirectory( WatchedDirectory("/storage/common/Media/Video", WatchedDirectory::Video) );
// TODO launch thread
// boost::thread refreshThread(boost::bind(&Database::refresh, &database));
boost::thread refreshThread(boost::bind(&Database::refresh, &_database));
}
void