]> git.tdb.fi Git - builder.git/blobdiff - source/externalaction.h
Use package directory as work dir for ExternalActions and make filename arguments...
[builder.git] / source / externalaction.h
index 86f32753e61f3b323f7a2012a3bd85a3438f8e4a..232e0847c1770dd0c3dec2d586758e7cc080c6b7 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef EXTERNALACTION_H_
 #define EXTERNALACTION_H_
 
 #include "action.h"
 #include "misc.h"
 
+/**
+Base class for Actions that want to execute an external program.
+*/
 class ExternalAction: public Action
 {
 public:
        int check();
 protected:
        StringList argv;
+       Msp::Path  work_dir;
        int        pid;
        int        exit_code;