aboutsummaryrefslogtreecommitdiff
path: root/src/viewerplain.h
blob: 4c88a0fafbc7a4ccf497c2fe15dad45441dcd045 (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
#ifndef VIEWER_PLAIN_H
#define VIEWER_PLAIN_H

#include <stdint.h>

#include "viewer.h"
#include "staticstring.h"

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

	virtual void beginTarget( const char *sName, const char *sType, const char *sOperation, int nPerforms );
	virtual void endTarget();

	virtual void beginPerform( Perform *pPerf );
	virtual void beginExtraRequiresCheck( const char *sCommand );
	void printHead();
	virtual void beginExecute();
	virtual void executeCmd( const char *sCmd );

private:
	class StaticString sAction;
	bool bPrinted;
	class StaticString sTarget;

};

#endif