diff options
Diffstat (limited to 'src/viewerplain.cpp')
-rw-r--r-- | src/viewerplain.cpp | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/src/viewerplain.cpp b/src/viewerplain.cpp deleted file mode 100644 index 52b798b..0000000 --- a/src/viewerplain.cpp +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | #include <stdio.h> | ||
2 | #include "viewerplain.h" | ||
3 | #include "perform.h" | ||
4 | |||
5 | ViewerPlain::ViewerPlain() | ||
6 | { | ||
7 | } | ||
8 | |||
9 | ViewerPlain::~ViewerPlain() | ||
10 | { | ||
11 | } | ||
12 | |||
13 | void ViewerPlain::beginTarget( const char *sName, const char *sType, const char *sOperation, int nPerforms ) | ||
14 | { | ||
15 | sAction = sName; | ||
16 | bPrinted = false; | ||
17 | } | ||
18 | |||
19 | void ViewerPlain::printHead() | ||
20 | { | ||
21 | if( bPrinted == false ) | ||
22 | { | ||
23 | printf("--- %s ---\n", sAction.getString() ); | ||
24 | bPrinted = true; | ||
25 | } | ||
26 | } | ||
27 | |||
28 | void ViewerPlain::endTarget() | ||
29 | { | ||
30 | if( bPrinted == true ) | ||
31 | { | ||
32 | printf("\n"); | ||
33 | } | ||
34 | else | ||
35 | { | ||
36 | printf("Nothing to be done for %s.\n", sAction.getString() ); | ||
37 | } | ||
38 | } | ||
39 | |||
40 | void ViewerPlain::beginPerform( Perform *pPerf ) | ||
41 | { | ||
42 | sTarget = pPerf->getTarget(); | ||
43 | } | ||
44 | |||
45 | void ViewerPlain::beginExtraRequiresCheck( const char *sCommand ) | ||
46 | { | ||
47 | printHead(); | ||
48 | printf(" check: %s\n", sTarget.getString() ); | ||
49 | } | ||
50 | |||
51 | void ViewerPlain::beginExecute() | ||
52 | { | ||
53 | printHead(); | ||
54 | printf(" build: %s\n", sTarget.getString() ); | ||
55 | } | ||
56 | |||
57 | void ViewerPlain::executeCmd( const char *sCmd ) | ||
58 | { | ||
59 | //printf("--> %s\n", sCmd ); | ||
60 | } | ||
61 | |||