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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [common/] [win32/] [RulesView.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
// RulesView.h : interface of the CRulesView class
23
//
24
/////////////////////////////////////////////////////////////////////////////
25
 
26
#if !defined(AFX_RULESVIEW_H__9D3E02FA_8D4E_11D3_A535_00A0C949ADAC__INCLUDED_)
27
#define AFX_RULESVIEW_H__9D3E02FA_8D4E_11D3_A535_00A0C949ADAC__INCLUDED_
28
 
29
#include "RulesList.h"
30
 
31
#if _MSC_VER > 1000
32
#pragma once
33
#endif // _MSC_VER > 1000
34
 
35
 
36
class CRulesView : public CView
37
{
38
protected: // create from serialization only
39
        CRulesView();
40
        DECLARE_DYNCREATE(CRulesView)
41
 
42
// Attributes
43
public:
44
 
45
// Operations
46
public:
47
  void FillRules();
48
// Overrides
49
        // ClassWizard generated virtual function overrides
50
        //{{AFX_VIRTUAL(CRulesView)
51
        public:
52
        virtual void OnDraw(CDC* pDC);  // overridden to draw this view
53
        virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
54
        protected:
55
        //}}AFX_VIRTUAL
56
 
57
// Implementation
58
public:
59
        virtual ~CRulesView();
60
#ifdef _DEBUG
61
        virtual void AssertValid() const;
62
        virtual void Dump(CDumpContext& dc) const;
63
#endif
64
 
65
protected:
66
        int m_nContextItem;
67
 
68
// Generated message map functions
69
protected:
70
        int m_nContextRow;
71
        CRulesList m_List;
72
        //{{AFX_MSG(CRulesView)
73
        afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
74
        afx_msg void OnSize(UINT nType, int cx, int cy);
75
        afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
76
  afx_msg void OnDisable();
77
  afx_msg void OnEnable();
78
  afx_msg void OnLocate();
79
  afx_msg void OnResolve();
80
        afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
81
        //}}AFX_MSG
82
        DECLARE_MESSAGE_MAP()
83
};
84
 
85
/////////////////////////////////////////////////////////////////////////////
86
 
87
//{{AFX_INSERT_LOCATION}}
88
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
89
 
90
#endif // !defined(AFX_RULESVIEW_H__9D3E02FA_8D4E_11D3_A535_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

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