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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [configtool/] [common/] [win32/] [RulesList.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
#if !defined(AFX_PROPERTIESLIST_H__AEF48733_8D31_11D3_A535_00A0C949ADAC__INCLUDED_)
26
#define AFX_PROPERTIESLIST_H__AEF48733_8D31_11D3_A535_00A0C949ADAC__INCLUDED_
27
 
28
#if _MSC_VER > 1000
29
#pragma once
30
#endif // _MSC_VER > 1000
31
// PropertiesList.h : header file
32
//
33
 
34
#include "TTListCtrl.h"
35
 
36
#define INCLUDEFILE "cdl.hxx"
37
#include "IncludeSTL.h"
38
/////////////////////////////////////////////////////////////////////////////
39
// CRulesList window
40
class CConfigItem;
41
class CRulesList : public CTTListCtrl
42
{
43
// Construction
44
public:
45
        CRulesList();
46
 
47
// Attributes
48
public:
49
 
50
// Operations
51
public:
52
  void AddConflict (const CdlConflict& conflict);
53
  void AddConflicts (const std::list<CdlConflict>& conflicts);
54
  void AddConflicts (const std::vector<CdlConflict>& conflicts);
55
  CConfigItem *AssociatedItem (int nRow,int nCol);
56
 
57
// Overrides
58
        // ClassWizard generated virtual function overrides
59
        //{{AFX_VIRTUAL(CRulesList)
60
        //}}AFX_VIRTUAL
61
 
62
// Implementation
63
public:
64
        virtual ~CRulesList();
65
        // Generated message map functions
66
protected:
67
  static int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort) {
68
    return ((CRulesList*)lParamSort)->CompareFunc(lParam1,lParam2);
69
  }
70
  int CompareFunc(LPARAM lParam1, LPARAM lParam2);
71
 
72
  double m_fWidth;
73
  enum {NCOLS=3};
74
  double m_f[NCOLS]; // relative proportions of columns
75
        LPARAM m_nLastCol;
76
  //{{AFX_MSG(CRulesList)
77
        afx_msg int  OnCreate(LPCREATESTRUCT lpCreateStruct);
78
        afx_msg void OnSize(UINT nType, int cx, int cy);
79
        afx_msg void OnEndTrack(NMHEADER *pNMHeader, LRESULT* pResult) ;
80
        afx_msg void OnColumnclick(NMHDR* pNMHDR, LRESULT* pResult);
81
        afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
82
        //}}AFX_MSG
83
 
84
        DECLARE_MESSAGE_MAP()
85
};
86
 
87
/////////////////////////////////////////////////////////////////////////////
88
 
89
//{{AFX_INSERT_LOCATION}}
90
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
91
 
92
#endif // !defined(AFX_PROPERTIESLIST_H__AEF48733_8D31_11D3_A535_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

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