src: storage refactoring
* renamed Storage to PersistentStorage * added Storage as baseclass that implements data injection * cleaned ParserClient interface * added default constructors for storage types * cleaned SqlteStorage by implementing the private getAll methods as template specializations * added CXX flags to CMakeLists (this is needed for sqlite with visual studio) * removed TestStorage.h/.cpp since these files were not used anymore.
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
#include "utility/scheduling/Task.h"
|
||||
#include "utility/TimePoint.h"
|
||||
|
||||
class Storage;
|
||||
class PersistentStorage;
|
||||
|
||||
class TaskCleanStorage
|
||||
: public Task
|
||||
{
|
||||
public:
|
||||
TaskCleanStorage(
|
||||
Storage* storage,
|
||||
PersistentStorage* storage,
|
||||
const std::vector<FilePath>& filePaths
|
||||
);
|
||||
|
||||
@@ -26,7 +26,7 @@ public:
|
||||
virtual void revert();
|
||||
|
||||
private:
|
||||
Storage* m_storage;
|
||||
PersistentStorage* m_storage;
|
||||
std::vector<FilePath> m_filePaths;
|
||||
const size_t m_fileCount;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user