]> git.tdb.fi Git - builder.git/blobdiff - source/sharedlibrary.h
Reorder class members
[builder.git] / source / sharedlibrary.h
index 79d4192f33178299186c829e0e77e3f7bc9ba56e..f86fa814978804f73d7fef03a3d241de6f3734b8 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007, 2009  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef SHAREDLIB_H_
 #define SHAREDLIB_H_
 
@@ -9,12 +16,13 @@ user.
 */
 class SharedLibrary: public Executable
 {
+private:
+       std::string libname;
+
 public:
        SharedLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
-       const char        *get_type() const    { return "SharedLibrary"; }
+       virtual const char *get_type() const { return "SharedLibrary"; }
        const std::string &get_libname() const { return libname; }
-private:
-       std::string libname;
 };
 
 #endif