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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [configtool/] [common/] [win32/] [FolderDialog.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
//===========================================================================
26
//#####DESCRIPTIONBEGIN####
27
//
28
// Author(s):   sdf
29
// Contact(s):  sdf
30
// Date:                1998/08/11
31
// Version:             0.01
32
// Purpose:     
33
// Description: Interface of the find folder dialog
34
// Requires:    
35
// Provides:    
36
// See also:    
37
// Known bugs:  
38
// Usage:       
39
//
40
//####DESCRIPTIONEND####
41
//
42
//===========================================================================
43
#if !defined(AFX_FOLDERDIALOG_H__15EC5D2F_1707_11D2_80C0_00A0C949ADAC__INCLUDED_)
44
#define AFX_FOLDERDIALOG_H__15EC5D2F_1707_11D2_80C0_00A0C949ADAC__INCLUDED_
45
 
46
#if _MSC_VER >= 1000
47
#pragma once
48
#endif // _MSC_VER >= 1000
49
// FolderDialog.h : header file
50
//
51
 
52
#include "FileName.h"
53
#include "resource.h"
54
#include "eCosDialog.h"
55
/////////////////////////////////////////////////////////////////////////////
56
// CFolderDialog dialog
57
 
58
class CFolderDialog : public CeCosDialog
59
{
60
// Construction
61
public:
62
        CString m_strDesc;
63
        CFolderDialog(BOOL bAllowCreation=TRUE, UINT id=0);   // standard constructor
64
        CString m_strTitle;
65
        CFileName m_strFolder;
66
 
67
// Dialog Data
68
        //{{AFX_DATA(CFolderDialog)
69
        //}}AFX_DATA
70
 
71
 
72
// Overrides
73
        // ClassWizard generated virtual function overrides
74
        //{{AFX_VIRTUAL(CFolderDialog)
75
        protected:
76
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
77
        //}}AFX_VIRTUAL
78
 
79
// Implementation
80
protected:
81
 
82
 
83
 
84
        static WNDPROC m_wndProc;
85
        static LRESULT CALLBACK WindowProcNew(HWND hwnd,UINT message, WPARAM wParam, LPARAM lParam);
86
        CButton *m_pButton;
87
 
88
        BOOL m_bAllowCreation;
89
        static int CALLBACK CBBrowseCallbackProc( HWND hwnd,
90
                UINT uMsg,
91
                LPARAM lParam,
92
                LPARAM lpData
93
                );
94
        void BrowseCallbackProc( HWND hwnd,
95
                UINT uMsg,
96
                LPARAM lParam);
97
 
98
        // Generated message map functions
99
        //{{AFX_MSG(CFolderDialog)
100
        afx_msg void OnBrowse();
101
        virtual void OnOK();
102
        virtual BOOL OnInitDialog();
103
        virtual void OnCancel();
104
        afx_msg void OnChangeFolder();
105
        //}}AFX_MSG
106
        DECLARE_MESSAGE_MAP()
107
};
108
 
109
//{{AFX_INSERT_LOCATION}}
110
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
111
 
112
#endif // !defined(AFX_FOLDERDIALOG_H__15EC5D2F_1707_11D2_80C0_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

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