]> git.tdb.fi Git - builder.git/blobdiff - source/csourcefile.h
Refactor transitive dependencies to work on all targets
[builder.git] / source / csourcefile.h
diff --git a/source/csourcefile.h b/source/csourcefile.h
deleted file mode 100644 (file)
index e585721..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef CSOURCEFILE_H_
-#define CSOURCEFILE_H_
-
-#include <msp/io/base.h>
-#include "sourcefile.h"
-
-/**
-Represents a C or C++ source file.
-*/
-class CSourceFile: public SourceFile
-{
-protected:
-       std::list<std::string> includes;
-
-public:
-       CSourceFile(Builder &, const Msp::FS::Path &);
-       CSourceFile(Builder &, const Component &, const Msp::FS::Path &);
-
-       const char *get_type() const override { return "CSourceFile"; }
-       const std::list<std::string> &get_includes() const { return includes; }
-protected:
-       virtual void parse_includes(Msp::IO::Base &);
-       void find_dependencies() override;
-       void modified() override;
-};
-
-#endif