]> git.tdb.fi Git - builder.git/blobdiff - source/file.h
Add a tarball component type
[builder.git] / source / file.h
index cd3eccf6b48c963d125d70cfb34824b16ecaabb8..ba8f9b42bfcea925fe967eacaf62d9d976d186da 100644 (file)
@@ -1,22 +1,25 @@
 /* $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