* added option to create a Coati project from a Maven POM file * show list of indexed file paths in maven project setup * use FileManager to detect indexed files in project setup (except cdb) * added Maven path to preferences window and added path detectors. * fixed: QtDialogView::hideStatusDialog now also hides loader in status bar. * refactored ProjectType fortune cookie message = If you continually give, you will continually have.
37 lines
844 B
C++
37 lines
844 B
C++
#ifndef TASK_CLEAN_STORAGE_H
|
|
#define TASK_CLEAN_STORAGE_H
|
|
|
|
#include <vector>
|
|
|
|
#include "utility/file/FilePath.h"
|
|
#include "utility/scheduling/Task.h"
|
|
#include "utility/TimePoint.h"
|
|
|
|
class DialogView;
|
|
class PersistentStorage;
|
|
|
|
class TaskCleanStorage
|
|
: public Task
|
|
{
|
|
public:
|
|
TaskCleanStorage(
|
|
PersistentStorage* storage,
|
|
const std::vector<FilePath>& filePaths,
|
|
std::shared_ptr<DialogView> dialogView
|
|
);
|
|
|
|
private:
|
|
virtual void doEnter(std::shared_ptr<Blackboard> blackboard);
|
|
virtual TaskState doUpdate(std::shared_ptr<Blackboard> blackboard);
|
|
virtual void doExit(std::shared_ptr<Blackboard> blackboard);
|
|
virtual void doReset(std::shared_ptr<Blackboard> blackboard);
|
|
|
|
PersistentStorage* m_storage;
|
|
std::vector<FilePath> m_filePaths;
|
|
std::shared_ptr<DialogView> m_dialogView;
|
|
|
|
TimePoint m_start;
|
|
};
|
|
|
|
#endif // TASK_CLEAN_STORAGE_H
|