4 #include "sourcefile.h"
7 Represents a C or C++ source file.
9 class CSourceFile: public SourceFile
12 typedef std::list<std::string> IncludeList;
18 CSourceFile(Builder &, const Msp::FS::Path &);
19 CSourceFile(Builder &, const Component &, const Msp::FS::Path &);
21 virtual const char *get_type() const { return "CSourceFile"; }
22 const IncludeList &get_includes() const { return includes; }
24 virtual void find_dependencies();