summaryrefslogtreecommitdiff
path: root/src/task_cc.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-10 16:00:36 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 17:13:24 +0100
commit1484d74c1dfd24cfe5b6f13f76d58ff395e4d253 (patch)
tree2f71f2aa6d6dd29eda51924f985de7f9caee78c0 /src/task_cc.h
parentf31661d392c1332ceb0edcbc9fd35f4cb49bb50d (diff)
Put ctor.h contents in ctor namespace.
Diffstat (limited to 'src/task_cc.h')
-rw-r--r--src/task_cc.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/task_cc.h b/src/task_cc.h
index 0a0d96a..cdde84b 100644
--- a/src/task_cc.h
+++ b/src/task_cc.h
@@ -10,16 +10,13 @@
#include <future>
#include <filesystem>
-struct BuildConfiguration;
-struct Settings;
-
class TaskCC
: public Task
{
public:
- TaskCC(const BuildConfiguration& config,
- const Settings& settings,
- const std::string& sourceDir, const Source& source);
+ TaskCC(const ctor::BuildConfiguration& config,
+ const ctor::Settings& settings,
+ const std::string& sourceDir, const ctor::Source& source);
virtual ~TaskCC() = default;
int registerDepTasksInner(const std::set<std::shared_ptr<Task>>& tasks) override;
@@ -51,8 +48,8 @@ protected:
std::filesystem::path depsFile;
std::filesystem::path flagsFile;
- const BuildConfiguration& config;
- const Settings& settings;
+ const ctor::BuildConfiguration& config;
+ const ctor::Settings& settings;
std::filesystem::path sourceDir;
- const Source& _source;
+ const ctor::Source& _source;
};