From fb28f6800864176be2ffca29e8e664b641f33170 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Dec 2009 18:04:02 +0000 Subject: m3 is copied into trunk, we should be good to go, now. --- src/viewmake.cpp | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 src/viewmake.cpp (limited to 'src/viewmake.cpp') 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 @@ +#include "viewmake.h" +#include "target.h" + +#include + +#include +using namespace Bu; + +PluginInterface3( pluginViewMake, make, ViewMake, View, + "Mike Buland", 0, 1 ); + +ViewMake::ViewMake() +{ +} + +ViewMake::~ViewMake() +{ +} + +void ViewMake::beginAction( const Bu::FString &/*sAction*/ ) +{ +} + +void ViewMake::endAction() +{ +} + +void ViewMake::skipTarget( const Bu::FString &/*sProfile*/, + const Target &/*rTarget*/ ) +{ +} + +void ViewMake::beginTarget( const Bu::FString &/*sProfile*/, + const Target &/*rTarget*/ ) +{ +} + +void ViewMake::processTarget( const Bu::FString &/*sProfile*/, + const Target &/*rTarget*/ ) +{ +} + +void ViewMake::endTarget() +{ +} + +void ViewMake::buildRequires( const Target &/*rTarget*/ ) +{ +} + +void ViewMake::cmdStarted( const Bu::FString &sCmd ) +{ + sio << sCmd << sio.nl; +} + +void ViewMake::cmdFinished( const Bu::FString &sStdOut, + const Bu::FString &sStdErr, long /*iExit*/ ) +{ + sio << sStdOut << sStdErr; +} + +void ViewMake::userError( const Bu::FString &sMsg ) +{ + sio << "Error: " << sMsg << sio.nl; +} + +void ViewMake::userWarning( const Bu::FString &sMsg ) +{ + sio << "Warning: " << sMsg << sio.nl; +} + +void ViewMake::userNotice( const Bu::FString &sMsg ) +{ + sio << "Notice: " << sMsg << sio.nl; +} + +void ViewMake::sysError( const Bu::FString &sMsg ) +{ + sio << sMsg << sio.nl; +} + +void ViewMake::sysWarning( const Bu::FString &sMsg ) +{ + sio << sMsg << sio.nl; +} + -- cgit v1.2.3