summaryrefslogtreecommitdiff
path: root/src/tasks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tasks.h')
-rw-r--r--src/tasks.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/tasks.h b/src/tasks.h
new file mode 100644
index 0000000..119c7d6
--- /dev/null
+++ b/src/tasks.h
@@ -0,0 +1,18 @@
+// -*- c++ -*-
+#pragma once
+
+#include <string>
+#include <list>
+#include <memory>
+
+#include "task.h"
+
+class BuildConfiguration;
+class Settings;
+
+std::list<std::shared_ptr<Task>> taskFactory(const BuildConfiguration& config,
+ const Settings& settings,
+ const std::string& sourceDir);
+std::shared_ptr<Task> getNextTask(const std::list<std::shared_ptr<Task>>& allTasks,
+ std::list<std::shared_ptr<Task>>& dirtyTasks);
+std::list<std::shared_ptr<Task>> getTasks(const Settings& settings);