]> git.tdb.fi Git - builder.git/blobdiff - source/tarball.h
Mark overridden virtual functions as such
[builder.git] / source / tarball.h
index c2fa288321720ca743d2c64485514a00780a7176..105a2b1b08a582650ccc2a8f9623a6b214763655 100644 (file)
@@ -1,29 +1,15 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2007-2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef TARBALL_H_
 #define TARBALL_H_
 
-#include "target.h"
+#include "filetarget.h"
 
-class TarBall: public Target
+class TarBall: public FileTarget
 {
-private:
-       std::string tarname;
-
 public:
-       TarBall(Builder &, const SourcePackage &, const std::string & =std::string());
-       virtual const char *get_type() const { return "TarBall"; }
-       const SourcePackage *get_package() const;
-       virtual void find_depends();
-private:
-       virtual Action *create_action();
+       TarBall(Builder &, const SourcePackage &, const std::string &);
 
-       static std::string create_target_name(const SourcePackage &, const std::string &);
+       const char *get_type() const override { return "TarBall"; }
+       const SourcePackage *get_package() const;
 };
 
 #endif