/* $Id$
This file is part of builder
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2007-2009 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
#ifndef FILE_H_
#define FILE_H_
-#include "target.h"
+#include "filetarget.h"
-class File: public Target
+/**
+Just a file. Any file, not attached to a package.
+*/
+class File: public FileTarget
{
public:
- File(Builder &, const std::string &);
+ File(Builder &, const Msp::FS::Path &);
virtual const char *get_type() const { return "File"; }
private:
- virtual Action *create_action() { return 0; }
+ virtual Action *create_action() { return 0; }
};
#endif