"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.11.23/bin/win32/BINDInstall/DirBrowse.h" (7 Sep 2020, 2007 Bytes) of package /linux/misc/dns/bind9/9.11.23/bind-9.11.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "DirBrowse.h" see the Fossies "Dox" file reference documentation.

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