X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsystemlibrary.h;h=2b56f4cf61f41e22822890e8f96d9ccdf88d8844;hb=bdc8b6638b486aa668b4a9c6c5cce5f6b5f18222;hp=babd494f97a5c5f53b6336619c357f256fa66719;hpb=74266a6e650f019063cdcd1c9a7bd26d8f99041b;p=builder.git diff --git a/source/systemlibrary.h b/source/systemlibrary.h index babd494..2b56f4c 100644 --- a/source/systemlibrary.h +++ b/source/systemlibrary.h @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #ifndef SYSTEMLIBRARY_H_ #define SYSTEMLIBRARY_H_ @@ -9,9 +16,13 @@ A library that doesn't belong to any known package. class SystemLibrary: public Target { public: - SystemLibrary(Builder &b, const std::string &n): Target(b,0,n) { } - const char *get_type() const { return "SystemLibrary"; } - Action *build() { return 0; } + SystemLibrary(Builder &, const std::string &); + const char *get_type() const { return "SystemLibrary"; } + const std::string &get_libname() const { return libname; } +private: + std::string libname; + + virtual Action *create_action() { return 0; } }; #endif