]> git.tdb.fi Git - builder.git/blob - source/systemlibrary.h
Rework the Target class hierarchy
[builder.git] / source / systemlibrary.h
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef SYSTEMLIBRARY_H_
9 #define SYSTEMLIBRARY_H_
10
11 #include "library.h"
12
13 /**
14 A library that doesn't belong to any known package.
15 */
16 class SystemLibrary: public Library
17 {
18 public:
19         SystemLibrary(Builder &, const Msp::FS::Path &);
20         virtual const char *get_type() const { return "SystemLibrary"; }
21 private:
22         virtual Action *create_action() { return 0; }
23
24         static std::string extract_libname(const Msp::FS::Path &);
25 };
26
27 #endif