X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fheader.h;h=a22c6ce772b7a59d5eac9a2615688b70c03005c7;hb=74266a6e650f019063cdcd1c9a7bd26d8f99041b;hp=6541cd4cb707664aa5053c85d901c385d4b5fdf1;hpb=4dc31cca056ea293d320928f61fef0558089d32d;p=builder.git diff --git a/source/header.h b/source/header.h index 6541cd4..a22c6ce 100644 --- a/source/header.h +++ b/source/header.h @@ -3,6 +3,9 @@ #include "sourcefile.h" +/** +Represents a header file. Mainly exists to give extra information to the user. +*/ class Header: public SourceFile { public: @@ -10,12 +13,15 @@ public: const char *get_type() const { return "Header"; } }; +/** +A header file that doesn't belong to any known package. +*/ class SystemHeader: public Header { public: SystemHeader(Builder &b, const std::string &f): Header(b,0,f) { } const char *get_type() const { return "SystemHeader"; } - void find_depends() { } + void find_depends() { deps_ready=true; } }; #endif