diff options
Diffstat (limited to '')
-rw-r--r-- | src/viewdefault.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/viewdefault.h b/src/viewdefault.h new file mode 100644 index 0000000..c9a554d --- /dev/null +++ b/src/viewdefault.h | |||
@@ -0,0 +1,42 @@ | |||
1 | #ifndef VIEW_DEFAULT_H | ||
2 | #define VIEW_DEFAULT_H | ||
3 | |||
4 | #include "view.h" | ||
5 | |||
6 | class ViewDefault : public View | ||
7 | { | ||
8 | public: | ||
9 | ViewDefault(); | ||
10 | virtual ~ViewDefault(); | ||
11 | |||
12 | virtual void beginAction( const Bu::FString &sAction ); | ||
13 | virtual void endAction(); | ||
14 | |||
15 | virtual void skipTarget( const Bu::FString &sProfile, | ||
16 | const Target &rTarget ); | ||
17 | virtual void beginTarget( const Bu::FString &sProfile, | ||
18 | const Target &rTarget ); | ||
19 | virtual void processTarget( const Bu::FString &sProfile, | ||
20 | const Target &rTarget ); | ||
21 | virtual void endTarget(); | ||
22 | |||
23 | virtual void buildRequires( const Target &rTarget ); | ||
24 | virtual void cmdStarted( const Bu::FString &sCmd ); | ||
25 | virtual void cmdFinished( const Bu::FString &sStdOut, | ||
26 | const Bu::FString &sStdErr, long iExit ); | ||
27 | |||
28 | virtual void userError( const Bu::FString &sMsg ); | ||
29 | virtual void userWarning( const Bu::FString &sMsg ); | ||
30 | virtual void userNotice( const Bu::FString &sMsg ); | ||
31 | |||
32 | virtual void sysError( const Bu::FString &sMsg ); | ||
33 | virtual void sysWarning( const Bu::FString &sMsg ); | ||
34 | |||
35 | private: | ||
36 | bool bFirst; | ||
37 | int iDepth; | ||
38 | int iTotal; | ||
39 | int iCurrent; | ||
40 | }; | ||
41 | |||
42 | #endif | ||