diff options
Diffstat (limited to '')
-rw-r--r-- | src/viewer.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/viewer.h b/src/viewer.h index 04f4ea7..93cebb7 100644 --- a/src/viewer.h +++ b/src/viewer.h | |||
@@ -2,7 +2,10 @@ | |||
2 | #define VIEWER_H | 2 | #define VIEWER_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <string> | ||
6 | #include "action.h" | ||
5 | 7 | ||
8 | class Perform; | ||
6 | 9 | ||
7 | class Viewer | 10 | class Viewer |
8 | { | 11 | { |
@@ -10,6 +13,20 @@ public: | |||
10 | Viewer(); | 13 | Viewer(); |
11 | virtual ~Viewer(); | 14 | virtual ~Viewer(); |
12 | 15 | ||
16 | virtual void beginAction( const std::string &sName, int nCommands ); | ||
17 | virtual void endAction(); | ||
18 | |||
19 | virtual void beginCommand( Action::eAction nAct, const std::string &sTarget, int nPerforms ); | ||
20 | virtual void endCommand(); | ||
21 | |||
22 | virtual void beginRequiresCheck( bool bCached, const std::string &sName ); | ||
23 | virtual void endRequiresCheck(); | ||
24 | virtual void beginPerform( Perform *pPerform ); | ||
25 | virtual void endPerform(); | ||
26 | virtual void beginExecute(); | ||
27 | virtual void endExecute(); | ||
28 | virtual void executeCmd( const std::string &sCmd ); | ||
29 | |||
13 | private: | 30 | private: |
14 | 31 | ||
15 | }; | 32 | }; |