]> git.tdb.fi Git - builder.git/blobdiff - source/library.h
Rework the Target class hierarchy
[builder.git] / source / library.h
diff --git a/source/library.h b/source/library.h
new file mode 100644 (file)
index 0000000..8d8f13d
--- /dev/null
@@ -0,0 +1,23 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2009  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
+#ifndef LIBRARY_H_
+#define LIBRARY_H_
+
+#include "filetarget.h"
+
+class Library: public virtual FileTarget
+{
+protected:
+       std::string libname;
+
+       Library(Builder &, const Package *, const Msp::FS::Path &, const std::string &);
+public:
+       const std::string &get_libname() const { return libname; }
+};
+
+#endif