X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcsourcefile.h;h=8c61a515db5544ef4e274d7037a41e456725fd07;hb=7c61a1e64153bac91431e1a72d946208dd61eb30;hp=035f66780725135a4c49799a03666a8fffcc07d7;hpb=69cdee2c53972c1dd7e1b9d83ddcd8f6c3c589f7;p=builder.git diff --git a/source/csourcefile.h b/source/csourcefile.h index 035f667..8c61a51 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,15 +8,19 @@ 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(); };