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