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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [standalone/] [wxwin/] [folderdlg.h] - Blame information for rev 790

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
// ####ECOSHOSTGPLCOPYRIGHTBEGIN####                                        
2
// -------------------------------------------                              
3
// This file is part of the eCos host tools.                                
4
// Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.            
5
//
6
// This program is free software; you can redistribute it and/or modify     
7
// it under the terms of the GNU General Public License as published by     
8
// the Free Software Foundation; either version 2 or (at your option) any   
9
// later version.                                                           
10
//
11
// This program is distributed in the hope that it will be useful, but      
12
// WITHOUT ANY WARRANTY; without even the implied warranty of               
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU        
14
// General Public License for more details.                                 
15
//
16
// You should have received a copy of the GNU General Public License        
17
// along with this program; if not, write to the                            
18
// Free Software Foundation, Inc., 51 Franklin Street,                      
19
// Fifth Floor, Boston, MA  02110-1301, USA.                                
20
// -------------------------------------------                              
21
// ####ECOSHOSTGPLCOPYRIGHTEND####                                          
22
// folderdlg.h :
23
//
24
//===========================================================================
25
//#####DESCRIPTIONBEGIN####
26
//
27
// Author(s):   julians
28
// Contact(s):  julians
29
// Date:        2000/12/20
30
// Version:     $Id: folderdlg.h,v 1.2 2001/03/23 13:38:04 julians Exp $
31
// Purpose:
32
// Description: Header for ecFolderDialog
33
// Requires:
34
// Provides:
35
// See also:
36
// Known bugs:
37
// Usage:
38
//
39
//####DESCRIPTIONEND####
40
//
41
//===========================================================================
42
 
43
#ifndef _ECOS_FOLDERDLG_H_
44
#define _ECOS_FOLDERDLG_H_
45
 
46
#ifdef __GNUG__
47
    #pragma interface "folderdlg.cpp"
48
#endif
49
 
50
#ifndef WX_PRECOMP
51
    #include "wx/wx.h"
52
#endif
53
 
54
#include "ecutils.h"
55
 
56
//----------------------------------------------------------------------------
57
// ecFolderDialog
58
//----------------------------------------------------------------------------
59
 
60
class ecFolderDialog: public ecDialog
61
{
62
public:
63
    // constructors and destructors
64
    ecFolderDialog( const wxString& defaultPath, const wxArrayString& paths,
65
        const wxString& msg, wxWindow *parent, wxWindowID id, const wxString &title,
66
        const wxPoint& pos = wxDefaultPosition,
67
        const wxSize& size = wxDefaultSize,
68
        long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
69
 
70
/// Operations    
71
    void CreateControls();
72
 
73
//// Event handlers
74
    void OnOK( wxCommandEvent &event );
75
    void OnCancel( wxCommandEvent& event );
76
    void OnBrowse( wxCommandEvent& event);
77
    void OnInitDialog(wxInitDialogEvent& event);
78
 
79
//// Accessors
80
    wxString GetPath() const { return m_defaultPath; }
81
 
82
private:
83
        wxString        m_defaultPath;
84
        wxArrayString   m_paths;
85
    wxString        m_message;
86
 
87
    DECLARE_EVENT_TABLE()
88
};
89
 
90
 
91
#endif
92
    // _ECOS_FOLDERDLG_H_

powered by: WebSVN 2.1.0

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