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/] [common/] [win32/] [RulesView.h] - Blame information for rev 174

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