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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [Utils/] [win32/] [CSHDialog.h] - Blame information for rev 574

Go to most recent revision | 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_CCHDIALOG_H__900AB3BE_8321_11D3_A534_00A0C949ADAC__INCLUDED_)
26
#define AFX_CCHDIALOG_H__900AB3BE_8321_11D3_A534_00A0C949ADAC__INCLUDED_
27
 
28
#if _MSC_VER > 1000
29
#pragma once
30
#endif // _MSC_VER > 1000
31
// CSHDialog.h : header file
32
//
33
 
34
#include "CSHCommon.h"
35
 
36
/////////////////////////////////////////////////////////////////////////////
37
// CCSHDialog dialog
38
 
39
class CCSHDialog : public CDialog, public CCSHCommon
40
{
41
// Construction
42
public:
43
  CCSHDialog( LPCTSTR lpszTemplateName, CWnd* pParentWnd = NULL ):  CDialog(lpszTemplateName, pParentWnd){}
44
  CCSHDialog( UINT nIDTemplate, CWnd* pParentWnd = NULL ):CDialog(nIDTemplate, pParentWnd){}
45
  CCSHDialog( ):CDialog(){}
46
 
47
  virtual ~CCSHDialog(){}
48
 
49
  // Dialog Data
50
        //{{AFX_DATA(CCSHDialog)
51
                // NOTE: the ClassWizard will add data members here
52
        //}}AFX_DATA
53
 
54
 
55
// Overrides
56
        // ClassWizard generated virtual function overrides
57
        //{{AFX_VIRTUAL(CCSHDialog)
58
        protected:
59
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
60
        //}}AFX_VIRTUAL
61
 
62
// Implementation
63
protected:
64
 
65
  virtual HINSTANCE GetInstanceHandle();
66
 
67
        virtual UINT HelpID (DWORD dwCtrlID) const;
68
  UINT HelpID(HWND hWnd) const { return HelpID(::GetDlgCtrlID(hWnd)); }
69
 
70
  // return the context-sensitive help file (e.g. thisdialog.htm)
71
  virtual CString CSHFile() const;
72
 
73
  void OnContextMenu(CWnd* pWnd, CPoint point);
74
 
75
  BOOL OnHelpInfo(HELPINFO* pHelpInfo);
76
 
77
  BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult);
78
 
79
        // Generated message map functions
80
        //{{AFX_MSG(CCSHDialog)
81
        virtual BOOL OnInitDialog();
82
        afx_msg void OnWhatsThis();
83
        afx_msg void OnHelp();
84
        //}}AFX_MSG
85
        DECLARE_MESSAGE_MAP()
86
};
87
 
88
//{{AFX_INSERT_LOCATION}}
89
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
90
 
91
#endif // !defined(AFX_CCHDIALOG_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.