aboutsummaryrefslogtreecommitdiff
path: root/src/viewer.h
blob: 86410f0557942801b8b5d19d0a3c8f1d2fc26ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef VIEWER_H
#define VIEWER_H

#include <stdint.h>
#include <string>
#include "action.h"

class Perform;

class Viewer
{
public:
	Viewer();
	virtual ~Viewer();

	virtual void beginAction( const std::string &sName, int nCommands );
	virtual void endAction();

	virtual void beginCommand( Action::eAction nAct, const std::string &sTarget );
	virtual void endCommand();
	virtual void beginPerforms( int nCount );
	virtual void endPerforms();

	virtual void beginRequiresCheck( bool bCached, const std::string &sName );
	virtual void endRequiresCheck();
	virtual void beginPerform( Perform *pPerform );
	virtual void endPerform();
	virtual void beginExecute();
	virtual void endExecute();
	virtual void executeCmd( const std::string &sCmd );

private:

};

#endif