]> git.tdb.fi Git - builder.git/blob - source/sharedlibrary.h
Replace per-file copyright notices with a single file
[builder.git] / source / sharedlibrary.h
1 #ifndef SHAREDLIB_H_
2 #define SHAREDLIB_H_
3
4 #include "binary.h"
5 #include "library.h"
6
7 /**
8 Represents a shared library.  Mainly exists to give extra information to the
9 user.
10 */
11 class SharedLibrary: public Binary, public Library
12 {
13 private:
14         std::string soname;
15
16 public:
17         SharedLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
18         virtual const char *get_type() const { return "SharedLibrary"; }
19         const std::string &get_soname() const { return soname; }
20
21 private:
22         std::string create_soname(const Component &);
23 };
24
25 #endif