]> git.tdb.fi Git - builder.git/blobdiff - source/sharedlibrary.h
Rework the Target class hierarchy
[builder.git] / source / sharedlibrary.h
index f86fa814978804f73d7fef03a3d241de6f3734b8..13e358fe069f21def86727194abc8195aa21a76f 100644 (file)
@@ -8,21 +8,18 @@ Distributed under the LGPL
 #ifndef SHAREDLIB_H_
 #define SHAREDLIB_H_
 
-#include "executable.h"
+#include "binary.h"
+#include "library.h"
 
 /**
 Represents a shared library.  Mainly exists to give extra information to the
 user.
 */
-class SharedLibrary: public Executable
+class SharedLibrary: public Binary, public Library
 {
-private:
-       std::string libname;
-
 public:
        SharedLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
        virtual const char *get_type() const { return "SharedLibrary"; }
-       const std::string &get_libname() const { return libname; }
 };
 
 #endif