Annotation of src/external/mpl/bind/dist/bin/win32/BINDInstall/DirBrowse.h, Revision 1.1.1.4
1.1 christos 1: /* $NetBSD$ */
2:
3: /*
1.1.1.4 ! christos 4: * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
! 5: *
! 6: * SPDX-License-Identifier: MPL-2.0
1.1 christos 7: *
8: * This Source Code Form is subject to the terms of the Mozilla Public
1.1.1.4 ! christos 9: * License, v. 2.0. If a copy of the MPL was not distributed with this
1.1.1.3 christos 10: * file, you can obtain one at https://mozilla.org/MPL/2.0/.
1.1 christos 11: *
12: * See the COPYRIGHT file distributed with this work for additional
13: * information regarding copyright ownership.
14: */
15:
16: /*
17: * Copyright (c) 1999-2000 by Nortel Networks Corporation
18: *
19: * Permission to use, copy, modify, and distribute this software for any
20: * purpose with or without fee is hereby granted, provided that the above
21: * copyright notice and this permission notice appear in all copies.
22: *
23: * THE SOFTWARE IS PROVIDED "AS IS" AND NORTEL NETWORKS DISCLAIMS
24: * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
25: * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NORTEL NETWORKS
26: * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
27: * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
28: * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
29: * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
30: * SOFTWARE.
31: */
32:
33: #ifndef DIRBROWSE_H
34: #define DIRBROWSE_H
35:
1.1.1.2 christos 36: class CDirBrowse : public CDialog {
37: /* Construction */
38: public:
39: CDirBrowse(CString initialDir = "\\",
40: CWnd *pParent = NULL); /* standard
41: * constructor
42: */
43: CString
44: GetSelectedDir() {
45: return (m_selectedDir);
46: }
1.1 christos 47:
1.1.1.2 christos 48: /*{{AFX_DATA(CDirBrowse) */
1.1 christos 49: enum { IDD = IDD_BROWSE };
1.1.1.2 christos 50: /* NOTE: the ClassWizard will add data members here */
51: /*}}AFX_DATA */
1.1 christos 52:
1.1.1.2 christos 53: /* ClassWizard generated virtual function overrides */
54: /*{{AFX_VIRTUAL(CDirBrowse) */
55: protected:
56: virtual void
57: DoDataExchange(CDataExchange *pDX); /* DDX/DDV support */
58: /*}}AFX_VIRTUAL */
59:
60: protected:
61: /* Generated message map functions */
62: /*{{AFX_MSG(CDirBrowse) */
63: virtual BOOL
64: OnInitDialog();
65: afx_msg void
66: OnDblclkDirlist();
67: afx_msg void
68: OnSelchangeDirlist();
69: /*}}AFX_MSG */
1.1 christos 70: DECLARE_MESSAGE_MAP()
71:
1.1.1.2 christos 72: private:
1.1 christos 73: CString m_selectedDir;
74: };
75:
1.1.1.2 christos 76: #endif /* ifndef DIRBROWSE_H */
CVSweb <webmaster@jp.NetBSD.org>