]> git.tdb.fi Git - builder.git/blob - source/tarball.h
Add a tarball component type
[builder.git] / source / tarball.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 TARBALL_H_
9 #define TARBALL_H_
10
11 #include "filetarget.h"
12
13 class TarBall: public FileTarget
14 {
15 public:
16         TarBall(Builder &, const SourcePackage &, const std::string &);
17         virtual const char *get_type() const { return "TarBall"; }
18         const SourcePackage *get_package() const;
19 private:
20         virtual Action *create_action();
21 };
22
23 #endif