X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcefile.h;h=381d59355977284f5855a5550f3534c19782c160;hb=55b6c1dba6f02a399d98080c23a75098e8a080f7;hp=962c575558f8eb04bb79503d946391a302def8f6;hpb=4dc31cca056ea293d320928f61fef0558089d32d;p=builder.git diff --git a/source/sourcefile.h b/source/sourcefile.h index 962c575..381d593 100644 --- a/source/sourcefile.h +++ b/source/sourcefile.h @@ -5,15 +5,20 @@ class Component; +/** +Represents a C or C++ source file. +*/ class SourceFile: public Target { public: SourceFile(Builder &, const Component *, const std::string &); - void find_depends(); - const char *get_type() const { return "SourceFile"; } + const StringList &get_includes() const { return includes; } + const char *get_type() const { return "SourceFile"; } + void find_depends(); + Action *build() { return 0; } private: const Component *comp; - std::list includes; + StringList includes; }; #endif