X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcsourcefile.h;h=9ed736a4f770566e943cbdbf447235d37af9b067;hb=373e9bb43c24d38316c5bb0393f4a369563319d3;hp=9e231d9f36cd4ea4353a9fc331977ab8affc8a0c;hpb=7e5ac6af8987bf12f3e338d00e96e8cb74f3534b;p=builder.git diff --git a/source/csourcefile.h b/source/csourcefile.h index 9e231d9..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,16 +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; } - virtual void find_depends(); + const IncludeList &get_includes() const { return includes; } +private: + virtual void find_dependencies(); + virtual void modified(); }; #endif