4 #include <msp/io/base.h>
5 #include "sourcefile.h"
8 Represents a C or C++ source file.
10 class CSourceFile: public SourceFile
13 std::list<std::string> includes;
16 CSourceFile(Builder &, const Msp::FS::Path &);
17 CSourceFile(Builder &, const Component &, const Msp::FS::Path &);
19 const char *get_type() const override { return "CSourceFile"; }
20 const std::list<std::string> &get_includes() const { return includes; }
22 virtual void parse_includes(Msp::IO::Base &);
23 void find_dependencies() override;
24 void modified() override;