broke classes down into own files, preparing to change model to pass by reference with int return type for almost everything
This commit is contained in:
26
src/loaders/Task.h
Normal file
26
src/loaders/Task.h
Normal file
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// Created by phanes on 4/30/17.
|
||||
//
|
||||
|
||||
#ifndef FTESTS_TASK_H
|
||||
#define FTESTS_TASK_H
|
||||
#include <string>
|
||||
#include "../json/json.h"
|
||||
|
||||
class Task
|
||||
{
|
||||
private:
|
||||
std::string name;
|
||||
Json::Value dependencies;
|
||||
bool has_succeeded;
|
||||
|
||||
public:
|
||||
Task( Json::Value loader_root );
|
||||
std::string get_name();
|
||||
Json::Value get_dependencies();
|
||||
Json::Value set_dependencies();
|
||||
bool isDone();
|
||||
void finish();
|
||||
};
|
||||
|
||||
#endif //FTESTS_TASK_H
|
||||
Reference in New Issue
Block a user