]> git.tdb.fi Git - builder.git/blob - source/file.h
Add a tarball component type
[builder.git] / source / file.h
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2007-2009  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef FILE_H_
9 #define FILE_H_
10
11 #include "filetarget.h"
12
13 /**
14 Just a file.  Any file, not attached to a package.
15 */
16 class File: public FileTarget
17 {
18 public:
19         File(Builder &, const Msp::FS::Path &);
20         virtual const char *get_type() const { return "File"; }
21 private:
22         virtual Action *create_action() { return 0; }
23 };
24
25 #endif