DirBrowse.h revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
6ae232055d4d8a97267517c5e50074c2c819941and/*
6ae232055d4d8a97267517c5e50074c2c819941and * Portions Copyright (C) 2001, 2004, 2007, 2016 Internet Systems Consortium, Inc. ("ISC")
6ae232055d4d8a97267517c5e50074c2c819941and *
6ae232055d4d8a97267517c5e50074c2c819941and * This Source Code Form is subject to the terms of the Mozilla Public
6ae232055d4d8a97267517c5e50074c2c819941and * License, v. 2.0. If a copy of the MPL was not distributed with this
6ae232055d4d8a97267517c5e50074c2c819941and * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6ae232055d4d8a97267517c5e50074c2c819941and */
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and/* $Id: DirBrowse.h,v 1.6 2007/06/19 23:47:07 tbox Exp $ */
6ae232055d4d8a97267517c5e50074c2c819941and
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen/*
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * Copyright (c) 1999-2000 by Nortel Networks Corporation
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen *
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * Permission to use, copy, modify, and distribute this software for any
6ae232055d4d8a97267517c5e50074c2c819941and * purpose with or without fee is hereby granted, provided that the above
6ae232055d4d8a97267517c5e50074c2c819941and * copyright notice and this permission notice appear in all copies.
6ae232055d4d8a97267517c5e50074c2c819941and *
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen * THE SOFTWARE IS PROVIDED "AS IS" AND NORTEL NETWORKS DISCLAIMS
3f08db06526d6901aa08c110b5bc7dde6bc39905nd * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
6ae232055d4d8a97267517c5e50074c2c819941and * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NORTEL NETWORKS
6ae232055d4d8a97267517c5e50074c2c819941and * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
6ae232055d4d8a97267517c5e50074c2c819941and * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
b43f840409794ed298e8634f6284741f193b6c4ftakashi * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
6ae232055d4d8a97267517c5e50074c2c819941and * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
6ae232055d4d8a97267517c5e50074c2c819941and * SOFTWARE.
6ae232055d4d8a97267517c5e50074c2c819941and */
b43f840409794ed298e8634f6284741f193b6c4ftakashi
6ae232055d4d8a97267517c5e50074c2c819941and#ifndef DIRBROWSE_H
bc9d4698fce0238d2f6f2682e99423ebb1149976rbowen#define DIRBROWSE_H
6ae232055d4d8a97267517c5e50074c2c819941and
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjungclass CDirBrowse : public CDialog
6ae232055d4d8a97267517c5e50074c2c819941and{
b43f840409794ed298e8634f6284741f193b6c4ftakashi// Construction
b43f840409794ed298e8634f6284741f193b6c4ftakashipublic:
b43f840409794ed298e8634f6284741f193b6c4ftakashi CDirBrowse(CString initialDir = "\\", CWnd* pParent = NULL); // standard constructor
b43f840409794ed298e8634f6284741f193b6c4ftakashi CString GetSelectedDir() {return(m_selectedDir);}
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and //{{AFX_DATA(CDirBrowse)
6ae232055d4d8a97267517c5e50074c2c819941and enum { IDD = IDD_BROWSE };
6ae232055d4d8a97267517c5e50074c2c819941and // NOTE: the ClassWizard will add data members here
6ae232055d4d8a97267517c5e50074c2c819941and //}}AFX_DATA
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and // ClassWizard generated virtual function overrides
6ae232055d4d8a97267517c5e50074c2c819941and //{{AFX_VIRTUAL(CDirBrowse)
1ac39787115a288f5e848344b1b1e8dccb1c58f1nd protected:
6ae232055d4d8a97267517c5e50074c2c819941and virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
6ae232055d4d8a97267517c5e50074c2c819941and //}}AFX_VIRTUAL
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andprotected:
6ae232055d4d8a97267517c5e50074c2c819941and // Generated message map functions
6ae232055d4d8a97267517c5e50074c2c819941and //{{AFX_MSG(CDirBrowse)
6ae232055d4d8a97267517c5e50074c2c819941and virtual BOOL OnInitDialog();
6ae232055d4d8a97267517c5e50074c2c819941and afx_msg void OnDblclkDirlist();
6ae232055d4d8a97267517c5e50074c2c819941and afx_msg void OnSelchangeDirlist();
6ae232055d4d8a97267517c5e50074c2c819941and //}}AFX_MSG
6ae232055d4d8a97267517c5e50074c2c819941and DECLARE_MESSAGE_MAP()
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andprivate:
6ae232055d4d8a97267517c5e50074c2c819941and CString m_selectedDir;
6ae232055d4d8a97267517c5e50074c2c819941and};
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh
6ae232055d4d8a97267517c5e50074c2c819941and#endif
6ae232055d4d8a97267517c5e50074c2c819941and