]> git.tdb.fi Git - builder.git/blobdiff - source/sharedlibrary.h
Replace per-file copyright notices with a single file
[builder.git] / source / sharedlibrary.h
index 13e358fe069f21def86727194abc8195aa21a76f..81c617e963a8862a8eecc770069ff82d46b80b57 100644 (file)
@@ -1,10 +1,3 @@
-/* $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_
 
@@ -17,9 +10,16 @@ user.
 */
 class SharedLibrary: public Binary, public Library
 {
+private:
+       std::string soname;
+
 public:
        SharedLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
        virtual const char *get_type() const { return "SharedLibrary"; }
+       const std::string &get_soname() const { return soname; }
+
+private:
+       std::string create_soname(const Component &);
 };
 
 #endif