add (but not implement) get task status
This commit is contained in:
parent
f7e4722615
commit
0c8eb1c21d
2 changed files with 6 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ class Connection {
|
|||
bool ensure_connected();
|
||||
int find_job(std::string p_name, std::string *f_name);
|
||||
JobStatusType get_job_status(std::string job);
|
||||
JobStatusType get_task_status(db::uuid_t);
|
||||
|
||||
bool prepare_statements(vector<pair<string, string>> statements);
|
||||
bool prepare_statement(std::string name, std::string statement);
|
||||
|
|
|
|||
|
|
@ -211,4 +211,9 @@ JobStatusType Connection::get_job_status(std::string job) {
|
|||
|
||||
}
|
||||
|
||||
JobStatusType Connection::get_task_status(db::uuid_t) {
|
||||
std::cout << "JOB STATUS called, implement me pls" << std::endl;
|
||||
return JobStatusType::IN_PROGRESS;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue