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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [Utils/] [win32/] [eCosDialog.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_ECOSDIALOG_H__900AB3BE_8321_11D3_A534_00A0C949ADAC__INCLUDED_)
26
#define AFX_ECOSDIALOG_H__900AB3BE_8321_11D3_A534_00A0C949ADAC__INCLUDED_
27
 
28
#if _MSC_VER > 1000
29
#pragma once
30
#endif // _MSC_VER > 1000
31
// eCosDialog.h : header file
32
//
33
 
34
#ifdef PLUGIN
35
  #include "ide.win32.h"
36
  #include "ide.guicommon.h"
37
#else
38
  #include "CSHDialog.h"
39
#endif
40
 
41
/////////////////////////////////////////////////////////////////////////////
42
// CeCosDialog dialog
43
 
44
class CeCosDialog : public CCSHDialog
45
{
46
// Construction
47
  friend class CeCosPropertyPage;
48
  friend class CeCosPropertySheet;
49
public:
50
  CeCosDialog( LPCTSTR lpszTemplateName, CWnd* pParentWnd = NULL ):  CCSHDialog(lpszTemplateName, pParentWnd){}
51
  CeCosDialog( UINT nIDTemplate, CWnd* pParentWnd = NULL ):CCSHDialog(nIDTemplate, pParentWnd){}
52
  CeCosDialog( ):CCSHDialog(){}
53
  static void AddDialogMap  (UINT  *map) { m_arDialogMaps.Add(map); }
54
 
55
// Dialog Data
56
        //{{AFX_DATA(CeCosDialog)
57
                // NOTE: the ClassWizard will add data members here
58
        //}}AFX_DATA
59
 
60
 
61
// Overrides
62
        // ClassWizard generated virtual function overrides
63
        //{{AFX_VIRTUAL(CeCosDialog)
64
        protected:
65
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
66
        //}}AFX_VIRTUAL
67
 
68
  // Implementation
69
protected:
70
 
71
  static CPtrArray m_arDialogMaps;
72
 
73
  virtual CString CSHFile() const;
74
  static CString CSHFile(UINT dlgID);
75
  static DWORD arControlMap[];
76
  static DWORD arDialogMap[];
77
  virtual UINT HelpID (DWORD dwCtrlID) const;
78
  static  UINT HelpID (UINT dlgID,DWORD dwCtrlID);
79
  void OnContextMenu(CWnd* pWnd, CPoint point);
80
  virtual HINSTANCE GetInstanceHandle();
81
  BOOL OnHelpInfo(HELPINFO* pHelpInfo);
82
 
83
        // Generated message map functions
84
        //{{AFX_MSG(CeCosDialog)
85
        //}}AFX_MSG
86
        DECLARE_MESSAGE_MAP()
87
};
88
 
89
//{{AFX_INSERT_LOCATION}}
90
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
91
 
92
#endif // !defined(AFX_ECOSDIALOG_H__900AB3BE_8321_11D3_A534_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

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