WIP: adding service files, still not working

This commit is contained in:
emeric
2014-04-03 09:19:35 +02:00
parent 10d1464ca2
commit 886b3221f5
24 changed files with 476 additions and 102 deletions
+26
View File
@@ -0,0 +1,26 @@
#ifndef DB_REFRESH_SERVICE_HPP
#define DB_REFRESH_SERVICE_HPP
#include "metadata/AvFormat.hpp"
#include "database/Database.hpp"
#include "Service.hpp"
class DatabaseRefreshService : public Service
{
public:
DatabaseRefreshService(const boost::filesystem::path& p);
void start(void);
void stop(void);
void restart(void);
private:
MetaData::AvFormat _metadataParser;
Database _database;
};
#endif