aboutsummaryrefslogtreecommitdiff
path: root/src/viewerplain.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-12 00:22:33 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-12 00:22:33 +0000
commitd19ada0aa88aba1c7b439035c0028440ac860ec3 (patch)
treefb8cde98650aa66fcdb736b045f541eac1b8b93a /src/viewerplain.cpp
parent97d529fac68105f0d3d34c699a4ac10489c705e8 (diff)
downloadbuild-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.gz
build-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.bz2
build-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.xz
build-d19ada0aa88aba1c7b439035c0028440ac860ec3.zip
Build now builds, it has viewers, and dependancy checking, and everything works.
Now we have to add cleaning, caching, and more viewer hooks / viewers.
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