diff options
author | Brad King <brad.king@kitware.com> | 2002-10-23 18:03:27 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-10-23 18:03:27 -0400 |
commit | 1f6a3c67b1cc225f9f6873278c117820a2dee3b2 (patch) | |
tree | ec8ee490a7a800b5617f92ce56bb4a9124668ad3 /Source/MFCDialog/PathDialog.h | |
parent | 48b74fd034c3acc27b96957d552715697156655c (diff) | |
download | cmake-1f6a3c67b1cc225f9f6873278c117820a2dee3b2.tar.gz |
ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
Diffstat (limited to 'Source/MFCDialog/PathDialog.h')
-rw-r--r-- | Source/MFCDialog/PathDialog.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/Source/MFCDialog/PathDialog.h b/Source/MFCDialog/PathDialog.h index 504cda5a95..4c8fed227c 100644 --- a/Source/MFCDialog/PathDialog.h +++ b/Source/MFCDialog/PathDialog.h @@ -1,13 +1,13 @@ /*========================================================================= - Program: Insight Segmentation & Registration Toolkit + Program: CMake - Cross-Platform Makefile Generator Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision$ - Copyright (c) 2002 Insight Consortium. All rights reserved. - See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. + Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. + See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR @@ -35,12 +35,12 @@ class CPathDialog; // CPathDialogSub - intercepts messages from child controls class CPathDialogSub : public CWnd { - friend CPathDialog; + friend CPathDialog; public: - CPathDialog* m_pPathDialog; + CPathDialog* m_pPathDialog; protected: afx_msg void OnOK(); // OK button clicked - afx_msg void OnChangeEditPath(); + afx_msg void OnChangeEditPath(); DECLARE_MESSAGE_MAP() private: }; @@ -50,37 +50,37 @@ private: class CPathDialog { - friend CPathDialogSub; + friend CPathDialogSub; // Construction public: - CPathDialog(LPCTSTR lpszCaption=NULL, - LPCTSTR lpszTitle=NULL, - LPCTSTR lpszInitialPath=NULL, - CWnd* pParent = NULL); + CPathDialog(LPCTSTR lpszCaption=NULL, + LPCTSTR lpszTitle=NULL, + LPCTSTR lpszInitialPath=NULL, + CWnd* pParent = NULL); - CString GetPathName(); - virtual int DoModal(); + CString GetPathName(); + virtual int DoModal(); - static int Touch(LPCTSTR lpPath, BOOL bValidate=TRUE); - static int MakeSurePathExists(LPCTSTR lpPath); - static BOOL IsFileNameValid(LPCTSTR lpFileName); - static int ConcatPath(LPTSTR lpRoot, LPCTSTR lpMorePath); + static int Touch(LPCTSTR lpPath, BOOL bValidate=TRUE); + static int MakeSurePathExists(LPCTSTR lpPath); + static BOOL IsFileNameValid(LPCTSTR lpFileName); + static int ConcatPath(LPTSTR lpRoot, LPCTSTR lpMorePath); private: - static int CALLBACK BrowseCallbackProc(HWND hwnd,UINT uMsg,LPARAM lParam, LPARAM pData); + static int CALLBACK BrowseCallbackProc(HWND hwnd,UINT uMsg,LPARAM lParam, LPARAM pData); - LPCTSTR m_lpszCaption; - LPCTSTR m_lpszInitialPath; + LPCTSTR m_lpszCaption; + LPCTSTR m_lpszInitialPath; - TCHAR m_szPathName[MAX_PATH]; + TCHAR m_szPathName[MAX_PATH]; - BROWSEINFO m_bi; - HWND m_hWnd; - CWnd* m_pParentWnd; - BOOL m_bParentDisabled; - BOOL m_bGetSuccess; + BROWSEINFO m_bi; + HWND m_hWnd; + CWnd* m_pParentWnd; + BOOL m_bParentDisabled; + BOOL m_bGetSuccess; - CPathDialogSub m_PathDialogSub; + CPathDialogSub m_PathDialogSub; }; |