]> git.tdb.fi Git - builder.git/blobdiff - source/sharedlibrary.h
Rework the Target class hierarchy
[builder.git] / source / sharedlibrary.h
index 96a38fae0523192d14215af5c4580f6098ba407f..13e358fe069f21def86727194abc8195aa21a76f 100644 (file)
@@ -1,13 +1,25 @@
+/* $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_
 
-#include "executable.h"
+#include "binary.h"
+#include "library.h"
 
-class SharedLibrary: public Executable
+/**
+Represents a shared library.  Mainly exists to give extra information to the
+user.
+*/
+class SharedLibrary: public Binary, public Library
 {
 public:
        SharedLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
-       const char *get_type() const { return "SharedLibrary"; }
+       virtual const char *get_type() const { return "SharedLibrary"; }
 };
 
 #endif