aboutsummaryrefslogtreecommitdiff
path: root/src/viewerplain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewerplain.cpp')
-rw-r--r--src/viewerplain.cpp42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/viewerplain.cpp b/src/viewerplain.cpp
new file mode 100644
index 0000000..f2123b0
--- /dev/null
+++ b/src/viewerplain.cpp
@@ -0,0 +1,42 @@
1#include "viewerplain.h"
2#include "perform.h"
3#include "plugger.h"
4
5PluginInterface2( plain, ViewerPlain, Viewer, "Mike Buland", 0, 1 );
6
7ViewerPlain::ViewerPlain()
8{
9}
10
11ViewerPlain::~ViewerPlain()
12{
13}
14
15void ViewerPlain::beginCommand( Action::eAction nAct, const std::string &sTarget, int nPerforms )
16{
17 printf("--- check %s ---\n", sTarget.c_str() );
18}
19
20void ViewerPlain::endCommand()
21{
22 printf("---\n");
23}
24
25void ViewerPlain::beginRequiresCheck( bool bCached, const std::string &sName )
26{
27 printf(" deps: %s\n", sName.c_str() );
28}
29
30void ViewerPlain::endRequiresCheck()
31{
32}
33
34void ViewerPlain::beginPerform( Perform *pPerform )
35{
36 printf(" %8s: %s\n", pPerform->getRule().c_str(), pPerform->getTarget().c_str() );
37}
38
39void ViewerPlain::endPerform()
40{
41}
42