]> git.tdb.fi Git - builder.git/blobdiff - source/file.h
Add a tarball component type
[builder.git] / source / file.h
index bc71df87a25d02ff30542b08ab329f67303cc3d0..ba8f9b42bfcea925fe967eacaf62d9d976d186da 100644 (file)
@@ -8,12 +8,15 @@ 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; }