]> git.tdb.fi Git - builder.git/blob - source/sharedlibrary.h
Reorder class members
[builder.git] / source / sharedlibrary.h
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2006-2007, 2009  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 private:
20         std::string libname;
21
22 public:
23         SharedLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
24         virtual const char *get_type() const { return "SharedLibrary"; }
25         const std::string &get_libname() const { return libname; }
26 };
27
28 #endif