| 1 |
// OutputBar.h : header file |
|---|
| 2 |
// |
|---|
| 3 |
///////////////////////////////////////////////////////////////////////////// |
|---|
| 4 |
|
|---|
| 5 |
#if !defined(AFX_OUTPUTBAR_H__3061A9B6_93BD_420E_81F8_242E095B483C__INCLUDED_) |
|---|
| 6 |
#define AFX_OUTPUTBAR_H__3061A9B6_93BD_420E_81F8_242E095B483C__INCLUDED_ |
|---|
| 7 |
|
|---|
| 8 |
#if _MSC_VER >= 1000 |
|---|
| 9 |
#pragma once |
|---|
| 10 |
#endif // _MSC_VER >= 1000 |
|---|
| 11 |
#include "scriptoutputdlg.h" |
|---|
| 12 |
|
|---|
| 13 |
#include "findoutputbardlg.h" |
|---|
| 14 |
#include "buildoutputbardlg.h" |
|---|
| 15 |
#include "BuildReportDlg.h" |
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
///////////////////////////////////////////////////////////////////////////// |
|---|
| 19 |
// COutputBar dock window class |
|---|
| 20 |
|
|---|
| 21 |
class COutputBar : public CXTDockWindow |
|---|
| 22 |
{ |
|---|
| 23 |
DECLARE_DYNAMIC(COutputBar) |
|---|
| 24 |
|
|---|
| 25 |
// Construction / destruction |
|---|
| 26 |
public: |
|---|
| 27 |
COutputBar(); |
|---|
| 28 |
virtual ~COutputBar(); |
|---|
| 29 |
|
|---|
| 30 |
// Attributes |
|---|
| 31 |
public: |
|---|
| 32 |
|
|---|
| 33 |
void ClearBuildText() |
|---|
| 34 |
{ |
|---|
| 35 |
m_buildSheet.m_buildEdit.SetWindowText(""); |
|---|
| 36 |
|
|---|
| 37 |
} |
|---|
| 38 |
void AddBuildText(string text ) { |
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
CString buffer; |
|---|
| 42 |
m_buildSheet.m_buildEdit.GetWindowText(buffer); |
|---|
| 43 |
string cur_text = buffer.GetBuffer(0); |
|---|
| 44 |
cur_text += "\r\n" + text; |
|---|
| 45 |
|
|---|
| 46 |
m_buildSheet.m_buildEdit.SetWindowText(ReplaceCRandLF(cur_text).c_str() ); |
|---|
| 47 |
|
|---|
| 48 |
} |
|---|
| 49 |
CXTFlatTabCtrl m_flatTabCtrl; |
|---|
| 50 |
CBuildOutputBarDlg m_buildSheet; |
|---|
| 51 |
CFindOutputBarDlg m_findSheet; |
|---|
| 52 |
CScriptOutputDlg m_webSheet; |
|---|
| 53 |
CBuildReportDlg m_buildReport; |
|---|
| 54 |
|
|---|
| 55 |
// Operations |
|---|
| 56 |
public: |
|---|
| 57 |
|
|---|
| 58 |
// Overrides |
|---|
| 59 |
// ClassWizard generated virtual function overrides |
|---|
| 60 |
//{{AFX_VIRTUAL(COutputBar) |
|---|
| 61 |
//}}AFX_VIRTUAL |
|---|
| 62 |
|
|---|
| 63 |
protected: |
|---|
| 64 |
//{{AFX_MSG(COutputBar) |
|---|
| 65 |
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); |
|---|
| 66 |
//}}AFX_MSG |
|---|
| 67 |
DECLARE_MESSAGE_MAP() |
|---|
| 68 |
}; |
|---|
| 69 |
|
|---|
| 70 |
///////////////////////////////////////////////////////////////////////////// |
|---|
| 71 |
|
|---|
| 72 |
//{{AFX_INSERT_LOCATION}} |
|---|
| 73 |
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. |
|---|
| 74 |
|
|---|
| 75 |
#endif // !defined(AFX_OUTPUTBAR_H__3061A9B6_93BD_420E_81F8_242E095B483C__INCLUDED_) |
|---|