aboutsummaryrefslogtreecommitdiff
path: root/src/viewmake.cpp
blob: 39d1327c273ea99481035fb9e2e934bd49ab5e71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#include "viewmake.h"
#include "target.h"

#include <bu/plugger.h>

#include <bu/sio.h>
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;
}