]> git.tdb.fi Git - builder.git/blobdiff - source/staticlibrary.h
Reorder class members
[builder.git] / source / staticlibrary.h
index cb27138abe6d67f7264747c12194568e60aebc8c..e3bd4e33be20c2e8c3a513d6917781a8acedc005 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2006-200 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<ObjectFile *> &);
-       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 &comp;
-
-       virtual Action  *create_action();
+       virtual Action *create_action();
 
-       std::string generate_target_name(const Component &);
+       static std::string generate_target_name(const Component &);
 };
 
 #endif