-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef VIRTUALTARGET_H_
#define VIRTUALTARGET_H_
class VirtualTarget: public Target
{
public:
- VirtualTarget(Builder &b, const std::string &n): Target(b, 0, n) { }
- const char *get_type() const { return "VirtualTarget"; }
- unsigned count_rebuild();
+ VirtualTarget(Builder &b, const std::string &n): Target(b, n) { }
+
+ const char *get_type() const override { return "VirtualTarget"; }
private:
- void check_rebuild();
- virtual Action *create_action() { return 0; }
+ void check_rebuild() override;
+
+public:
+ Task *build() override;
};
#endif