X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fheader.h;h=ce1f62588a5918a833f4603328eface470c01feb;hb=ab25857fd626152bc9a2832de82b400c062857e6;hp=6541cd4cb707664aa5053c85d901c385d4b5fdf1;hpb=4dc31cca056ea293d320928f61fef0558089d32d;p=builder.git diff --git a/source/header.h b/source/header.h index 6541cd4..ce1f625 100644 --- a/source/header.h +++ b/source/header.h @@ -1,8 +1,18 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #ifndef HEADER_H_ #define HEADER_H_ #include "sourcefile.h" +/** +Represents a header file. Mainly exists to give extra information to the user. +*/ class Header: public SourceFile { public: @@ -10,12 +20,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