summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-10-23 22:03:27 (GMT)
committerBrad King <brad.king@kitware.com>2002-10-23 22:03:27 (GMT)
commit1f6a3c67b1cc225f9f6873278c117820a2dee3b2 (patch)
treeec8ee490a7a800b5617f92ce56bb4a9124668ad3 /Source/MFCDialog
parent48b74fd034c3acc27b96957d552715697156655c (diff)
downloadCMake-1f6a3c67b1cc225f9f6873278c117820a2dee3b2.zip
CMake-1f6a3c67b1cc225f9f6873278c117820a2dee3b2.tar.gz
CMake-1f6a3c67b1cc225f9f6873278c117820a2dee3b2.tar.bz2
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')
-rw-r--r--Source/MFCDialog/CMakeCommandLineInfo.h6
-rw-r--r--Source/MFCDialog/CMakeSetup.h8
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.h38
-rw-r--r--Source/MFCDialog/MakeHelp.h36
-rw-r--r--Source/MFCDialog/PathDialog.h54
-rw-r--r--Source/MFCDialog/PropertyList.h8
-rw-r--r--Source/MFCDialog/StdAfx.h12
7 files changed, 81 insertions, 81 deletions
diff --git a/Source/MFCDialog/CMakeCommandLineInfo.h b/Source/MFCDialog/CMakeCommandLineInfo.h
index 7fe0773..25b3832 100644
--- a/Source/MFCDialog/CMakeCommandLineInfo.h
+++ b/Source/MFCDialog/CMakeCommandLineInfo.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
diff --git a/Source/MFCDialog/CMakeSetup.h b/Source/MFCDialog/CMakeSetup.h
index 00d1ecd..2d565d4 100644
--- a/Source/MFCDialog/CMakeSetup.h
+++ b/Source/MFCDialog/CMakeSetup.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
@@ -28,7 +28,7 @@
#error include 'stdafx.h' before including this file for PCH
#endif
-#include "resource.h" // main symbols
+#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CMakeSetup:
diff --git a/Source/MFCDialog/CMakeSetupDialog.h b/Source/MFCDialog/CMakeSetupDialog.h
index 67ff286..b35764f 100644
--- a/Source/MFCDialog/CMakeSetupDialog.h
+++ b/Source/MFCDialog/CMakeSetupDialog.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
@@ -37,7 +37,7 @@ class CMakeSetupDialog : public CDialog
// Construction
public:
CMakeSetupDialog(const CMakeCommandLineInfo& cmdInfo,
- CWnd* pParent = NULL);
+ CWnd* pParent = NULL);
// return the cmake that is currently being used
cmake *GetCMakeInstance() {
return m_CMakeInstance; }
@@ -50,21 +50,21 @@ protected:
void LoadFromRegistry();
bool Browse(CString&, const char* title);
void ReadRegistryValue(HKEY hKey,
- CString *val,
- const char *key,
- const char *aadefault);
+ CString *val,
+ const char *key,
+ const char *aadefault);
void ShowAdvancedValues();
void RemoveAdvancedValues();
// Dialog Data
//{{AFX_DATA(CMakeSetupDialog)
- enum { IDD = IDD_CMakeSetupDialog_DIALOG };
- CButton m_HelpButton;
- CComboBox m_GeneratorChoice;
- CButton m_OKButton;
- CButton m_CancelButton;
- CString m_WhereSource;
- CString m_WhereBuild;
- CButton m_ListFrame;
+ enum { IDD = IDD_CMakeSetupDialog_DIALOG };
+ CButton m_HelpButton;
+ CComboBox m_GeneratorChoice;
+ CButton m_OKButton;
+ CButton m_CancelButton;
+ CString m_WhereSource;
+ CString m_WhereBuild;
+ CButton m_ListFrame;
bool m_BuildPathChanged;
CComboBox m_WhereSourceControl;
CComboBox m_WhereBuildControl;
@@ -72,14 +72,14 @@ protected:
CStatic m_MouseHelp;
CStatic m_VersionDisplay;
CButton m_Configure;
- CString m_GeneratorChoiceString;
- BOOL m_AdvancedValues;
- //}}AFX_DATA
+ CString m_GeneratorChoiceString;
+ BOOL m_AdvancedValues;
+ //}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMakeSetupDialog)
protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
diff --git a/Source/MFCDialog/MakeHelp.h b/Source/MFCDialog/MakeHelp.h
index 80ce71b..3d9ac0f 100644
--- a/Source/MFCDialog/MakeHelp.h
+++ b/Source/MFCDialog/MakeHelp.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
@@ -30,30 +30,30 @@ class CMakeHelp : public CDialog
{
// Construction
public:
- CMakeHelp(CWnd* pParent = NULL); // standard constructor
+ CMakeHelp(CWnd* pParent = NULL); // standard constructor
// Dialog Data
- //{{AFX_DATA(CMakeHelp)
- enum { IDD = IDD_CMAKE_HELP_DIALOG };
- CString m_HelpMessage;
- //}}AFX_DATA
+ //{{AFX_DATA(CMakeHelp)
+ enum { IDD = IDD_CMAKE_HELP_DIALOG };
+ CString m_HelpMessage;
+ //}}AFX_DATA
// Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMakeHelp)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CMakeHelp)
+ protected:
+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
+ //}}AFX_VIRTUAL
// Implementation
protected:
- // Generated message map functions
- //{{AFX_MSG(CMakeHelp)
- // NOTE: the ClassWizard will add member functions here
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
+ // Generated message map functions
+ //{{AFX_MSG(CMakeHelp)
+ // NOTE: the ClassWizard will add member functions here
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
diff --git a/Source/MFCDialog/PathDialog.h b/Source/MFCDialog/PathDialog.h
index 504cda5..4c8fed2 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;
};
diff --git a/Source/MFCDialog/PropertyList.h b/Source/MFCDialog/PropertyList.h
index 535f0d0..696cc9e 100644
--- a/Source/MFCDialog/PropertyList.h
+++ b/Source/MFCDialog/PropertyList.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
@@ -145,7 +145,7 @@ protected:
CButton m_CheckBoxControl;
CFont m_SSerif8Font;
-
+
bool m_Dirty;
int m_curSel;
int m_prevSel;
diff --git a/Source/MFCDialog/StdAfx.h b/Source/MFCDialog/StdAfx.h
index 0fb1fc7..1836c9d 100644
--- a/Source/MFCDialog/StdAfx.h
+++ b/Source/MFCDialog/StdAfx.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
@@ -26,14 +26,14 @@
#pragma once
#endif // _MSC_VER > 1000
-#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
+#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
-#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
+#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
-#include <afxcmn.h> // MFC support for Windows Common Controls
+#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT