+/* $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 <list>
#include <string>
#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:
- std::list<std::string> argv;
- int pid;
- int exit_code;
+ StringList argv;
+ int pid;
+ int exit_code;
ExternalAction(Builder &b): Action(b), pid(0), exit_code(0) { }
void launch();