X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstaticlibrary.h;h=e3bd4e33be20c2e8c3a513d6917781a8acedc005;hb=242c55b17e6608b29a77ca17a5b677e202a3ca90;hp=cb27138abe6d67f7264747c12194568e60aebc8c;hpb=77461a8c0e2b5686b04cf15f3a9333b215813992;p=builder.git diff --git a/source/staticlibrary.h b/source/staticlibrary.h index cb27138..e3bd4e3 100644 --- a/source/staticlibrary.h +++ b/source/staticlibrary.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of builder -Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -18,16 +18,17 @@ A static library target. */ class StaticLibrary: public Target { +private: + const Component ∁ + public: StaticLibrary(Builder &, const Component &, const std::list &); - const char *get_type() const { return "StaticLibrary"; } + virtual const char *get_type() const { return "StaticLibrary"; } const Component &get_component() const { return comp; } private: - const Component ∁ - - virtual Action *create_action(); + virtual Action *create_action(); - std::string generate_target_name(const Component &); + static std::string generate_target_name(const Component &); }; #endif