X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcsourcefile.h;h=9ed736a4f770566e943cbdbf447235d37af9b067;hb=d9028dec3b81c84560c580008fa68490f049e723;hp=b83c0db28a4209afb3231a5b424d8b21bbb9e05b;hpb=93db1636eac4ded5d89555d4c7e06b2126c3e4b0;p=builder.git diff --git a/source/csourcefile.h b/source/csourcefile.h index b83c0db..9ed736a 100644 --- a/source/csourcefile.h +++ b/source/csourcefile.h @@ -1,7 +1,6 @@ #ifndef CSOURCEFILE_H_ #define CSOURCEFILE_H_ -#include "misc.h" #include "sourcefile.h" /** @@ -9,17 +8,21 @@ Represents a C or C++ source file. */ class CSourceFile: public SourceFile { +public: + typedef std::list IncludeList; + private: - StringList includes; + IncludeList includes; public: CSourceFile(Builder &, const Msp::FS::Path &); CSourceFile(Builder &, const Component &, const Msp::FS::Path &); virtual const char *get_type() const { return "CSourceFile"; } - const StringList &get_includes() const { return includes; } + const IncludeList &get_includes() const { return includes; } private: virtual void find_dependencies(); + virtual void modified(); }; #endif