]> git.tdb.fi Git - builder.git/blob - source/tarball.h
Reorder class members
[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 "target.h"
12
13 class TarBall: public Target
14 {
15 private:
16         std::string tarname;
17
18 public:
19         TarBall(Builder &, const SourcePackage &, const std::string & =std::string());
20         virtual const char *get_type() const { return "TarBall"; }
21         const SourcePackage *get_package() const;
22         virtual void find_depends();
23 private:
24         virtual Action *create_action();
25
26         static std::string create_target_name(const SourcePackage &, const std::string &);
27 };
28
29 #endif