OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [standalone/] [win32/] [OutputView.h] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
// ####ECOSHOSTGPLCOPYRIGHTBEGIN####                                        
2
// -------------------------------------------                              
3
// This file is part of the eCos host tools.                                
4
// Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.            
5
//
6
// This program is free software; you can redistribute it and/or modify     
7
// it under the terms of the GNU General Public License as published by     
8
// the Free Software Foundation; either version 2 or (at your option) any   
9
// later version.                                                           
10
//
11
// This program is distributed in the hope that it will be useful, but      
12
// WITHOUT ANY WARRANTY; without even the implied warranty of               
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU        
14
// General Public License for more details.                                 
15
//
16
// You should have received a copy of the GNU General Public License        
17
// along with this program; if not, write to the                            
18
// Free Software Foundation, Inc., 51 Franklin Street,                      
19
// Fifth Floor, Boston, MA  02110-1301, USA.                                
20
// -------------------------------------------                              
21
// ####ECOSHOSTGPLCOPYRIGHTEND####                                          
22
//===========================================================================
23
//#####DESCRIPTIONBEGIN####
24
//
25
// Author(s):   sdf
26
// Contact(s):  sdf
27
// Date:                1998/08/11
28
// Version:             0.01
29
// Purpose:     
30
// Description: Interface of the output window view
31
// Requires:    
32
// Provides:    
33
// See also:    
34
// Known bugs:  
35
// Usage:       
36
//
37
//####DESCRIPTIONEND####
38
//
39
//===========================================================================
40
#if !defined(AFX_OUTPUTVIEW_H__B9DE3972_0F3C_11D2_80BE_00A0C949ADAC__INCLUDED_)
41
#define AFX_OUTPUTVIEW_H__B9DE3972_0F3C_11D2_80BE_00A0C949ADAC__INCLUDED_
42
 
43
#if _MSC_VER >= 1000
44
#pragma once
45
#endif // _MSC_VER >= 1000
46
// OutputView.h : header file
47
//
48
 
49
/////////////////////////////////////////////////////////////////////////////
50
// COutputView view
51
 
52
class COutputView : public CEditView
53
{
54
protected:
55
        COutputView();           // protected constructor used by dynamic creation
56
        DECLARE_DYNCREATE(COutputView)
57
 
58
// Attributes
59
public:
60
 
61
// Operations
62
public:
63
        bool m_bFindInProgress;
64
        void GetContents (CStringArray &arstr);
65
        void Save (const CString &strFile);
66
        void Clear();
67
        void AddText (const CString &str);
68
        afx_msg void OnEditClear();
69
        afx_msg void OnFileSave();
70
        afx_msg void OnEditSelectAll();
71
        afx_msg void OnEditCopy();
72
        afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
73
        afx_msg void OnUpdateEditClear(CCmdUI* pCmdUI);
74
 
75
// Overrides
76
        // ClassWizard generated virtual function overrides
77
        //{{AFX_VIRTUAL(COutputView)
78
        public:
79
        virtual void OnInitialUpdate();
80
        protected:
81
        virtual void OnDraw(CDC* pDC);      // overridden to draw this view
82
        virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
83
        virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
84
        //}}AFX_VIRTUAL
85
 
86
// Implementation
87
 
88
protected:
89
    void OnFindNext( LPCTSTR lpszFind, BOOL bNext, BOOL bCase );
90
    void OnTextNotFound( LPCTSTR lpszFind );
91
 
92
        virtual ~COutputView();
93
#ifdef _DEBUG
94
        virtual void AssertValid() const;
95
        virtual void Dump(CDumpContext& dc) const;
96
#endif
97
 
98
 
99
        // Generated message map functions
100
protected:
101
        //{{AFX_MSG(COutputView)
102
        afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
103
        afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
104
        afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI);
105
        afx_msg void OnUpdateEditCut(CCmdUI* pCmdUI);
106
        afx_msg void OnUpdateEditDelete(CCmdUI* pCmdUI);
107
        afx_msg void OnEditUndo();
108
        afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
109
        afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
110
        afx_msg void OnEditFindAgain();
111
        afx_msg void OnUpdateEditFind(CCmdUI* pCmdUI);
112
        afx_msg void OnUpdateEditFindAgain(CCmdUI* pCmdUI);
113
        afx_msg void OnEditFind();
114
  afx_msg LONG OnEditFindReplace(WPARAM wParam, LPARAM lParam);
115
        afx_msg void OnEditChange();
116
        afx_msg LRESULT OnMenuChar(UINT nChar, UINT nFlags, CMenu* pMenu);
117
        //}}AFX_MSG
118
        DECLARE_MESSAGE_MAP()
119
};
120
 
121
/////////////////////////////////////////////////////////////////////////////
122
 
123
//{{AFX_INSERT_LOCATION}}
124
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
125
 
126
#endif // !defined(AFX_OUTPUTVIEW_H__B9DE3972_0F3C_11D2_80BE_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.