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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [configtool/] [standalone/] [win32/] [OutputView.h] - Blame information for rev 321

Go to most recent revision | Details | Compare with Previous | View Log

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