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