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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [Utils/] [win32/] [Cell.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
#if !defined(AFX_CELLEDIT_H__B7D5072A_9B59_11D3_A537_00A0C949ADAC__INCLUDED_)
23
#define AFX_CELLEDIT_H__B7D5072A_9B59_11D3_A537_00A0C949ADAC__INCLUDED_
24
 
25
#if _MSC_VER > 1000
26
#pragma once
27
#endif // _MSC_VER > 1000
28
// Cell.h : header file
29
//
30
 
31
/////////////////////////////////////////////////////////////////////////////
32
// CCell window
33
enum {WM_CANCEL_EDIT=WM_USER+99}; // wParam=1 for end, 0 for cancel
34
class CCell : public CWnd
35
{
36
// Construction
37
public:
38
        CCell(LPCTSTR pszInitialValue);
39
 
40
// Attributes
41
public:
42
 
43
// Operations
44
public:
45
 
46
// Overrides
47
        // ClassWizard generated virtual function overrides
48
        //{{AFX_VIRTUAL(CCell)
49
        public:
50
        virtual BOOL PreTranslateMessage(MSG* pMsg);
51
        virtual BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
52
        //}}AFX_VIRTUAL
53
 
54
// Implementation
55
public:
56
        virtual ~CCell();
57
        virtual void OnUpdateEditCopy   (CCmdUI*){}
58
        virtual void OnUpdateEditDelete (CCmdUI*){}
59
        virtual void OnUpdateEditPaste  (CCmdUI*){}
60
        virtual void OnUpdateEditCut    (CCmdUI*){}
61
        virtual void OnEditCopy   (){}
62
        virtual void OnEditDelete (){}
63
        virtual void OnEditPaste  (){}
64
        virtual void OnEditCut    (){}
65
        // Generated message map functions
66
protected:
67
  CString m_strInitialValue;
68
        //{{AFX_MSG(CCell)
69
        afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
70
        //}}AFX_MSG
71
        DECLARE_MESSAGE_MAP()
72
};
73
 
74
/////////////////////////////////////////////////////////////////////////////
75
 
76
//{{AFX_INSERT_LOCATION}}
77
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
78
 
79
#endif // !defined(AFX_CELLEDIT_H__B7D5072A_9B59_11D3_A537_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

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