]> git.tdb.fi Git - builder.git/blobdiff - source/header.h
Add comments
[builder.git] / source / header.h
index 6541cd4cb707664aa5053c85d901c385d4b5fdf1..a22c6ce772b7a59d5eac9a2615688b70c03005c7 100644 (file)
@@ -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