]> git.tdb.fi Git - builder.git/blobdiff - source/staticlibrary.h
Reorder class members
[builder.git] / source / staticlibrary.h
index 83ae10594bf30bf7946e40facbcdf9a158cc3990..e3bd4e33be20c2e8c3a513d6917781a8acedc005 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 STATICLIB_H_
 #define STATICLIB_H_
 
@@ -11,15 +18,17 @@ A static library target.
 */
 class StaticLibrary: public Target
 {
+private:
+       const Component ∁
+
 public:
        StaticLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
-       const char      *get_type() const      { return "StaticLibrary"; }
+       virtual const char *get_type() const { return "StaticLibrary"; }
        const Component &get_component() const { return comp; }
-       Action          *build();
 private:
-       const Component &comp;
+       virtual Action *create_action();
 
-       std::string generate_target_name(const Component &);
+       static std::string generate_target_name(const Component &);
 };
 
 #endif