diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2009-12-21 18:04:02 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2009-12-21 18:04:02 +0000 |
| commit | fb28f6800864176be2ffca29e8e664b641f33170 (patch) | |
| tree | ba9180ac442939edc4eacbe1fdae93c5a7f87cee /src/viewmake.cpp | |
| parent | 51e21a316be6e052251b3dfc7d671061ebd67cee (diff) | |
| download | build-fb28f6800864176be2ffca29e8e664b641f33170.tar.gz build-fb28f6800864176be2ffca29e8e664b641f33170.tar.bz2 build-fb28f6800864176be2ffca29e8e664b641f33170.tar.xz build-fb28f6800864176be2ffca29e8e664b641f33170.zip | |
m3 is copied into trunk, we should be good to go, now.
Diffstat (limited to '')
| -rw-r--r-- | src/viewmake.cpp | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/src/viewmake.cpp b/src/viewmake.cpp new file mode 100644 index 0000000..39d1327 --- /dev/null +++ b/src/viewmake.cpp | |||
| @@ -0,0 +1,86 @@ | |||
| 1 | #include "viewmake.h" | ||
| 2 | #include "target.h" | ||
| 3 | |||
| 4 | #include <bu/plugger.h> | ||
| 5 | |||
| 6 | #include <bu/sio.h> | ||
| 7 | using namespace Bu; | ||
| 8 | |||
| 9 | PluginInterface3( pluginViewMake, make, ViewMake, View, | ||
| 10 | "Mike Buland", 0, 1 ); | ||
| 11 | |||
| 12 | ViewMake::ViewMake() | ||
| 13 | { | ||
| 14 | } | ||
| 15 | |||
| 16 | ViewMake::~ViewMake() | ||
| 17 | { | ||
| 18 | } | ||
| 19 | |||
| 20 | void ViewMake::beginAction( const Bu::FString &/*sAction*/ ) | ||
| 21 | { | ||
| 22 | } | ||
| 23 | |||
| 24 | void ViewMake::endAction() | ||
| 25 | { | ||
| 26 | } | ||
| 27 | |||
| 28 | void ViewMake::skipTarget( const Bu::FString &/*sProfile*/, | ||
| 29 | const Target &/*rTarget*/ ) | ||
| 30 | { | ||
| 31 | } | ||
| 32 | |||
| 33 | void ViewMake::beginTarget( const Bu::FString &/*sProfile*/, | ||
| 34 | const Target &/*rTarget*/ ) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | void ViewMake::processTarget( const Bu::FString &/*sProfile*/, | ||
| 39 | const Target &/*rTarget*/ ) | ||
| 40 | { | ||
| 41 | } | ||
| 42 | |||
| 43 | void ViewMake::endTarget() | ||
| 44 | { | ||
| 45 | } | ||
| 46 | |||
| 47 | void ViewMake::buildRequires( const Target &/*rTarget*/ ) | ||
| 48 | { | ||
| 49 | } | ||
| 50 | |||
| 51 | void ViewMake::cmdStarted( const Bu::FString &sCmd ) | ||
| 52 | { | ||
| 53 | sio << sCmd << sio.nl; | ||
| 54 | } | ||
| 55 | |||
| 56 | void ViewMake::cmdFinished( const Bu::FString &sStdOut, | ||
| 57 | const Bu::FString &sStdErr, long /*iExit*/ ) | ||
| 58 | { | ||
| 59 | sio << sStdOut << sStdErr; | ||
| 60 | } | ||
| 61 | |||
| 62 | void ViewMake::userError( const Bu::FString &sMsg ) | ||
| 63 | { | ||
| 64 | sio << "Error: " << sMsg << sio.nl; | ||
| 65 | } | ||
| 66 | |||
| 67 | void ViewMake::userWarning( const Bu::FString &sMsg ) | ||
| 68 | { | ||
| 69 | sio << "Warning: " << sMsg << sio.nl; | ||
| 70 | } | ||
| 71 | |||
| 72 | void ViewMake::userNotice( const Bu::FString &sMsg ) | ||
| 73 | { | ||
| 74 | sio << "Notice: " << sMsg << sio.nl; | ||
| 75 | } | ||
| 76 | |||
| 77 | void ViewMake::sysError( const Bu::FString &sMsg ) | ||
| 78 | { | ||
| 79 | sio << sMsg << sio.nl; | ||
| 80 | } | ||
| 81 | |||
| 82 | void ViewMake::sysWarning( const Bu::FString &sMsg ) | ||
| 83 | { | ||
| 84 | sio << sMsg << sio.nl; | ||
| 85 | } | ||
| 86 | |||
