diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-09-12 00:22:33 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-09-12 00:22:33 +0000 |
commit | d19ada0aa88aba1c7b439035c0028440ac860ec3 (patch) | |
tree | fb8cde98650aa66fcdb736b045f541eac1b8b93a /src/viewerplain.cpp | |
parent | 97d529fac68105f0d3d34c699a4ac10489c705e8 (diff) | |
download | build-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.cpp | 42 |
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 | |||
5 | PluginInterface2( plain, ViewerPlain, Viewer, "Mike Buland", 0, 1 ); | ||
6 | |||
7 | ViewerPlain::ViewerPlain() | ||
8 | { | ||
9 | } | ||
10 | |||
11 | ViewerPlain::~ViewerPlain() | ||
12 | { | ||
13 | } | ||
14 | |||
15 | void ViewerPlain::beginCommand( Action::eAction nAct, const std::string &sTarget, int nPerforms ) | ||
16 | { | ||
17 | printf("--- check %s ---\n", sTarget.c_str() ); | ||
18 | } | ||
19 | |||
20 | void ViewerPlain::endCommand() | ||
21 | { | ||
22 | printf("---\n"); | ||
23 | } | ||
24 | |||
25 | void ViewerPlain::beginRequiresCheck( bool bCached, const std::string &sName ) | ||
26 | { | ||
27 | printf(" deps: %s\n", sName.c_str() ); | ||
28 | } | ||
29 | |||
30 | void ViewerPlain::endRequiresCheck() | ||
31 | { | ||
32 | } | ||
33 | |||
34 | void ViewerPlain::beginPerform( Perform *pPerform ) | ||
35 | { | ||
36 | printf(" %8s: %s\n", pPerform->getRule().c_str(), pPerform->getTarget().c_str() ); | ||
37 | } | ||
38 | |||
39 | void ViewerPlain::endPerform() | ||
40 | { | ||
41 | } | ||
42 | |||