]> git.tdb.fi Git - builder.git/blobdiff - source/systemlibrary.h
Reorder class members
[builder.git] / source / systemlibrary.h
index bd554296b8b8cda181fc480dad907342306b2850..c49c9e426d330351c58b245c2a26563dde4aee5c 100644 (file)
@@ -1,14 +1,29 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef SYSTEMLIBRARY_H_
 #define SYSTEMLIBRARY_H_
 
 #include "target.h"
 
+/**
+A library that doesn't belong to any known package.
+*/
 class SystemLibrary: public Target
 {
+private:
+       std::string libname;
+
 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 &);
+       virtual const char *get_type() const { return "SystemLibrary"; }
+       const std::string &get_libname() const { return libname; }
+private:
+       virtual Action *create_action() { return 0; }
 };
 
 #endif