]> git.tdb.fi Git - builder.git/blobdiff - source/sharedlibrary.h
Refactor package configuration
[builder.git] / source / sharedlibrary.h
index 96a38fae0523192d14215af5c4580f6098ba407f..79d4192f33178299186c829e0e77e3f7bc9ba56e 100644 (file)
@@ -3,11 +3,18 @@
 
 #include "executable.h"
 
+/**
+Represents a shared library.  Mainly exists to give extra information to the
+user.
+*/
 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