summaryrefslogtreecommitdiff
path: root/task.h
blob: 443b6b7463664e226229de8e42ae6b87bf017c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// -*- c++ -*-
#pragma once

#include <vector>
#include <string>

class Task
{
public:
	virtual bool dirty() = 0;
	virtual int run() = 0;
	virtual int clean() = 0 ;
	virtual std::vector<std::string> depends() const = 0;
	virtual std::string target() const = 0;
};