]> git.tdb.fi Git - builder.git/blobdiff - source/compile.h
Migrate from msppath to mspfs
[builder.git] / source / compile.h
index 42ae95c1f45c125ade30dc9bc92e730ab968efd7..d58b91bfe215cd3bb3d4fd8925437bb41d5f4ac3 100644 (file)
@@ -1,19 +1,26 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef COMPILE_H_
 #define COMPILE_H_
 
-#include <msp/path/path.h>
+#include <msp/fs/path.h>
 #include "externalaction.h"
 
 class Component;
+class ObjectFile;
 
+/**
+Compiles a source file into an object file.
+*/
 class Compile: public ExternalAction
 {
 public:
-       Compile(Builder &, const Msp::Path::Path &, const Msp::Path::Path &, const Component &);
-private:
-       Msp::Path::Path source;
-       Msp::Path::Path object;
-       const Component &comp;
+       Compile(Builder &, const ObjectFile &);
 };
 
 #endif