-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2007, 2009 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef HEADER_H_
#define HEADER_H_
*/
class Header: public SourceFile
{
+protected:
+ Header(Builder &b, const std::string &f): SourceFile(b, f) { }
public:
- Header(Builder &b, const Component *c, const std::string &f): SourceFile(b, c, f) { }
+ Header(Builder &b, const Component &c, const std::string &f): SourceFile(b, c, f) { }
virtual const char *get_type() const { return "Header"; }
};
class SystemHeader: public Header
{
public:
- SystemHeader(Builder &b, const std::string &f): Header(b, 0, f) { }
+ SystemHeader(Builder &b, const std::string &f): Header(b, f) { }
virtual const char *get_type() const { return "SystemHeader"; }
- virtual void find_depends() { deps_ready=true; }
};
#endif