]> git.tdb.fi Git - builder.git/blob - source/externalaction.h
Add comments
[builder.git] / source / externalaction.h
1 #ifndef EXTERNALACTION_H_
2 #define EXTERNALACTION_H_
3
4 #include <list>
5 #include <string>
6 #include "action.h"
7 #include "misc.h"
8
9 /**
10 Base class for Actions that want to execute an external program.
11 */
12 class ExternalAction: public Action
13 {
14 public:
15         int check();
16 protected:
17         StringList argv;
18         int        pid;
19         int        exit_code;
20         
21         ExternalAction(Builder &b): Action(b), pid(0), exit_code(0) { }
22         void launch();
23 };
24
25 #endif