diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2006-08-18 17:21:02 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2006-08-18 17:21:02 +0000 |
| commit | df5286fe3bca619beb4771da1ffa8ace9613e9e5 (patch) | |
| tree | 0ad268267325c586527b8d36461ab0040e9ae8ec /src/action.h | |
| parent | 4f94dfde7cbe043dfeb11a8712636bac348d3177 (diff) | |
| download | build-df5286fe3bca619beb4771da1ffa8ace9613e9e5.tar.gz build-df5286fe3bca619beb4771da1ffa8ace9613e9e5.tar.bz2 build-df5286fe3bca619beb4771da1ffa8ace9613e9e5.tar.xz build-df5286fe3bca619beb4771da1ffa8ace9613e9e5.zip | |
Gutted, deleted almost all the source, too many changes to keep it around, we'll
see what happens next.
Diffstat (limited to 'src/action.h')
| -rw-r--r-- | src/action.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/action.h b/src/action.h deleted file mode 100644 index a5555a3..0000000 --- a/src/action.h +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | #ifndef ACTION_H | ||
| 2 | #define ACTION_H | ||
| 3 | |||
| 4 | #include <list> | ||
| 5 | #include "staticstring.h" | ||
| 6 | |||
| 7 | class Command; | ||
| 8 | class Builder; | ||
| 9 | |||
| 10 | class Action | ||
| 11 | { | ||
| 12 | public: | ||
| 13 | Action(); | ||
| 14 | Action( const char *sName ); | ||
| 15 | virtual ~Action(); | ||
| 16 | |||
| 17 | void add( Command *pCmd ); | ||
| 18 | void add( int nType, const char *sCmd ); | ||
| 19 | |||
| 20 | const char *getName() | ||
| 21 | { | ||
| 22 | return sName; | ||
| 23 | } | ||
| 24 | bool isDefault() | ||
| 25 | { | ||
| 26 | return bDefault; | ||
| 27 | } | ||
| 28 | |||
| 29 | int getNumCommands() | ||
| 30 | { | ||
| 31 | return lCommand.size(); | ||
| 32 | } | ||
| 33 | |||
| 34 | void debug(); | ||
| 35 | |||
| 36 | void execute( class Builder &bld ); | ||
| 37 | |||
| 38 | private: | ||
| 39 | bool bDefault; | ||
| 40 | StaticString sName; | ||
| 41 | std::list<Command *> lCommand; | ||
| 42 | std::list<std::pair<int, std::string> > lRegExCommand; | ||
| 43 | }; | ||
| 44 | |||
| 45 | #endif | ||
