]> git.tdb.fi Git - builder.git/blob - source/sharedlibrary.h
Add Id tag to all files
[builder.git] / source / sharedlibrary.h
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef SHAREDLIB_H_
9 #define SHAREDLIB_H_
10
11 #include "executable.h"
12
13 /**
14 Represents a shared library.  Mainly exists to give extra information to the
15 user.
16 */
17 class SharedLibrary: public Executable
18 {
19 public:
20         SharedLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
21         const char        *get_type() const    { return "SharedLibrary"; }
22         const std::string &get_libname() const { return libname; }
23 private:
24         std::string libname;
25 };
26
27 #endif