aboutsummaryrefslogtreecommitdiff
path: root/backend/ninja/Ninja.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/ninja/Ninja.hpp')
-rw-r--r--backend/ninja/Ninja.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/backend/ninja/Ninja.hpp b/backend/ninja/Ninja.hpp
new file mode 100644
index 0000000..ad71c80
--- /dev/null
+++ b/backend/ninja/Ninja.hpp
@@ -0,0 +1,21 @@
+#ifndef BACKEND_NINJA_HPP
+#define BACKEND_NINJA_HPP
+
+#include <vector>
+#include <string>
+
+namespace backend
+{
+ class Ninja
+ {
+ public:
+ void addSourceFile(const char *filepath);
+ void build(const std::string &packageName, const char *savePath);
+ private:
+ bool containsSourceFile(const char *filepath) const;
+ private:
+ std::vector<std::string> sourceFiles;
+ };
+}
+
+#endif //BACKEND_NINJA_HPP