aboutsummaryrefslogtreecommitdiff
path: root/src/performcmd.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-07-31 22:50:47 +0000
committerMike Buland <eichlan@xagasoft.com>2006-07-31 22:50:47 +0000
commit73d53b0962cb19a6d2a7686de658a5540ab07017 (patch)
tree9a8fd737b8f77ec9ccab43d89dc54b7e72d4d90d /src/performcmd.h
parentb672fa69c4c98509f8ee251b87300e3fcbe6bdc8 (diff)
downloadbuild-73d53b0962cb19a6d2a7686de658a5540ab07017.tar.gz
build-73d53b0962cb19a6d2a7686de658a5540ab07017.tar.bz2
build-73d53b0962cb19a6d2a7686de658a5540ab07017.tar.xz
build-73d53b0962cb19a6d2a7686de658a5540ab07017.zip
It almost builds, we need to get rid of duplicate list entries and actually
store the commands somewhere so the target handler can decide if they need to be run.
Diffstat (limited to 'src/performcmd.h')
-rw-r--r--src/performcmd.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/performcmd.h b/src/performcmd.h
new file mode 100644
index 0000000..3bc83aa
--- /dev/null
+++ b/src/performcmd.h
@@ -0,0 +1,22 @@
1#ifndef PERFORM_CMD_H
2#define PERFORM_CMD_H
3
4#include <stdint.h>
5
6#include "perform.h"
7#include "staticstring.h"
8
9class PerformCmd : public Perform
10{
11public:
12 PerformCmd( const char *sCmd, const char *sTarget );
13 virtual ~PerformCmd();
14
15 virtual void execute( class Builder &bld );
16
17private:
18 StaticString sCommand;
19 StaticString sTarget;
20};
21
22#endif