]> git.tdb.fi Git - builder.git/blobdiff - source/sharedlibrary.h
Add Id tag to all files
[builder.git] / source / sharedlibrary.h
index 639592d165370500d2dfa7e5dd85df1a61b5caa2..92427d583f497fbd097195b9ec3a94ab95560c0d 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef SHAREDLIB_H_
 #define SHAREDLIB_H_
 
@@ -11,7 +18,10 @@ class SharedLibrary: public Executable
 {
 public:
        SharedLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
-       const char *get_type() const { return "SharedLibrary"; }
+       const char        *get_type() const    { return "SharedLibrary"; }
+       const std::string &get_libname() const { return libname; }
+private:
+       std::string libname;
 };
 
 #endif