OSDN Git Service

- Replace include guards with #pragma once like winmerge2011
authorsdottaka <sdottaka@users.sourceforge.net>
Wed, 18 Feb 2015 12:22:21 +0000 (21:22 +0900)
committersdottaka <sdottaka@users.sourceforge.net>
Wed, 18 Feb 2015 12:22:21 +0000 (21:22 +0900)
- Remove $Id: lines

--HG--
branch : stable

313 files changed:
Src/7zCommon.cpp
Src/AboutDlg.cpp
Src/AboutDlg.h
Src/CCPromptDlg.cpp
Src/CCPromptDlg.h
Src/ChildFrm.cpp
Src/ChildFrm.h
Src/Common/Bitmap.cpp
Src/Common/Bitmap.h
Src/Common/CMoveConstraint.h
Src/Common/CSubclass.h
Src/Common/ClipBoard.cpp
Src/Common/ClipBoard.h
Src/Common/ColorButton.cpp
Src/Common/ColorButton.h
Src/Common/DragDrop.h
Src/Common/ExConverter.cpp
Src/Common/ExConverter.h
Src/Common/LanguageSelect.cpp
Src/Common/LanguageSelect.h
Src/Common/MDITabBar.cpp
Src/Common/MDITabBar.h
Src/Common/OptionsMgr.cpp
Src/Common/OptionsMgr.h
Src/Common/PidlContainer.cpp
Src/Common/PidlContainer.h
Src/Common/PreferencesDlg.cpp
Src/Common/PreferencesDlg.h
Src/Common/PropertyPageHost.h
Src/Common/RegKey.cpp
Src/Common/RegKey.h
Src/Common/RegOptionsMgr.cpp
Src/Common/RegOptionsMgr.h
Src/Common/ShellContextMenu.cpp
Src/Common/ShellContextMenu.h
Src/Common/ShellFileOperations.cpp
Src/Common/ShellFileOperations.h
Src/Common/SortHeaderCtrl.cpp
Src/Common/SortHeaderCtrl.h
Src/Common/SplitterWndEx.cpp
Src/Common/SplitterWndEx.h
Src/Common/SuperComboBox.h
Src/Common/ToolBarXPThemes.cpp
Src/Common/ToolbarXPThemes.h
Src/Common/UniFile.cpp
Src/Common/UniFile.h
Src/Common/UnicodeString.cpp
Src/Common/UnicodeString.h
Src/Common/coretools.cpp
Src/Common/coretools.h
Src/Common/coretypes.h
Src/Common/dllproxy.c
Src/Common/dllproxy.h
Src/Common/lwdisp.c
Src/Common/lwdisp.h
Src/Common/memdc.h
Src/Common/multiformatText.cpp
Src/Common/multiformatText.h
Src/Common/unicoder.cpp
Src/Common/unicoder.h
Src/Common/varprop.cpp
Src/Common/varprop.h
Src/Common/version.cpp
Src/Common/version.h
Src/CompareEngines/BinaryCompare.cpp
Src/CompareEngines/BinaryCompare.h
Src/CompareEngines/ByteComparator.cpp
Src/CompareEngines/ByteComparator.h
Src/CompareEngines/ByteCompare.cpp
Src/CompareEngines/ByteCompare.h
Src/CompareEngines/DiffUtils.cpp
Src/CompareEngines/DiffUtils.h
Src/CompareEngines/TimeSizeCompare.cpp
Src/CompareEngines/TimeSizeCompare.h
Src/CompareOptions.cpp
Src/CompareOptions.h
Src/CompareStatisticsDlg.cpp
Src/CompareStatisticsDlg.h
Src/CompareStats.cpp
Src/CompareStats.h
Src/ConfigLog.cpp
Src/ConfigLog.h
Src/ConfirmFolderCopyDlg.cpp
Src/ConfirmFolderCopyDlg.h
Src/ConflictFileParser.cpp
Src/ConflictFileParser.h
Src/Constants.h
Src/Diff3.h
Src/DiffContext.cpp
Src/DiffContext.h
Src/DiffFileData.cpp
Src/DiffFileData.h
Src/DiffFileInfo.cpp
Src/DiffFileInfo.h
Src/DiffItem.cpp
Src/DiffItem.h
Src/DiffItemList.cpp
Src/DiffItemList.h
Src/DiffList.cpp
Src/DiffList.h
Src/DiffTextBuffer.cpp
Src/DiffTextBuffer.h
Src/DiffThread.cpp
Src/DiffThread.h
Src/DiffViewBar.cpp
Src/DiffViewBar.h
Src/DiffWrapper.cpp
Src/DiffWrapper.h
Src/DirActions.cpp
Src/DirCmpReport.cpp
Src/DirCmpReport.h
Src/DirCmpReportDlg.cpp
Src/DirCmpReportDlg.h
Src/DirColsDlg.cpp
Src/DirColsDlg.h
Src/DirCompProgressBar.cpp
Src/DirCompProgressBar.h
Src/DirDoc.cpp
Src/DirDoc.h
Src/DirFilterDlg.cpp
Src/DirFilterDlg.h
Src/DirFrame.cpp
Src/DirFrame.h
Src/DirItem.cpp
Src/DirItem.h
Src/DirReportTypes.h
Src/DirScan.cpp
Src/DirScan.h
Src/DirTravel.cpp
Src/DirTravel.h
Src/DirView.cpp
Src/DirView.h
Src/DirViewColHandler.cpp
Src/DirViewColItems.cpp
Src/DirViewColItems.h
Src/EditorFilepathBar.cpp
Src/EditorFilepathBar.h
Src/EncodingErrorBar.h
Src/Environment.cpp
Src/Environment.h
Src/Exceptions.h
Src/FileActionScript.cpp
Src/FileActionScript.h
Src/FileFilter.cpp
Src/FileFilter.h
Src/FileFilterHelper.cpp
Src/FileFilterHelper.h
Src/FileFilterMgr.cpp
Src/FileFilterMgr.h
Src/FileFiltersDlg.cpp
Src/FileFiltersDlg.h
Src/FileLocation.h
Src/FileOrFolderSelect.cpp
Src/FileOrFolderSelect.h
Src/FileTextEncoding.cpp
Src/FileTextEncoding.h
Src/FileTextStats.h
Src/FileTransform.cpp
Src/FileTransform.h
Src/FileVersion.cpp
Src/FileVersion.h
Src/FilepathEdit.cpp
Src/FilepathEdit.h
Src/FilterCommentsManager.h
Src/FilterList.cpp
Src/FilterList.h
Src/FolderCmp.cpp
Src/FolderCmp.h
Src/GhostTextBuffer.cpp
Src/GhostTextBuffer.h
Src/GhostTextView.h
Src/GhostUndorecord.h
Src/HexMergeDoc.cpp
Src/HexMergeDoc.h
Src/HexMergeFrm.cpp
Src/HexMergeFrm.h
Src/HexMergeView.cpp
Src/HexMergeView.h
Src/IAbortable.h
Src/IListCtrl.h
Src/IListCtrlImpl.h
Src/IOptionsPanel.h
Src/ImgMergeFrm.cpp
Src/ImgMergeFrm.h
Src/IntToIntMap.h
Src/JumpList.h
Src/LineFiltersDlg.cpp
Src/LineFiltersDlg.h
Src/LineFiltersList.cpp
Src/LineFiltersList.h
Src/ListEntry.h
Src/LoadSaveCodepageDlg.cpp
Src/LoadSaveCodepageDlg.h
Src/LocationBar.cpp
Src/LocationBar.h
Src/LocationView.cpp
Src/LocationView.h
Src/MainFrm.cpp
Src/MainFrm.h
Src/Merge.cpp
Src/Merge.h
Src/Merge7zFormatMergePluginImpl.h
Src/Merge7zFormatShellImpl.h
Src/MergeApp.h
Src/MergeCmdLineInfo.cpp
Src/MergeDoc.cpp
Src/MergeDoc.h
Src/MergeDocDiffSync.cpp
Src/MergeDocEncoding.cpp
Src/MergeDocLineDiffs.cpp
Src/MergeEditStatus.h
Src/MergeEditView.cpp
Src/MergeEditView.h
Src/MergeLineFlags.h
Src/MovedBlocks.cpp
Src/MovedLines.h
Src/OpenView.cpp
Src/OpenView.h
Src/OptionsCustomColors.h
Src/OptionsDef.h
Src/OptionsDiffColors.h
Src/OptionsDiffOptions.h
Src/OptionsFont.h
Src/OptionsInit.cpp
Src/OptionsPanel.cpp
Src/OptionsPanel.h
Src/OptionsSyntaxColors.cpp
Src/OptionsSyntaxColors.h
Src/PatchDlg.cpp
Src/PatchDlg.h
Src/PatchHTML.h
Src/PatchTool.cpp
Src/PatchTool.h
Src/PathContext.cpp
Src/PathContext.h
Src/PluginManager.h
Src/Plugins.cpp
Src/Plugins.h
Src/PluginsListDlg.cpp
Src/PluginsListDlg.h
Src/ProjectFile.cpp
Src/ProjectFile.h
Src/ProjectFilePathsDlg.cpp
Src/ProjectFilePathsDlg.h
Src/PropArchive.cpp
Src/PropArchive.h
Src/PropBackups.cpp
Src/PropBackups.h
Src/PropCodepage.cpp
Src/PropCodepage.h
Src/PropColors.cpp
Src/PropColors.h
Src/PropCompare.cpp
Src/PropCompare.h
Src/PropCompareBinary.cpp
Src/PropCompareBinary.h
Src/PropCompareFolder.cpp
Src/PropCompareFolder.h
Src/PropCompareImage.cpp
Src/PropCompareImage.h
Src/PropEditor.cpp
Src/PropEditor.h
Src/PropGeneral.cpp
Src/PropGeneral.h
Src/PropRegistry.cpp
Src/PropRegistry.h
Src/PropShell.cpp
Src/PropShell.h
Src/PropSyntaxColors.cpp
Src/PropSyntaxColors.h
Src/PropTextColors.cpp
Src/PropTextColors.h
Src/PropVss.cpp
Src/PropVss.h
Src/SaveClosingDlg.cpp
Src/SaveClosingDlg.h
Src/SelectUnpackerDlg.cpp
Src/SelectUnpackerDlg.h
Src/SharedFilterDlg.cpp
Src/SharedFilterDlg.h
Src/SourceControl.cpp
Src/StdAfx.cpp
Src/StdAfx.h
Src/TFile.h
Src/TempFile.cpp
Src/TempFile.h
Src/TestFilterDlg.cpp
Src/TestFilterDlg.h
Src/UniMarkdownFile.cpp
Src/UniMarkdownFile.h
Src/VSSHelper.cpp
Src/VSSHelper.h
Src/VssPromptDlg.cpp
Src/VssPromptDlg.h
Src/WMGotoDlg.cpp
Src/WMGotoDlg.h
Src/WaitStatusCursor.cpp
Src/WaitStatusCursor.h
Src/charsets.h
Src/codepage.cpp
Src/codepage.h
Src/codepage_detect.cpp
Src/codepage_detect.h
Src/files.h
Src/heksedit.h
Src/locality.cpp
Src/locality.h
Src/markdown.h
Src/paths.cpp
Src/paths.h
Src/stringdiffs.cpp
Src/stringdiffs.h
Src/stringdiffsi.h

index a03e248..d276773 100644 (file)
@@ -94,8 +94,6 @@ DATE:         BY:                                     DESCRIPTION:
                                                                Change recommended version of 7-Zip to 4.65
 */
 
-// ID line follows -- this is updated by SVN
-// $Id: 7zCommon.cpp 7169 2010-05-16 14:44:19Z jtuc $
 
 #include "stdafx.h"
 #include "7zCommon.h"
index 8404837..df7c9a8 100644 (file)
@@ -20,8 +20,6 @@
  * @brief Implementation of the About-dialog.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: AboutDlg.cpp 6380 2009-01-25 22:13:36Z kimmov $
 
 #include "stdafx.h"
 #include "AboutDlg.h"
index a619f8f..6c97bef 100644 (file)
  * @brief Declaration file for CAboutDlg.
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#ifndef _ABOUTDLG_H_
-#define _ABOUTDLG_H_
+#pragma once
 
 #include "statlink.h"
 #include "Picture.h"
@@ -69,5 +65,3 @@ public:
        afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
        afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
 };
-
-#endif // _ABOUTDLG_H_
index 1fe9e34..8f7abf0 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation file for ClearCase dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "CCPromptDlg.h"
index 8070bee..a767069 100644 (file)
  * @brief Declaration file for ClearCase dialog.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(AFX_CCPROMPTDLG_H__7ED564F2_CCB8_11D4_92BB_00B0D0221937__INCLUDED_)
-#define AFX_CCPROMPTDLG_H__7ED564F2_CCB8_11D4_92BB_00B0D0221937__INCLUDED_
+#pragma once
 
 /**
  * @brief A dialog for ClearCase checkout/checkin.
@@ -66,5 +62,3 @@ public:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_CCPROMPTDLG_H__7ED564F2_CCB8_11D4_92BB_00B0D0221937__INCLUDED_)
index fc9f195..ba5c91e 100644 (file)
@@ -24,8 +24,6 @@
  * @brief Implementation file for CChildFrame
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: ChildFrm.cpp 7075 2009-12-30 22:57:20Z kimmov $
 
 #include "stdafx.h"
 #include "ChildFrm.h"
index a20ab16..6bc8121 100644 (file)
  * @brief interface of the CChildFrame class
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: ChildFrm.h 5446 2008-06-07 12:14:19Z jtuc $
-
-#if !defined(AFX_CHILDFRM_H__BBCD4F8E_34E4_11D1_BAA6_00A024706EDC__INCLUDED_)
-#define AFX_CHILDFRM_H__BBCD4F8E_34E4_11D1_BAA6_00A024706EDC__INCLUDED_
+#pragma once
 
 #include "SplitterWndEx.h"
 #include "MergeEditStatus.h"
@@ -145,5 +141,3 @@ private:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_CHILDFRM_H__BBCD4F8E_34E4_11D1_BAA6_00A024706EDC__INCLUDED_)
index 258cf8c..9580f9e 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Implementation file for Bitmap helper functions.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "StdAfx.h"
 #include "Bitmap.h"
index 325ce50..8e4ccb5 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for Bitmap helper functions.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _BITMAP_H_
-#define _BITMAP_H_
+#pragma once
 
 class CBitmap;
 class CDC;
@@ -17,5 +13,3 @@ class CRect;
 CBitmap *CopyRectToBitmap(CDC *pDC, const CRect & rect);
 void DrawBitmap(CDC *pDC, int x, int y, CBitmap *pBitmap);
 CBitmap *GetDarkenedBitmap(CDC *pDC, CBitmap *pBitmap);
-
-#endif // _BITMAP_H_
index 86a2725..4946663 100644 (file)
@@ -13,9 +13,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
-
-#ifndef CMoveConstraint_h
-#define CMoveConstraint_h
+#pragma once
 
 #include <afxtempl.h>
 
@@ -255,7 +253,3 @@ private:
 };
 
 } // namespace
-
-#endif // CMoveConstraint_h
-
-
index 5486caf..ab464e0 100644 (file)
@@ -20,10 +20,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
-
-
-#ifndef CSubclass_h
-#define CSubclass_h
+#pragma once
 
 namespace prdlg {
 
@@ -52,6 +49,3 @@ void * GetData(WNDPROC id, HWND hwnd);
 
 
 } // namespace
-
-#endif CSubclass_h
-
index d224d40..e64e0d0 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief ClipBoard helper functions implementations.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "ClipBoard.h"
 
index 81152c5..fed1523 100644 (file)
@@ -3,16 +3,10 @@
  *
  * @brief ClipBoard helper functions definitions.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _CLIPBOARD_H_
-#define _CLIPBOARD_H_
+#pragma once
 
 #include <windows.h>
 #include "UnicodeString.h"
 
 bool PutToClipboard(const String & text, HWND currentWindowHandle);
 bool GetFromClipboard(String & text, HWND currentWindowHandle);
-
-#endif // _CLIPBOARD_H_
index 34bd13e..659799f 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Implementation file for CColorButton
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "ColorButton.h"
index 73109d4..755b0e7 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for CColorButton class
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(AFX_COLORBUTTON_H__75623C05_2D2D_4FBE_B819_661F49DEAE94__INCLUDED_)
-#define AFX_COLORBUTTON_H__75623C05_2D2D_4FBE_B819_661F49DEAE94__INCLUDED_
+#pragma once
 
 /** 
  * @brief Button showing currently selected color.
@@ -28,5 +24,3 @@ public:
        COLORREF GetColor() const { return m_clrFill; };
        virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
 };
-
-#endif // !defined(AFX_COLORBUTTON_H__75623C05_2D2D_4FBE_B819_661F49DEAE94__INCLUDED_)
index d429307..f7ea2c5 100644 (file)
@@ -1,3 +1,5 @@
+#pragma once
+
 #include "UnicodeString.h"
 #include <windows.h>
 #include <vector>
index 19a4063..856e076 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Codepage converter using external libraries.
  */
-// ID line follows -- this is updated by SVN
-// $Id: $
 
 #include "ExConverter.h"
 #include <windows.h>
index 566f07d..78f27db 100644 (file)
@@ -1,10 +1,7 @@
-#ifndef _EXCONVERTER_H_
-#define _EXCONVERTER_H_
+#pragma once
 
 #include "UnicodeString.h"
 
-
-
 struct CodePageInfo
 {
        int codepage;
@@ -32,5 +29,3 @@ struct Exconverter
 {
        static IExconverter *getInstance();
 };
-
-#endif
index c53fd15..995fed6 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implements the Language Selection dialog class (which contains the language data)
  */
-// ID line follows -- this is updated by SVN
-// $Id: LanguageSelect.cpp 6499 2009-02-25 13:31:52Z kimmov $
 
 #include "StdAfx.h"
 #include "LanguageSelect.h"
index 67e1efd..d102a7b 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for CLanguageSelect dialog.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(AFX_LANGUAGESELECT_H__4395A84F_E8DF_11D1_BBCB_00A024706EDC__INCLUDED_)
-#define AFX_LANGUAGESELECT_H__4395A84F_E8DF_11D1_BBCB_00A024706EDC__INCLUDED_
+#pragma once
 
 #include "CMoveConstraint.h"
 
@@ -92,5 +88,3 @@ private:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_LANGUAGESELECT_H__4395A84F_E8DF_11D1_BBCB_00A024706EDC__INCLUDED_)
index a365423..8e8a52a 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of the MDITabBar class
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "StdAfx.h"
 #include "MDITabBar.h"
index 09eb829..285f03f 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for MDITabBar
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef MDITABBAR_H
-#define MDITABBAR_H
+#pragma once
 
 /**
  * @brief Class for Tab bar.
@@ -77,5 +73,3 @@ private:
        int GetItemIndexFromPoint(CPoint pt) const;
        void SwapTabs(int nIndexA, int nIndexB);
 };
-
-#endif // MDITABBAR_H
index 3e564f2..2f11ea2 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Implementation of Options management classes
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: OptionsMgr.cpp 6728 2009-05-10 21:13:36Z kimmov $
 
 
 /* The MIT License
index 106b80c..c2ba6c6 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Interface for Options management classes
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 /* The MIT License
 Copyright (c) 2004-2009 Kimmo Varis
@@ -27,9 +25,7 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
 
-
-#ifndef _OPTIONS_MGR_
-#define _OPTIONS_MGR_
+#pragma once
 
 #include <map>
 #include "UnicodeString.h"
@@ -131,5 +127,3 @@ protected:
 private:
        static varprop::VariantValue m_emptyValue;
 };
-
-#endif // _OPTIONS_MGR_
index e1cb19b..0152f72 100644 (file)
@@ -23,8 +23,6 @@
  *
  * @brief Main implementation file for CPidlContainer
  */
-// Revision ID line follows -- this is updated by SVN
-// $Id$
 
 #include "PidlContainer.h"
 #include <ShlObj.h>
index 38406d4..3c70ecc 100644 (file)
  *
  *     @brief Declaration of class CPidlContainer
  */ 
-//
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _PIDLCONTAINER_H_
-#define _PIDLCONTAINER_H_
+#pragma once
 
 #include <ShTypes.h>
 #include <vector>
@@ -77,5 +72,3 @@ private:
        typedef std::vector<LPITEMIDLIST> PidlContainer;
        PidlContainer m_container; /**< stores items */
 };
-
-#endif // _PIDLCONTAINER_H_
index c7a3fd4..be4b0a6 100644 (file)
@@ -7,8 +7,6 @@
  * (http://www.abstractspoon.com/) but is modified to use in
  * WinMerge.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "StdAfx.h"
 #include "PreferencesDlg.h"
index af05be1..1d828c6 100644 (file)
@@ -7,12 +7,7 @@
  * (http://www.abstractspoon.com/) but is modified to use in
  * WinMerge.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-
-#if !defined(AFX_PREFERENCESDLG_H__C3FCC72A_6C69_49A6_930D_D5C94EC31298__INCLUDED_)
-#define AFX_PREFERENCESDLG_H__C3FCC72A_6C69_49A6_930D_D5C94EC31298__INCLUDED_
+#pragma once
 
 #if _MSC_VER > 1000
 #pragma once
@@ -119,5 +114,3 @@ private:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_PREFERENCESDLG_H__C3FCC72A_6C69_49A6_930D_D5C94EC31298__INCLUDED_)
index 31b4cd9..264f8f5 100644 (file)
@@ -7,11 +7,7 @@
  * (http://www.abstractspoon.com/) but is modified to use in
  * WinMerge.
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#if !defined(AFX_PROPERTYPAGEHOST_H__43CF5AE7_C70B_443D_BC8B_7DA1D0E082DD__INCLUDED_)
-#define AFX_PROPERTYPAGEHOST_H__43CF5AE7_C70B_443D_BC8B_7DA1D0E082DD__INCLUDED_
+#pragma once
 
 #if _MSC_VER > 1000
 #pragma once
@@ -88,5 +84,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_PROPERTYPAGEHOST_H__43CF5AE7_C70B_443D_BC8B_7DA1D0E082DD__INCLUDED_)
index 01a8f04..be65d30 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of CRegKeyEx C++ wrapper class for reading Windows registry
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #define NOMINMAX
 #include "RegKey.h"
index aa5c0f7..9c50e92 100644 (file)
@@ -1,10 +1,9 @@
 /** 
- * @file  RegKey.cpp
+ * @file  RegKey.h
  *
  * @brief Declaration of CRegKeyEx C++ wrapper class for reading Windows registry
  */
-// ID line follows -- this is updated by SVN
-// $Id$
+#pragma once
 
 #include <Windows.h>
 #include "UnicodeString.h"
index 2466f48..1598be5 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Implementation of Registry Options management class.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "RegOptionsMgr.h"
 #include <windows.h>
index 7761ad1..bd690d6 100644 (file)
@@ -4,12 +4,7 @@
  * @brief Declaration for Registry options class.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-
-#ifndef _REG_OPTIONSMGR_H_
-#define _REG_OPTIONSMGR_H_
+#pragma once
 
 #include <Windows.h>
 #include "OptionsMgr.h"
@@ -58,5 +53,3 @@ private:
        String m_registryRoot; /**< Registry path where to store options. */
        bool m_serializing;
 };
-
-#endif // _REG_OPTIONSMGR_H_
index 6c6562e..c056248 100644 (file)
@@ -23,8 +23,6 @@
  *
  * @brief Main implementation file for CShellContextMenu
  */
-// Revision ID line follows -- this is updated by SVN
-// $Id: ShellContextMenu.cpp 6106 2008-11-20 14:25:18Z kimmov $
 
 #include "StdAfx.h"
 #include "ShellContextMenu.h"
index 32054fb..5db0018 100644 (file)
  *
  *     @brief Declaration of class CShellContextMenu
  */ 
-//
-// ID line follows -- this is updated by SVN
-// $Id: ShellContextMenu.h 6106 2008-11-20 14:25:18Z kimmov $
-
-#ifndef _SHELLCONTEXTMENU_H_
-#define _SHELLCONTEXTMENU_H_
+#pragma once
 
 #include <comdef.h>
 #include <ShlObj.h>
@@ -198,5 +193,3 @@ private:
        const UINT m_cmdFirst; /**< minimum value for a menu item identifier */
        const UINT m_cmdLast; /**< maximum value for a menu item identifier */
 };
-
-#endif // _SHELLCONTEXTMENU_H_
index 0b60ceb..362423e 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation of ShellFileOperations class.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "ShellFileOperations.h"
 #include <windows.h>
index 6cf77a2..035f73b 100644 (file)
  *
  * @brief Declaration file for ShellFileOperations class.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _SHELL_FILE_OPERATIONS_H_
-#define _SHELL_FILE_OPERATIONS_H_
+#pragma once
 
 #include <vector>
 #include <Windows.h>
@@ -60,5 +56,3 @@ private:
        bool m_bOneToOneMapping; /**< Same amount of sources and destinations? */
        bool m_isCanceled; /**< Did user cancel the operation? */
 };
-
-#endif // _SHELL_FILE_OPERATIONS_H_
index 1758e4c..a84a59f 100644 (file)
@@ -3,9 +3,6 @@
  *
  *  @brief Implementation of CSortHeaderCtrl
  */ 
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-//////////////////////////////////////////////////////////////////////
 
 #include "StdAfx.h"
 #include "SortHeaderCtrl.h"
index 1af66cb..9867707 100644 (file)
@@ -3,14 +3,7 @@
  *
  *  @brief Declaration of CSortHeaderCtrl
  */ 
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-//////////////////////////////////////////////////////////////////////
-
-
-#ifndef __SORTHEADERCTRL_H__
-#define __SORTHEADERCTRL_H__
-
+#pragma once
 
 /////////////////////////////////////////////////////////////////////////////
 // CSortHeaderCtrl
@@ -50,6 +43,3 @@ protected:
 
        DECLARE_MESSAGE_MAP()
 };
-
-#endif
-// __SORTHEADERCTRL_H__
index a3af158..1ad75d4 100644 (file)
@@ -5,8 +5,6 @@
  * @brief Implementation file for CSplitterWndEx
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: SplitterWndEx.cpp 6500 2009-02-25 13:36:26Z kimmov $
 //
 //////////////////////////////////////////////////////////////////////
 
index 80e5661..d6cf641 100644 (file)
@@ -1,17 +1,9 @@
-//////////////////////////////////////////////////////////////////////
 /** 
  * @file  SplitterWndEx.h
  *
  * @brief Declaration of CSplitterWndEx class
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-//
-//////////////////////////////////////////////////////////////////////
-
-#if !defined(AFX_SPLITTERWNDEX_H__68D1F449_015D_4575_9094_FA5D8C98BE63__INCLUDED_)
-#define AFX_SPLITTERWNDEX_H__68D1F449_015D_4575_9094_FA5D8C98BE63__INCLUDED_
-
+#pragma once
 
 class CSplitterWndEx : public CSplitterWnd  
 {
@@ -45,5 +37,3 @@ protected:
        virtual void OnDrawSplitter(CDC* pDC, ESplitType nType, const CRect& rect);
        DECLARE_MESSAGE_MAP()
 };
-
-#endif // !defined(AFX_SPLITTERWNDEX_H__68D1F449_015D_4575_9094_FA5D8C98BE63__INCLUDED_)
index 75cc66e..7eb55e7 100644 (file)
@@ -1,5 +1,4 @@
-#if !defined(AFX_SuperComboBox_H__8027D162_6B2C_11D1_BAEE_00A024706EDC__INCLUDED_)
-#define AFX_SuperComboBox_H__8027D162_6B2C_11D1_BAEE_00A024706EDC__INCLUDED_
+#pragma once
 
 #if _MSC_VER >= 1000
 #pragma once
@@ -82,5 +81,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_SuperComboBox_H__8027D162_6B2C_11D1_BAEE_00A024706EDC__INCLUDED_)
index 5c3de82..7be4975 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of the ToolBarXPThemes class
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
 
 #include "StdAfx.h"
 #include "ToolbarXPThemes.h"
index b0bc927..0a9096f 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for ToolBarXPThemes
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#ifndef _TOOLBAR_XPTHEMES_H_
-#define _TOOLBAR_XPTHEMES_H_
+#pragma once
 
 /**
  * @brief Toolbar class supporting XP themes.
@@ -41,5 +37,3 @@ protected:
 
        DECLARE_MESSAGE_MAP()
 };
-
-#endif // _TOOLBAR_XPTHEMES_H_
index 283c9aa..5993d86 100644 (file)
@@ -8,8 +8,6 @@
  *  @brief Implementation of Unicode enabled file classes.
  *  Classes include memory-mapped reader class and Stdio replacement class.
  */
-// ID line follows -- this is updated by SVN
-// $Id: UniFile.cpp 7056 2009-12-26 19:49:14Z kimmov $
 
 /* The MIT License
 Copyright (c) 2003 Perry Rapp
index 1748042..a667771 100644 (file)
@@ -6,11 +6,7 @@
  *
  *  @brief  Declaration of Unicode file classes.
  */
-// ID line follows -- this is updated by SVN
-// $Id: UniFile.h 7056 2009-12-26 19:49:14Z kimmov $
-
-#ifndef UniFile_h_included
-#define UniFile_h_included
+#pragma once
 
 #include "unicoder.h"
 #include <cstdint>
@@ -232,7 +228,3 @@ private:
        int64_t m_data; // offset after any initial BOM
        ucr::buffer m_ucrbuff;
 };
-
-
-
-#endif // UniFile_h_included
index e434ae5..facbee2 100644 (file)
@@ -20,8 +20,6 @@
  *
  * @brief String utilities.
  */
-// ID line follows -- this is updated by SVN
-// $Id: UnicodeString.cpp 7170 2010-05-16 15:19:15Z jtuc $
 
 // String formatting code originally from Paul Senzee:
 // http://www.senzee5.com/2006/05/c-formatting-stdstring.html
index 2ff2ea0..aa1263d 100644 (file)
  * @brief Unicode string based on std::wstring.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _UNICODE_STRING_
-#define _UNICODE_STRING_
+#pragma once
 
 #include <string>
 #include <cstdarg>
@@ -93,5 +89,3 @@ String string_join(const InputIterator& begin, const InputIterator& end, const S
        }
        return result;
 }
-
-#endif // _UNICODE_STRING_
index 2669675..b3987ff 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Common routines
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: coretools.cpp 7168 2010-05-16 13:45:23Z jtuc $
 
 #include "coretools.h"
 #ifdef _WIN32
index ba77c0b..0c865ad 100644 (file)
@@ -3,16 +3,10 @@
  *
  * @brief Declaration file for Coretools.cpp
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef CORETOOLS_H
-#define CORETOOLS_H
+#pragma once
 
 #include "UnicodeString.h"
 
 void replace_char(TCHAR *s, int target, int repl);
 
 size_t linelen(const char *string, size_t maxlen);
-
-#endif
index 703c505..1853dfa 100644 (file)
@@ -1,9 +1,7 @@
-#ifndef CORETYPES_H
-#define CORETYPES_H
+#pragma once
 
 #ifndef countof
 #define countof(array)  (sizeof(array)/sizeof((array)[0]))
 #endif /* countof */
 
-#endif
 
index 44f1809..4bb271b 100644 (file)
@@ -41,8 +41,6 @@ DATE:         BY:                                     DESCRIPTION:
                                                                important to be able to build 64-bit now.
 
 */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #if defined(_MSC_VER)&&!defined(NO_ALLOCA_RECOVERY)||defined(ALLOCA_RECOVERY)
 #undef ALLOCA_RECOVERY
index 01719bc..d8a3ccb 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef __DLLPROXY_H__
-#define __DLLPROXY_H__
+#pragma once
 
 struct DllProxy_ModuleState
 {
@@ -39,5 +38,3 @@ EXTERN_C struct DllProxy_ModuleState POLARITY DllProxy_ModuleState;
        extern struct {HMODULE DLL;CHAR SIG[sizeof#P MODULE + (sizeof MODULE == 1 ? MAX_PATH : 0)];} __declspec(dllimport) NAME;
 
 #undef POLARITY
-
-#endif //__DLLPROXY_H__
\ No newline at end of file
index 9949ff5..4bec1db 100644 (file)
@@ -38,8 +38,6 @@ DATE:         BY:                                     DESCRIPTION:
 2004/01/08  Perry               Updated function comment preceding ReportError
 2008/01/22  Kimmo               Changed map argument name to disp_map to not confuse VC6
 */
-// ID line follows -- this is updated by SVN
-// $Id: lwdisp.c 4938 2008-01-22 13:54:38Z kimmov $
 
 //#define _WIN32_IE            0x0300
 //#define _WIN32_WINNT 0x0400  
index bbc6d5a..431af3e 100644 (file)
@@ -22,11 +22,7 @@ DATE:                BY:                                     DESCRIPTION:
 ==========     ==================      ================================================
 2003/11/28     Laoran                                header and RCS ID
 */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef __LWDISP_H__
-#define __LWDISP_H__
+#pragma once
 
 #ifdef __cplusplus
 extern "C"{
@@ -272,5 +268,3 @@ struct LWRet: public VARIANT
 // Sorry, no extra support for plain old C...
 
 #endif
-
-#endif //__LWDISP_H__
index 6d44212..2fa4b91 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef _MEMDC_H_
-#define _MEMDC_H_
+#pragma once
 
 //////////////////////////////////////////////////
 // CMemDC - memory DC
@@ -106,5 +105,3 @@ public:
                return this;
        }
 };
-
-#endif
\ No newline at end of file
index 5f73880..2cf055f 100644 (file)
@@ -25,8 +25,6 @@
  *
  * @date  Created: 2003-11-24
  */ 
-// ID line follows -- this is updated by SVN
-// $Id: multiformatText.cpp 7082 2010-01-03 22:15:50Z sdottaka $
 
 #define NOMINMAX
 #include "multiformatText.h"
index d048551..0c2f537 100644 (file)
@@ -5,11 +5,7 @@
  *
  * @date  Created: 2003-11-24
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id: multiformatText.h 6433 2009-02-10 19:00:27Z kimmov $
-
-#ifndef __MULTIFORMATTEXT_H__
-#define __MULTIFORMATTEXT_H__
+#pragma once
 
 #include "UnicodeString.h"
 #include "unicoder.h"
@@ -149,5 +145,3 @@ private:
 
 /// Convert file to UTF-8 (for diffutils)
 bool AnyCodepageToUTF8(int codepage, const String& filepath, const String& filepathDst, int & nFileChanged, bool bWriteBOM);
-
-#endif //__MULTIFORMATTEXT_H__
index 32d8c7e..c08107d 100644 (file)
@@ -6,8 +6,6 @@
  *
  *  @brief  Implementation of utility unicode conversion routines
  */
-// ID line follows -- this is updated by SVN
-// $Id: unicoder.cpp 7024 2009-10-22 18:26:45Z kimmov $
 
 /* The MIT License
 Copyright (c) 2003 Perry Rapp
index f2192b6..ed9589a 100644 (file)
@@ -6,11 +6,7 @@
  *
  *  @brief  Declaration of utility unicode conversion routines
  */
-// ID line follows -- this is updated by SVN
-// $Id: unicoder.h 6936 2009-07-26 17:17:18Z kimmov $
-
-#ifndef unicoder_h_included
-#define unicoder_h_included
+#pragma once
 
 #include "UnicodeString.h"
 #include "codepage.h"
@@ -119,6 +115,3 @@ void setDefaultCodepage(int cp);
 bool EqualCodepages(int cp1, int cp2);
 
 } // namespace ucr
-
-#endif // unicoder_h_included
-
index 0c7d4b4..9c34eff 100644 (file)
@@ -3,9 +3,6 @@
  *
  *  @brief Implementation of generic named property classes
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
-//////////////////////////////////////////////////////////////////////
 
 #include "varprop.h"
 #include <cassert>
index 188e74a..99ba05e 100644 (file)
@@ -3,12 +3,7 @@
  *
  *  @brief Declaration of generic named property classes
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
-//////////////////////////////////////////////////////////////////////
-
-#ifndef varprop_h_included
-#define varprop_h_included
+#pragma once
 
 #include <ctime>
 #include "UnicodeString.h"
@@ -74,5 +69,3 @@ private:
 };
 
 } // namespace
-
-#endif // varprop_h_included
index 89a7b49..5917a80 100644 (file)
@@ -3,8 +3,6 @@
  *
  *  @brief Implementation of CVersionInfo class
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "version.h"
 #include <windows.h>
index 01debe4..de9cdbe 100644 (file)
@@ -3,11 +3,7 @@
  *
  *  @brief Declaration of CVersionInfo class
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef VERSIONTOOLS_H
-#define VERSIONTOOLS_H
+#pragma once
 
 #include <shlwapi.h>
 #include <memory>
@@ -77,11 +73,3 @@ protected:
        void QueryValue(LPCTSTR szId, String& s);
        BOOL GetCodepageForLanguage(WORD wLanguage, WORD & wCodePage);
 };
-
-
-#endif
-
-/*******************************************************************************
-       END OF FILE
-*******************************************************************************/
-
index 792a854..f58b8d8 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation file for BinaryCompare
  */
-// ID line follows -- this is updated by SVN
-// $Id: BinaryCompare.cpp 7153 2010-05-04 18:11:48Z kimmov $
 
 #include "BinaryCompare.h"
 #include "DiffItem.h"
index 2c5c9c4..32c04dd 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for BinaryCompare compare engine.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _BINARY_COMPARE_H_
-#define _BINARY_COMPARE_H_
+#pragma once
 
 struct DIFFITEM;
 class PathContext;
@@ -28,5 +24,3 @@ public:
 };
 
 } // namespace CompareEngines
-
-#endif // _BINARY_COMPARE_H_
index 4f9662f..ca48cab 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implements ByteComparator class.
  */
-// ID line follows -- this is updated by SVN
-// $Id: ByteComparator.cpp 7090 2010-01-11 19:48:26Z kimmov $
 
 #include "ByteComparator.h"
 #include <cassert>
index 129f7cd..371c528 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for ByteComparator class.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef ByteComparator_h_included
-#define ByteComparator_h_included
+#pragma once
 
 #include <cstdint>
 
@@ -68,5 +64,3 @@ private:
 };
 
 } // namespace CompareEngines
-
-#endif // ByteComparator_h_included
index 73a76d5..44e84f5 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation file for ByteCompare
  */
-// ID line follows -- this is updated by SVN
-// $Id: ByteCompare.cpp 6932 2009-07-26 14:04:31Z kimmov $
 
 #include "ByteCompare.h"
 #include <cassert>
index 8dc6725..ab6f688 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for ByteCompare
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _BYTE_COMPARE_H_
-#define _BYTE_COMPARE_H_
+#pragma once
 
 #include <memory>
 #include "FileTextStats.h"
@@ -48,5 +44,3 @@ private:
 };
 
 } // namespace CompareEngines
-
-#endif // _BYTE_COMPARE_H_
index bad34ed..00cca32 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation file for DiffUtils class.
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffUtils.cpp 6932 2009-07-26 14:04:31Z kimmov $
 
 #include "diff.h"
 #include "DiffUtils.h"
index fb7e8ed..969fd70 100644 (file)
@@ -3,12 +3,7 @@
  *
  * @brief Declaration of DiffUtils class.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-
-#ifndef _DIFF_UTILS_H_
-#define _DIFF_UTILS_H_
+#pragma once
 
 #include <memory>
 
@@ -61,5 +56,3 @@ private:
 
 
 } // namespace CompareEngines
-
-#endif // _DIFF_UTILS_H_
index 9fac303..b0c19ab 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation file for TimeSizeCompare
  */
-// ID line follows -- this is updated by SVN
-// $Id: TimeSizeCompare.cpp 7153 2010-05-04 18:11:48Z kimmov $
 
 #include "TimeSizeCompare.h"
 #include <cstdlib>
index 427fecf..9988214 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for TimeSizeCompare compare engine.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _TIMESIZE_COMPARE_H_
-#define _TIMESIZE_COMPARE_H_
+#pragma once
 
 struct DIFFITEM;
 
@@ -36,5 +32,3 @@ private:
 };
 
 } // namespace CompareEngines
-
-#endif // _TIMESIZE_COMPARE_H_
index 05ee894..883d6e7 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Compare options implementation.
  */
-// ID line follows -- this is updated by SVN
-// $Id: ByteComparator.h 3397 2006-07-27 10:41:24Z kimmov $
 
 #include "CompareOptions.h"
 #include "diff.h"
index 3f60b7f..5a2ce76 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Compare options classes and types.
  */
-// ID line follows -- this is updated by SVN
-// $Id: CompareOptions.h 5920 2008-09-07 16:15:10Z marcelgosselin $
-
-#ifndef CompareOptions_h_included
-#define CompareOptions_h_included
+#pragma once
 
 /**
  * @brief Whether to ignore whitespace (or to ignore changes in whitespace)
@@ -128,5 +124,3 @@ public:
 
        bool m_bStopAfterFirstDiff; /**< Optimize compare by stopping after first difference? */
 };
-
-#endif // CompareOptions_h_included
index 9077a94..0a4d8f0 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation file for CompareStatisticsDlg dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id: CompareStatisticsDlg.cpp 5293 2008-04-14 05:58:23Z kimmov $
 
 #include "stdafx.h"
 #include "CompareStatisticsDlg.h"
index 66a69a0..93c8846 100644 (file)
  *
  * @brief Declaration file for CompareStatisticsDlg dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _COMPARESTATISTICSDLG_H_
-#define _COMPARESTATISTICSDLG_H_
+#pragma once
 
 class CompareStats;
 
@@ -56,5 +52,3 @@ protected:
 private:
        const CompareStats * m_pCompareStats; /**< Compare statistics structure. */
 };
-
-#endif // _COMPARESTATISTICSDLG_H_
index 5bdf588..b5e9100 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of CompareStats class.
  */
-// ID line follows -- this is updated by SVN
-// $Id: CompareStats.cpp 6945 2009-08-05 03:34:52Z marcelgosselin $
 
 #include "CompareStats.h"
 #include <cassert>
index 244e31c..29d0a3d 100644 (file)
@@ -3,12 +3,7 @@
  *
  *  @brief Declaration of class CompareStats
  */ 
-//
-// ID line follows -- this is updated by SVN
-// $Id: CompareStats.h 6914 2009-07-12 22:31:23Z kimmov $
-
-#ifndef _COMPARESTATS_H_
-#define _COMPARESTATS_H_
+#pragma once
 
 #define POCO_NO_UNWINDOWS 1
 #include <Poco/Mutex.h>
@@ -91,5 +86,3 @@ private:
        bool m_bCompareDone; /**< Have we finished last compare? */
        int m_nDirs; /**< number of directories to compare */
 };
-
-#endif // _COMPARESTATS_H_
index 64a720c..1c6fd18 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief CConfigLog implementation
  */
-// ID line follows -- this is updated by SVN
-// $Id: ConfigLog.cpp 7082 2010-01-03 22:15:50Z sdottaka $
 
 #include "ConfigLog.h"
 #include <cassert>
index 199ecc2..894101c 100644 (file)
  *
  * @brief Declaration file ConfigLog class
  */
-// ID line follows -- this is updated by SVN
-// $Id: ConfigLog.h 7059 2009-12-27 00:06:59Z kimmov $
+#pragma once
 
-#ifndef _CONFIGLOG_H_
-#define _CONFIGLOG_H_
 
 #include "UnicodeString.h"
 #include <memory>
@@ -67,5 +64,3 @@ private:
        String m_sFileName;
        std::unique_ptr<UniStdioFile> m_pfile;
 };
-
-#endif /* _CONFIGLOG_H_ */
\ No newline at end of file
index 171be9b..9deb776 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation file for ConfirmFolderCopyDlg dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "ConfirmFolderCopyDlg.h"
index b5d6789..aee53db 100644 (file)
  *
  * @brief Declaration file for ConfirmFolderCopyDlg dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _CONFIRM_FOLDER_COPY_DLG_H_
-#define _CONFIRM_FOLDER_COPY_DLG_H_
+#pragma once
 
 #include "CMoveConstraint.h"
 
@@ -60,5 +56,3 @@ public:
 private:
        prdlg::CMoveConstraint m_constraint; //*< Resizes dialog controls when dialog resized */
 };
-
-#endif // _CONFIRM_FOLDER_COPY_DLG_H_
index 2c2e58b..60220ae 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation for conflict file parser.
  */
-// ID line follows -- this is updated by SVN
-// $Id: ConflictFileParser.cpp 6638 2009-04-03 23:17:42Z sdottaka $
 
 // Conflict file parsing method modified from original code got from:
 // TortoiseCVS - a Windows shell extension for easy version control
index b7bc6b0..72b3d65 100644 (file)
  *
  * @brief Declaration ConflictFileParser.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
 // Conflict file parsing method modified from original code got from:
 // TortoiseCVS - a Windows shell extension for easy version control
 // Copyright (C) 2000 - Francis Irving
 // <francis@flourish.org> - January 2001
 
-#ifndef _CONFLICT_FILE_PARSER_H_
-#define _CONFLICT_FILE_PARSER_H_
+#pragma once
 
 #include "UnicodeString.h"
 
@@ -37,5 +33,3 @@ bool IsConflictFile(const String& conflictFileName);
 bool ParseConflictFile(const String& conflictFileName,
                const String& workingCopyFileName, const String& newRevisionFileName,
                int iGuessEncodingType, bool &nestedConflicts);
-
-#endif // _CONFLICT_FILE_PARSER_H_
index 0efab9c..aca6c06 100644 (file)
@@ -4,11 +4,7 @@
  * @brief WinMerge constants, URLs, paths etc.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: Constants.h 6729 2009-05-11 07:14:59Z kimmov $
-
-#ifndef _CONSTANTS_H_
-#define _CONSTANTS_H_
+#pragma once
 
 /** @brief URL for hyperlink in About-dialog. */
 const TCHAR WinMergeURL[] = _T("http://winmerge.org/");
@@ -73,5 +69,3 @@ enum
        FFILEOPEN_SETFOCUS  = 0x0040, /**< Set focus to this pane */
        FFILEOPEN_AUTOMERGE = 0x0080, /**< auto-merge at this pane */
 };
-
-#endif // _CONSTANTS_H_
index 9d12f70..638a1c4 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef __DIFF3_H__\r
-#define __DIFF3_H__\r
+#pragma once\r
 \r
 #include <vector>\r
 #include <algorithm>\r
@@ -245,5 +244,3 @@ size_t Make3wayDiff(std::vector<Element>& diff3, const std::vector<Element>& dif
        \r
        return diff3i;\r
 }\r
-\r
-#endif\r
index 21c56e9..9ede1c0 100644 (file)
@@ -23,9 +23,6 @@
  *
  *  @brief Implementation of CDiffContext
  */ 
-// ID line follows -- this is updated by SVN
-// $Id: DiffContext.cpp 7063 2009-12-27 15:28:16Z kimmov $
-//////////////////////////////////////////////////////////////////////
 
 #include "DiffContext.h"
 #include <Poco/ScopedLock.h>
index f990230..87ddfea 100644 (file)
@@ -3,12 +3,8 @@
  *
  *  @brief Declarations of CDiffContext and diff structures
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffContext.h 6910 2009-07-12 09:06:54Z kimmov $
-
-#if !defined(AFX_DIFFCONTEXT_H__D3CC86BE_F11E_11D2_826C_00A024706EDC__INCLUDED_)
-#define AFX_DIFFCONTEXT_H__D3CC86BE_F11E_11D2_826C_00A024706EDC__INCLUDED_
 #pragma once
+
 #define POCO_NO_UNWINDOWS 1
 #include <Poco/Mutex.h>
 #include <Poco/ThreadLocal.h>
@@ -203,5 +199,3 @@ private:
        IAbortable *m_piAbortable; /**< Interface for aborting the compare. */
        Poco::FastMutex m_mutex;
 };
-
-#endif // !defined(AFX_DIFFCONTEXT_H__D3CC86BE_F11E_11D2_826C_00A024706EDC__INCLUDED_)
index 4a4d087..9edbe9f 100644 (file)
@@ -5,8 +5,6 @@
  *
  * @date  Created: 2003-08-22
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffFileData.cpp 7162 2010-05-15 13:14:27Z jtuc $
 
 #include "DiffFileData.h"
 #include <vector>
index e78dea6..16dbfc5 100644 (file)
@@ -5,11 +5,7 @@
  *
  * @date  Created: 2003-08-22
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffFileData.h 5055 2008-02-19 18:35:40Z kimmov $
-
-#ifndef _DIFFFILEDATA_H_
-#define _DIFFFILEDATA_H_
+#pragma once
 
 #include "FileLocation.h"
 #include "FileTextStats.h"
@@ -50,5 +46,3 @@ struct DiffFileData
 private:
        bool DoOpenFiles();
 };
-
-#endif // _DIFFFILEDATA_H_
index 40fb35f..24e3c46 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation for DiffFileInfo routines
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "DiffFileInfo.h"
 
index b3c829f..1e899e0 100644 (file)
  *
  * @brief Declaration file for DiffFileInfo
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _DIFF_FILE_INFO_H_INCLUDED
-#define _DIFF_FILE_INFO_H_INCLUDED
+#pragma once
 
 #include "DirItem.h"
 #include "FileTextEncoding.h"
@@ -51,5 +47,3 @@ struct DiffFileInfo : public DirItem
        void ClearPartial();
        bool IsEditableEncoding() const;
 };
-
-#endif // _DIFF_FILE_INFO_H_INCLUDED
index 44e3ab7..a1d70a1 100644 (file)
@@ -3,8 +3,6 @@
  *
  *  @brief Implementation of DIFFITEM
  */ 
-// ID line follows -- this is updated by SVN
-// $Id: DiffItem.cpp 7063 2009-12-27 15:28:16Z kimmov $
 
 #include "DiffItem.h"
 #include "paths.h"
index 7530ba2..9baf027 100644 (file)
@@ -3,11 +3,7 @@
  *
  *  @brief Declaration of DIFFITEM
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffItem.h 7063 2009-12-27 15:28:16Z kimmov $
-
-#ifndef _DIFF_ITEM_H_
-#define _DIFF_ITEM_H_
+#pragma once
 
 #include "ListEntry.h"
 #include "DiffFileInfo.h"
@@ -186,5 +182,3 @@ struct DIFFITEM : ListEntry
        bool HasChildren() const;
        void RemoveChildren();
 };
-
-#endif // _DIFF_ITEM_H_
index ae5021a..c7d352a 100644 (file)
@@ -3,8 +3,6 @@
  *
  *  @brief Implementation of DiffItemList
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "DiffItemList.h"
 #include <cassert>
@@ -199,4 +197,4 @@ void DiffItemList::SetCustomFlags1(uintptr_t diffpos, unsigned flag)
        assert(diffpos);
        DIFFITEM & di = GetDiffRefAt(diffpos);
        di.customFlags1 = flag;
-}
\ No newline at end of file
+}
index 4c3a311..a26172e 100644 (file)
@@ -3,11 +3,7 @@
  *
  *  @brief Declaration of DiffItemList
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _DIFF_ITEM_LIST_H_
-#define _DIFF_ITEM_LIST_H_
+#pragma once
 
 #include "DiffItem.h"
 #include <cstdint>
@@ -65,5 +61,3 @@ inline DIFFITEM & DiffItemList::GetDiffRefAt(uintptr_t diffpos)
 {
        return *reinterpret_cast<DIFFITEM *>(diffpos);
 }
-
-#endif // _DIFF_ITEM_LIST_H_
index 1cf3d0c..f6e670d 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation file for DiffList class
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffList.cpp 7105 2010-01-14 21:14:22Z kimmov $
 
 #include "DiffList.h"
 #include <cassert>
@@ -968,4 +966,4 @@ int DiffList::GetMergeableSrcIndex(int nDiff, int nDestIndex) const
        default:
                return -1;
        }
-}
\ No newline at end of file
+}
index 417d514..f2d481a 100644 (file)
  *
  * @brief Declaration file for DiffList class
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffList.h 6705 2009-04-23 20:18:39Z kimmov $
-
-#ifndef _DIFFLIST_H_
-#define _DIFFLIST_H_
+#pragma once
 
 #include <map>
 #include <vector>
@@ -196,5 +192,3 @@ private:
        int m_lastSignificantRightOnly;
        int m_lastSignificantConflict;
 };
-
-#endif // _DIFFLIST_H_
index 7921c52..27ac610 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Implementation file for CDiffTextBuffer
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffTextBuffer.cpp 7082 2010-01-03 22:15:50Z sdottaka $
 
 #include "StdAfx.h"
 #include "DiffTextBuffer.h"
index 4b26085..d5736e4 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of CDiffTextBuffer class
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffTextBuffer.h 6879 2009-06-29 10:00:33Z kimmov $
-
-#ifndef _DIFFTEXT_BUFFER_H_
-#define _DIFFTEXT_BUFFER_H_
+#pragma once
 
 #include "GhostTextBuffer.h"
 #include "FileTextEncoding.h"
@@ -81,5 +77,3 @@ public :
        virtual void OnNotifyLineHasBeenEdited(int nLine);
        bool IsInitialized() const;
 };
-
-#endif // _DIFFTEXT_BUFFER_H_
index 4772a1b..2d125f1 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Code for DiffThread class
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffThread.cpp 6910 2009-07-12 09:06:54Z kimmov $
 
 #include "DiffThread.h"
 #include <cassert>
index 8ee4c87..2d7de7a 100644 (file)
  *
  * @brief Declaration file for CDiffThread
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _DIFFTHREAD_H
-#define _DIFFTHREAD_H
+#pragma once
 
 #include <memory>
 #define POCO_NO_UNWINDOWS 1
@@ -117,5 +113,3 @@ private:
        bool m_bAborting; /**< Is compare aborting? */
        bool m_bOnlyRequested; /**< Are we comparing only requested items (Update?) */
 };
-
-#endif /* _DIFFTHREAD_H */
index a25137b..7c4bed7 100644 (file)
@@ -1,14 +1,9 @@
-//////////////////////////////////////////////////////////////////////
 /** 
  * @file  DiffViewBar.cpp
  *
  * @brief Implementation file for CDiffViewBar
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-//
-//////////////////////////////////////////////////////////////////////
 
 #include "stdafx.h"
 #include "DiffViewBar.h"
index 0bceba8..0fba1a0 100644 (file)
@@ -1,17 +1,9 @@
-//////////////////////////////////////////////////////////////////////
 /** 
  * @file  DiffViewBar.h
  *
  * @brief Declaration of CDiffViewBar class
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-//
-//////////////////////////////////////////////////////////////////////
-
-#ifndef DIFFVIEWBAR_H
-#define DIFFVIEWBAR_H
-
+#pragma once
 
 #include "sizecbar.h"
 #include "scbarcf.h"
@@ -63,6 +55,3 @@ private:
        HWND m_hwndFrame; //*< Frame window handle */
 
 };
-
-
-#endif // DIFFVIEWBAR_H
index 61878ae..94e31ca 100644 (file)
@@ -21,8 +21,6 @@
  *
  * @date  Created: 2003-08-22
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffWrapper.cpp 7091 2010-01-11 20:27:43Z kimmov $
 
 #define NOMINMAX
 #include "DiffWrapper.h"
index bde5ef0..d1bb633 100644 (file)
  *
  * @date  Created: 2003-08-22
  */
-// ID line follows -- this is updated by SVN
-// $Id: DiffWrapper.h 7091 2010-01-11 20:27:43Z kimmov $
-
-#ifndef _DIFFWRAPPER_H
-#define _DIFFWRAPPER_H
+#pragma once
 
 #include <memory>
 #include "diff.h"
@@ -233,6 +229,3 @@ private:
        std::unique_ptr<FilterCommentsManager> m_FilterCommentsManager; /**< Comments filtering manager */
        bool m_bPluginsEnabled; /**< Are plugins enabled? */
 };
-
-
-#endif // _DIFFWRAPPER_H
index 1bfaafb..3f523e4 100644 (file)
@@ -7,8 +7,6 @@
  *
  *  @brief Implementation of methods of CDirView that copy/move/delete files
  */
-// ID line follows -- this is updated by SVN
-// $Id: DirActions.cpp 6572 2009-03-18 18:51:20Z kimmov $
 
 // It would be nice to make this independent of the UI (CDirView)
 // but it needs access to the list of selected items.
index c3f7686..9d154e9 100644 (file)
@@ -4,9 +4,6 @@
  * @brief Implementation file for DirCmpReport
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: DirCmpReport.cpp 7082 2010-01-03 22:15:50Z sdottaka $
-//
 
 #include "stdafx.h"
 #include <ctime>
index e828a09..4b5f70f 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for DirCmpReport.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _DIRCMPREPORT_H_
-#define _DIRCMPREPORT_H_
+#pragma once
 
 #include <vector>
 #include "UnicodeString.h"
@@ -69,5 +65,3 @@ private:
        IFileCmpReport *m_pFileCmpReport;
        bool m_bIncludeFileCmpReport;
 };
-
-#endif // _DIRCMPREPORT_H_
index 947701d..03cf7c0 100644 (file)
@@ -4,9 +4,6 @@
  * @brief Implementation file for DirCmpReport dialog
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-//
 
 #include "stdafx.h"
 #include "DirCmpReportDlg.h"
index 735354c..60ceb94 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for DirCmpReport Dialog.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _DIRCMPREPORTDLG_H_
-#define _DIRCMPREPORTDLG_H_
+#pragma once
 
 #include "DirReportTypes.h"
 #include "SuperComboBox.h"
@@ -52,5 +48,3 @@ public:
        BOOL m_bIncludeFileCmpReport; /**< Do we include file compare report in folder compare report? */
        //}}AFX_DATA
 };
-
-#endif // _DIRCMPREPORTDLG_H_
index d9a2a01..1aefddf 100644 (file)
@@ -5,8 +5,6 @@
  *
  * @date  Created: 2003-08-19
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 
 #include "stdafx.h"
index 1fb6161..77a92db 100644 (file)
@@ -5,12 +5,6 @@
  *
  * @date  Created: 2003-08-19
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-
-#if !defined(AFX_DIRCOLSDLG_H__2FCB576C_C609_4623_8C55_F3870F22CA0B__INCLUDED_)
-#define AFX_DIRCOLSDLG_H__2FCB576C_C609_4623_8C55_F3870F22CA0B__INCLUDED_
 #pragma once
 
 #include <vector>
@@ -103,5 +97,3 @@ public:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_DIRCOLSDLG_H__2FCB576C_C609_4623_8C55_F3870F22CA0B__INCLUDED_)
index 5820ffe..d93ca5a 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation file for Directory compare state dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id: DirCompProgressBar.cpp 4596 2007-10-07 09:44:06Z jtuc $
 
 #include "stdafx.h"
 #include "DirCompProgressBar.h"
index 008ec1f..d420815 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for Directory compare statusdialog class
  */
-// ID line follows -- this is updated by SVN
-// $Id: DirCompProgressBar.h 5444 2008-06-07 06:48:49Z kimmov $
-
-#if !defined(AFX_DIRCOMPPROGRESSBAR_H__8F66C090_C232_429F_A4A2_18D43CCC6C38__INCLUDED_)
-#define AFX_DIRCOMPPROGRESSBAR_H__8F66C090_C232_429F_A4A2_18D43CCC6C38__INCLUDED_
+#pragma once
 
 #include "CompareStats.h"
 
@@ -73,6 +69,3 @@ private:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_DIRCOMPPROGRESSBAR_H__8F66C090_C232_429F_A4A2_18D43CCC6C38__INCLUDED_)
-
index cd849d9..ac60c47 100644 (file)
@@ -24,9 +24,6 @@
  * @brief Implementation file for CDirDoc
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: DirDoc.cpp 6910 2009-07-12 09:06:54Z kimmov $
-//
 
 #include "StdAfx.h"
 #include "DirDoc.h"
index c0691b3..a15830d 100644 (file)
  * @brief Declaration file for CDirDoc
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: DirDoc.h 6136 2008-12-01 17:04:25Z kimmov $
-
-#if !defined(AFX_DIRDOC_H__0B17B4C1_356F_11D1_95CD_444553540000__INCLUDED_)
-#define AFX_DIRDOC_H__0B17B4C1_356F_11D1_95CD_444553540000__INCLUDED_
 #pragma once
 
 #include <memory>
@@ -177,5 +172,3 @@ private:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_DIRDOC_H__0B17B4C1_356F_11D1_95CD_444553540000__INCLUDED_)
index 6b3ab1a..be39f52 100644 (file)
@@ -4,9 +4,6 @@
  * @brief Implementation file for DirCmpReport dialog
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: DirFilterDlg.cpp 4636 2007-10-16 16:56:52Z jtuc $
-//
 
 #include "stdafx.h"
 #include "Coretools.h"
index 5913dcb..02378e3 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for DirCmpReport Dialog.
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id: DirFilterDlg.h 3456 2006-08-09 06:38:07Z jtuc $
-
-#ifndef _DIRCMPREPORTDLG_H_
-#define _DIRCMPREPORTDLG_H_
+#pragma once
 
 #ifndef DirReportTypes_h_included
 #include "DirReportTypes.h"
@@ -48,5 +44,3 @@ public:
        REPORT_TYPE m_nReportType; /**< Report type integer */
        BOOL m_bCopyToClipboard; /**< Do we copy report to clipboard? */
 };
-
-#endif // _DIRCMPREPORTDLG_H_
index fee1813..2d538f3 100644 (file)
@@ -24,8 +24,6 @@
  * @brief Implementation file for CDirFrame
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id: DirFrame.cpp 4739 2007-11-12 20:41:16Z jtuc $
 
 #include "stdafx.h"
 #include "DirFrame.h"
index 14c3e7c..4e77216 100644 (file)
  * @brief Declaration file for CDirFrame
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#if !defined(AFX_DIRFRAME_H__95565903_35C4_11D1_BAA7_00A024706EDC__INCLUDED_)
-#define AFX_DIRFRAME_H__95565903_35C4_11D1_BAA7_00A024706EDC__INCLUDED_
+#pragma once
 
 #include "EditorFilepathBar.h"
 
@@ -88,5 +84,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_DIRFRAME_H__95565903_35C4_11D1_BAA7_00A024706EDC__INCLUDED_)
index 596773f..f8f09b1 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation for DirItem routines
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "DirItem.h"
 #ifdef _WIN32
index 9096740..c2b3296 100644 (file)
  *
  * @brief Declaration file for DirItem
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _DIR_ITEM_H_INCLUDED
-#define _DIR_ITEM_H_INCLUDED
+#pragma once
 
 #ifdef _MSC_VER
 #pragma warning(disable: 4520)
@@ -72,5 +68,3 @@ struct DirItem
        bool Update(const String &sFilePath);
        void ClearPartial();
 };
-
-#endif // _DIR_ITEM_H_INCLUDED
index f8846fa..ad6b312 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef DirReportTypes_h_included
-#define DirReportTypes_h_included
+#pragma once
 
 /**
  * @brief Report types in selection list.
@@ -11,6 +10,3 @@ typedef enum
        REPORT_TYPE_SIMPLEHTML, /**< Simple html table */
        REPORT_TYPE_SIMPLEXML, /**< Simple xml */
 } REPORT_TYPE;
-
-
-#endif // DirReportTypes_h_included
index be892b1..097f588 100644 (file)
@@ -3,8 +3,6 @@
  *
  *  @brief Implementation of DirScan (q.v.) and helper functions
  */ 
-// ID line follows -- this is updated by SVN
-// $Id: DirScan.cpp 6909 2009-07-11 13:03:42Z kimmov $
 
 #include "DirScan.h"
 #include <cassert>
index 32c273a..c8ebd79 100644 (file)
@@ -3,11 +3,7 @@
  *
  *  @brief Declaration of DirScan module (see DirScan function)
  */ 
-// ID line follows -- this is updated by SVN
-// $Id: DirScan.h 6136 2008-12-01 17:04:25Z kimmov $
-
-#ifndef DirScan_h_included
-#define DirScan_h_included
+#pragma once
 
 #include "UnicodeString.h"
 #include <cstdint>
@@ -25,5 +21,3 @@ int DirScan_UpdateMarkedItems(DiffFuncStruct *myStruct, uintptr_t parentdiffpos)
 
 int DirScan_CompareItems(DiffFuncStruct *, uintptr_t parentdiffpos);
 int DirScan_CompareRequestedItems(DiffFuncStruct *, uintptr_t parentdiffpos);
-
-#endif // DirScan_h_included
index c069afb..91bc268 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Implementation file for Directory traversal functions.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: DirTravel.cpp 5761 2008-08-08 04:54:52Z marcelgosselin $
 
 #include "DirTravel.h"
 #include <algorithm>
index 405594f..7abb1e6 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for Directory traversal functions.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _DIR_TRAVEL_H_
-#define _DIR_TRAVEL_H_
+#pragma once
 
 #include <vector>
 #include "UnicodeString.h"
@@ -19,5 +15,3 @@ typedef std::vector<DirItem> DirItemArray;
 
 void LoadAndSortFiles(const String& sDir, DirItemArray * dirs, DirItemArray * files, bool casesensitive);
 int collstr(const String & s1, const String & s2, bool casesensitive);
-
-#endif // _DIR_TRAVEL_H_
index 47cec68..2f0b2f3 100644 (file)
@@ -23,8 +23,6 @@
  *
  * @brief Main implementation file for CDirView
  */
-// ID line follows -- this is updated by SVN
-// $Id: DirView.cpp 7063 2009-12-27 15:28:16Z kimmov $
 
 #include "StdAfx.h"
 #include "DirView.h"
index 3936652..4733d10 100644 (file)
  *
  *  @brief Declaration of class CDirView
  */
-//
-// ID line follows -- this is updated by SVN
-// $Id: DirView.h 7062 2009-12-27 14:43:51Z kimmov $
-
-#if !defined(AFX_DirView_H__16E7C721_351C_11D1_95CD_444553540000__INCLUDED_)
-#define AFX_DirView_H__16E7C721_351C_11D1_95CD_444553540000__INCLUDED_
+#pragma once
 
 /////////////////////////////////////////////////////////////////////////////
 // CDirView view
@@ -504,6 +499,3 @@ String NumToStr(int n);
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_DirView_H__16E7C721_351C_11D1_95CD_444553540000__INCLUDED_)
-
index 86110e4..07bf312 100644 (file)
@@ -5,8 +5,6 @@
  *
  * @date  Created: 2003-08-19
  */
-// ID line follows -- this is updated by SVN
-// $Id: DirViewColHandler.cpp 6138 2008-12-01 17:24:02Z kimmov $
 
 
 #include "StdAfx.h"
index 409e014..4556a7a 100644 (file)
@@ -5,8 +5,6 @@
  *
  * @date  Created: 2003-08-19
  */
-// ID line follows -- this is updated by SVN
-// $Id: DirViewColItems.cpp 7063 2009-12-27 15:28:16Z kimmov $
 
 
 #include "stdafx.h"
index d0021a6..804be4b 100644 (file)
@@ -5,11 +5,7 @@
  *
  * @date  Created: 2003-08-19
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id: DirViewColItems.h 4619 2007-10-14 08:50:20Z jtuc $
-
-#ifndef DirViewColItems_h
-#define DirViewColItems_h
+#pragma once
 
 class CDiffContext;
 
@@ -37,6 +33,3 @@ struct DirColInfo
 
 extern const int g_ncols;
 extern const int g_ncols3;
-
-
-#endif // DirViewColItems_h
index 3a5719e..d396cc0 100644 (file)
@@ -23,8 +23,6 @@
  *
  * @brief Implementation file for CEditorFilepathBar class
  */
-// ID line follows -- this is updated by SVN
-// $Id: EditorFilepathBar.cpp 5401 2008-05-30 12:09:27Z kimmov $
 
 #include "stdafx.h"
 #include "EditorFilepathBar.h"
index db50f5b..a3119d5 100644 (file)
  * @brief Interface of the CEditorFilePathBar class.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: EditorFilepathBar.h 5401 2008-05-30 12:09:27Z kimmov $
-
-#ifndef __EDITORFILEPATHBAR_H__
-#define __EDITORFILEPATHBAR_H__
+#pragma once
 
 #include <memory>
 #include "FilepathEdit.h"
@@ -81,6 +77,3 @@ private:
        std::unique_ptr<CFont> m_pFont; /**< Font for editcontrols */
        int m_nPanes;
 };
-
-
-#endif //__EDITORFILEPATHBAR_H__
\ No newline at end of file
index 53cda60..6a98f93 100644 (file)
@@ -1,9 +1,7 @@
 // EncodingErrorBar.h : header file
 //
 
-#if !defined(AFX_ENCODINGERRORBAR_H__7F99AF10_24E5_49AF_8D97_9A86A80BAD48__INCLUDED_)
-#define AFX_ENCODINGERRORBAR_H__7F99AF10_24E5_49AF_8D97_9A86A80BAD48__INCLUDED_
-
+#pragma once
 
 /////////////////////////////////////////////////////////////////////////////
 // CEncodingErrorBar dialog
@@ -46,5 +44,3 @@ public:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_ENCODINGERRORBAR_H__7F99AF10_24E5_49AF_8D97_9A86A80BAD48__INCLUDED_)
index 9d49bf4..08930f5 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Environment related routines.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #define POCO_NO_UNWINDOWS 1
 #include "Environment.h"
index 07feec0..4dfcd59 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for Environment-related routines.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _ENVIRONMENT_H_
-#define _ENVIRONMENT_H_
+#pragma once
 
 #include "UnicodeString.h"
 
@@ -27,5 +23,3 @@ String env_GetPerInstanceString(const String& name);
 
 bool env_LoadRegistryFromFile(const String& sRegFilePath);
 bool env_SaveRegistryToFile(const String& sRegFilePath, const String& sRegDir);
-
-#endif // _ENVIRONMENT_H_
index 44a20b1..a3a357d 100644 (file)
@@ -23,8 +23,7 @@
  *
  *  @brief Exceptions handlers (currently, only SE handler for try/catch)
  */ 
-// RCS ID line follows -- this is updated by CVS
-// $Id$
+#pragma once
 
 #ifdef _MSC_VER
 
@@ -132,7 +131,3 @@ public:
        SE_Handler() {}
 #endif
 };
-
-
-
-
index 85a9080..ad56b5d 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation of FileActionScript and related classes
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "FileActionScript.h"
index e0f600f..cfcf190 100644 (file)
  *
  * @brief Declaration file for FileActionScript and related classes
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _FILEACTIONSCRIPT_H_
-#define _FILEACTIONSCRIPT_H_
+#pragma once
 
 #include <vector>
 #include <memory>
@@ -162,5 +158,3 @@ private:
        BOOL m_bUseRecycleBin; /**< Use recycle bin for script actions? */
        HWND m_hParentWindow; /**< Parent window for showing messages */
 };
-
-#endif // _FILEACTIONSCRIPT_H_
index bee48c6..582e6ce 100644 (file)
@@ -17,8 +17,6 @@
  *
  *  @brief Implementation of FileFilter.
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "FileFilter.h"
 #include <vector>
index dfa2736..d4a690e 100644 (file)
  *
  * @brief Declaration file for FileFilter
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-#ifndef __FILEFILTER_H__
-#define __FILEFILTER_H__
+#pragma once
 
 #include <vector>
 #include <memory>
@@ -76,5 +73,3 @@ struct FileFilter
 };
 
 typedef std::shared_ptr<FileFilter> FileFilterPtr;
-
-#endif
index 4b73b3c..bd97c65 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation file for FileFilterHelper class
  */
-// ID line follows -- this is updated by SVN
-// $Id: FileFilterHelper.cpp 7024 2009-10-22 18:26:45Z kimmov $
 
 #include "FileFilterHelper.h"
 #include "UnicodeString.h"
index f9b60d0..ef61262 100644 (file)
  *
  * @brief Declaration file for FileFilterHelper
  */
-// ID line follows -- this is updated by SVN
-// $Id: FileFilterHelper.h 7024 2009-10-22 18:26:45Z kimmov $
-
-#ifndef _FILEFILTERHELPER_H_
-#define _FILEFILTERHELPER_H_
+#pragma once
 
 #include <vector>
 #include <memory>
@@ -163,5 +159,3 @@ private:
        String m_sGlobalFilterPath;    /*< Path for shared filters */
        String m_sUserSelFilterPath;     /*< Path for user's private filters */
 };
-
-#endif // _FILEFILTERHELPER_H_
index 94e7931..2bbfcfd 100644 (file)
@@ -17,8 +17,6 @@
  *
  *  @brief Implementation of FileFilterMgr and supporting routines
  */ 
-// ID line follows -- this is updated by SVN
-// $Id: FileFilterMgr.cpp 7024 2009-10-22 18:26:45Z kimmov $
 
 #include "FileFilterMgr.h"
 #include <vector>
index cff214f..10ee1d7 100644 (file)
  *
  *  @brief Declaration file for FileFilterMgr
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef FileFilterMgr_h_included
-#define FileFilterMgr_h_included
+#pragma once
 
 #include <vector>
 #include "UnicodeString.h"
@@ -95,6 +91,3 @@ private:
 
 bool TestAgainstRegList(const std::vector<FileFilterElementPtr> *filterList, const String& szTest);
 void EmptyFilterList(std::vector<FileFilterElementPtr> *filterList);
-
-
-#endif // FileFilterMgr_h_included
index a2a5f84..2b677b8 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation of FileFilters -dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "FileFiltersDlg.h"
index cf7cd3b..5674c4b 100644 (file)
  *
  * @brief Declaration file for File Filters dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(AFX_FILTERSDLG_H__6180CBC3_99BB_4C85_B0EA_BA85D219285E__INCLUDED_)
-#define AFX_FILTERSDLG_H__6180CBC3_99BB_4C85_B0EA_BA85D219285E__INCLUDED_
+#pragma once
 
 #if _MSC_VER > 1000
 #pragma once
@@ -96,5 +92,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_FILTERSDLG_H__6180CBC3_99BB_4C85_B0EA_BA85D219285E__INCLUDED_)
index 9bd2c5d..bc17e65 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration for FileLocation class.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef FileLocation_included
-#define FileLocation_included
+#pragma once
 
 #include "FileTextEncoding.h"
 
@@ -45,5 +41,3 @@ struct FileLocation
 
 // Copy constructor & copy operator should do the obvious correct things
 };
-
-#endif // FileLocation_included
index 49efbd8..a135547 100644 (file)
@@ -23,8 +23,6 @@
  *
  * @brief Implementation of the file and folder selection routines.
  */
-// ID line follows -- this is updated by SVN
-// $Id: FileOrFolderSelect.cpp 6569 2009-03-15 14:33:03Z kimmov $
 
 #include <windows.h>
 #include "FileOrFolderSelect.h"
index 613d1af..cb45592 100644 (file)
  *
  * @brief Declaration of the file and folder selection routines.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _FILE_OR_FOLDER_SELECTION_H_
-#define _FILE_OR_FOLDER_SELECTION_H_
+#pragma once
 
 #include "UnicodeString.h"
 
@@ -40,5 +36,3 @@ BOOL SelectFolder(String& path, LPCTSTR root_path = NULL,
                         HWND hwndOwner = NULL);
 
 BOOL SelectFileOrFolder(HWND parent, String& path, LPCTSTR root_path = NULL);
-
-#endif
\ No newline at end of file
index 338b796..c4d686b 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of FileTextEncoding structure
  */
-// ID line follows -- this is updated by SVN
-// $Id: FileTextEncoding.cpp 7172 2010-05-19 12:57:18Z jtuc $
 
 #include "FileTextEncoding.h"
 #include "unicoder.h"
index 335671e..eab606d 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of FileTextEncoding structure
  */
-// ID line follows -- this is updated by SVN
-// $Id: FileTextEncoding.h 7172 2010-05-19 12:57:18Z jtuc $
-
-#ifndef FileTextEncoding_h_included
-#define FileTextEncoding_h_included
+#pragma once
 
 #include "unicoder.h"
 
@@ -30,6 +26,3 @@ struct FileTextEncoding
        bool operator==(const FileTextEncoding & fte2) const { return Collate(*this, fte2) == 0; }
        bool operator!=(const FileTextEncoding & fte2) const { return Collate(*this, fte2) != 0; }
 };
-
-
-#endif // FileTextEncoding_h_included
index 210d6b7..0bc9d1c 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for FileTextStats structure.
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#ifndef FileTextStats_h_included
-#define FileTextStats_h_included
+#pragma once
 
 /**
  * @brief Structure containing statistics about compared file.
@@ -24,6 +20,3 @@ struct FileTextStats
        FileTextStats() { clear(); }
        void clear() { ncrs = nlfs = ncrlfs = nzeros = 0; }
 };
-
-
-#endif // FileTextStats_h_included
index 494bb7f..defd3e4 100644 (file)
@@ -23,8 +23,6 @@
  *
  *  @brief Implementation of file transformations
  */ 
-// ID line follows -- this is updated by SVN
-// $Id: FileTransform.cpp 7082 2010-01-03 22:15:50Z sdottaka $
 
 #include "FileTransform.h"
 #include <vector>
index 45f9db2..0078b53 100644 (file)
  *
  *  @brief Declaration of file transformations
  */ 
-// RCS ID line follows -- this is updated by CVS
-// $Id: FileTransform.h 6857 2009-06-25 07:46:29Z kimmov $
-
-#ifndef FileTransform_h
-#define FileTransform_h
+#pragma once
 
 #include <vector>
 #include "UnicodeString.h"
@@ -237,5 +233,3 @@ void GetFreeFunctionsInScripts(std::vector<String> & sNamesArray, const wchar_t
  * @note Event EDITOR_SCRIPT, ?
  */
 bool TextTransform_Interactive(String & text, const wchar_t *TransformationEvent, int iFncChosen);
-
-#endif // FileTransform_h
index 7fe12bd..c4d3fbb 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation for FileVersion
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "FileVersion.h"
 #include "UnicodeString.h"
index 2a2d079..824b04c 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for FileVersion
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _FILE_VERSION_H_
-#define _FILE_VERSION_H_
+#pragma once
 
 #include "UnicodeString.h"
 
@@ -30,5 +26,3 @@ public:
        void SetFileVersionNone() { m_fileVersionMS = 0xffffffff; m_fileVersionLS = 0xfffffffe; };
        String GetFileVersionString() const;
 };
-
-#endif // _FILE_VERSION_H_
index 84ca70b..b306a63 100644 (file)
@@ -23,8 +23,6 @@
  *
  * @brief Implementation of the CFilepathEdit class.
  */
-// ID line follows -- this is updated by SVN
-// $Id: FilepathEdit.cpp 6500 2009-02-25 13:36:26Z kimmov $
 
 #include "stdafx.h"
 #include "FilepathEdit.h"
index 1ddcdf2..65e331a 100644 (file)
  *
  * @brief Declaration file for CFilepathEdit class.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef __FILEPATHEDIT_H__
-#define __FILEPATHEDIT_H__
+#pragma once
 
 /** 
  * @brief Read-only control to display a filepath. 
@@ -69,5 +65,3 @@ private:
 
 
 /////////////////////////////////////////////////////////////////////////////
-
-#endif //__FILEPATHEDIT_H__
index 108a2c5..17ec85b 100644 (file)
@@ -19,9 +19,7 @@
  *\r
  * @brief FilterCommentsManager class declaration.\r
  */\r
-\r
-#ifndef _FILTERCOMMENTSMANAGER_H_\r
-#define _FILTERCOMMENTSMANAGER_H_\r
+#pragma once\r
 \r
 #include <string>\r
 #include <map>\r
@@ -77,5 +75,3 @@ private:
        String m_IniFileName;\r
        bool m_loaded;\r
 };\r
-\r
-#endif // _FILTERCOMMENTSMANAGER_H_\r
index d5ea8cf..305c6c2 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation file for FilterList.
  */
-// ID line follows -- this is updated by SVN
-// $Id: FilterList.cpp 7164 2010-05-15 13:57:32Z jtuc $
 
 #include "FilterList.h"
 #include <vector>
index f91fa2a..4fbc62e 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for FilterList.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _FILTERLIST_H_
-#define _FILTERLIST_H_
+#pragma once
 
 #include <vector>
 #include <string>
@@ -54,6 +50,3 @@ private:
        const std::string *m_lastMatchExpression;
 
 };
-
-
-#endif // _FILTERLIST_H_
index f4d7d58..b56a7e9 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation file for FolderCmp
  */
-// ID line follows -- this is updated by SVN
-// $Id: FolderCmp.cpp 7024 2009-10-22 18:26:45Z kimmov $
 
 #include "diff.h"
 #include "FolderCmp.h"
index 148809f..62d2747 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for FolderCmp
  */
-// ID line follows -- this is updated by SVN
-// $Id: FolderCmp.h 6856 2009-06-25 06:34:42Z kimmov $
-
-#ifndef _FOLDERCMP_H_
-#define _FOLDERCMP_H_
+#pragma once
 
 #include <memory>
 #include "DiffFileData.h"
@@ -59,6 +55,3 @@ private:
        std::unique_ptr<CompareEngines::BinaryCompare> m_pBinaryCompare;
        std::unique_ptr<CompareEngines::TimeSizeCompare> m_pTimeSizeCompare;
 };
-
-
-#endif // _FOLDERCMP_H_
index a15ae46..f83de26 100644 (file)
@@ -28,8 +28,6 @@
  *
  * @brief Implementation of GhostTextBuffer class.
  */
-// ID line follows -- this is updated by SVN
-// $Id: GhostTextBuffer.cpp 6878 2009-06-29 09:28:13Z kimmov $
 
 #include "StdAfx.h"
 #include "GhostTextBuffer.h"
index 5c60d2f..c73e1c1 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of CGhostTextBuffer (subclasses CCrystalTextBuffer to handle ghost lines)
  */
-// ID line follows -- this is updated by SVN
-// $Id: GhostTextBuffer.h 5762 2008-08-08 05:32:15Z kimmov $
-
-#ifndef __GHOSTTEXTBUFFER_H__
-#define __GHOSTTEXTBUFFER_H__
+#pragma once
 
 #include <vector>
 #include "ccrystaltextbuffer.h"
@@ -192,6 +188,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-
-#endif //__GHOSTTEXTBUFFER_H__
index 5e51b52..2777fe7 100644 (file)
@@ -3,10 +3,7 @@
  *
  * @brief Declaration of CGhostTextView (subclasses CCrystalEditViewEx to handle ghost lines)
  */
-
-
-#ifndef __GHOSTTEXTVIEW_H__
-#define __GHOSTTEXTVIEW_H__
+#pragma once
 
 #include "crystalEditViewex.h"
 
@@ -124,6 +121,3 @@ public:
 
 
 /////////////////////////////////////////////////////////////////////////////
-
-
-#endif //__GHOSTTEXTVIEW_H__
index 717ec69..22dac5b 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration for GhostUndoRecord structure.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _GHOST_UNDO_RECORD_H_
-#define _GHOST_UNDO_RECORD_H_
+#pragma once
 
 /** 
  * @brief Support For Descriptions On Undo/Redo Actions.
@@ -94,5 +90,3 @@ public :
        {
        }
 };
-
-#endif // _GHOST_UNDO_RECORD_H_
index 816e580..b309b1e 100644 (file)
@@ -24,8 +24,6 @@
  * @brief Implementation file for CHexMergeDoc
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: HexMergeDoc.cpp 7166 2010-05-16 12:05:13Z jtuc $
 
 #include "stdafx.h"
 #include "HexMergeDoc.h"
index 3e4c403..56642df 100644 (file)
@@ -22,8 +22,7 @@
  *
  * @brief Declaration of CHexMergeDoc class
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id: HexMergeDoc.h 7166 2010-05-16 12:05:13Z jtuc $
+#pragma once
 
 #include "PathContext.h"
 #include "DiffFileInfo.h"
index b9c889b..91a826e 100644 (file)
@@ -24,8 +24,6 @@
  * @brief Implementation file for CHexMergeFrame
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: HexMergeFrm.cpp 7166 2010-05-16 12:05:13Z jtuc $
 
 #include "stdafx.h"
 #include "HexMergeFrm.h"
index 4598a5f..59634e0 100644 (file)
@@ -23,8 +23,7 @@
  * @brief interface of the CHexMergeFrame class
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: HexMergeFrm.h 7166 2010-05-16 12:05:13Z jtuc $
+#pragma once
 
 #include "SplitterWndEx.h"
 #include "EditorFilepathBar.h"
index e913009..9ce243b 100644 (file)
@@ -24,8 +24,6 @@
  * @brief Implementation file for CHexMergeView
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: HexMergeView.cpp 7165 2010-05-15 14:04:43Z jtuc $
 
 #include "stdafx.h"
 #include "HexMergeFrm.h"
index 048c342..787a67e 100644 (file)
@@ -22,8 +22,7 @@
  *
  * @brief Declaration of CHexMergeDoc class
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
+#pragma once
 
 #include "DiffFileInfo.h"
 
index c681eb1..8eed741 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef IAbortable_h_included
-#define IAbortable_h_included
+#pragma once
 
 /** @brief callback to check if dirscan needs to abort */
 class IAbortable
@@ -7,5 +6,3 @@ class IAbortable
 public:
        virtual bool ShouldAbort() const = 0;
 };
-
-#endif // IAbortable_h_included
index 32caa1d..1ca4f78 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef _ILISTCTRL_H_
-#define _ILISTCTRL_H_
+#pragma once
 
 #include "UnicodeString.h"
 
@@ -15,5 +14,3 @@ struct IListCtrl
        virtual int GetIconCount() const = 0;
        virtual std::string GetIconPNGData(int iconIndex) const = 0;
 };
-
-#endif
index 36a8208..131b0c5 100644 (file)
@@ -1,3 +1,5 @@
+#pragma once
+
 #include "IListCtrl.h"
 #include <commctrl.h>
 #include <atlimage.h>
index e0cca01..f73b744 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for IOptionsPanel Interface
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#ifndef _IOPTIONSPANEL_H_
-#define _IOPTIONSPANEL_H_
+#pragma once
 
 /**
  * @brief Interface for Options Panels.
@@ -23,5 +19,3 @@ public:
        virtual void ReadOptions() = 0;
        virtual void WriteOptions() = 0;
 };
-
-#endif // IOPTIONSPANEL_H_
index 0664bab..20b2677 100644 (file)
@@ -24,8 +24,6 @@
  * @brief Implementation file for CImgMergeFrame
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: ImgMergeFrm.cpp 7166 2010-05-16 12:05:13Z jtuc $
 
 #include "stdafx.h"
 #include "ImgMergeFrm.h"
index 518a5ab..95f0b89 100644 (file)
@@ -23,8 +23,7 @@
  * @brief interface of the CImgMergeFrame class
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: ImgMergeFrm.h 7166 2010-05-16 12:05:13Z jtuc $
+#pragma once
 
 #include "EditorFilepathBar.h"
 #include "PathContext.h"
index 6473f4f..60474a4 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of Map from int to int, with a couple new methods
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#ifndef IntToIntMap_h_included
-#define IntToIntMap_h_included
+#pragma once
 
 /**
  * @brief An int->int map with helper methods for finding largest bin
@@ -38,6 +34,3 @@ public:
                return maxKey;
        }
 };
-
-
-#endif // IntToIntMap_h_included
index f44c9ab..57889ae 100644 (file)
@@ -4,8 +4,7 @@
  * @brief Declaration file for JumpList helper functions.
  *
  */
-#ifndef _JUMPLIST_H_
-#define _JUMPLIST_H_
+#pragma once
 
 #include "UnicodeString.h"
 #include <vector>
@@ -24,5 +23,3 @@ namespace JumpList
        bool AddToRecentDocs(const String& app_path = _T(""), const String& params = _T(""), const String& title = _T(""), const String& desc = _T(""), int icon_index = 0);
        std::vector<Item> GetRecentDocs(size_t nMaxItems);
 }
-
-#endif
index ded4453..c4236f0 100644 (file)
@@ -3,8 +3,6 @@
  *
  *  @brief Implementation of Line Filter dialog
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "LineFiltersList.h"
index 0e058f6..b8c3e46 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for Line Filter dialog
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(AFX_PROPFILTER_H__73E79E13_34DD_4C86_A3EC_A1044B721CCA__INCLUDED_)
-#define AFX_PROPFILTER_H__73E79E13_34DD_4C86_A3EC_A1044B721CCA__INCLUDED_
+#pragma once
 
 class LineFiltersList;
 
@@ -69,5 +65,3 @@ private:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_PROPFILTER_H__73E79E13_34DD_4C86_A3EC_A1044B721CCA__INCLUDED_)
index ec5ea60..20adb79 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation for LineFiltersList class.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "LineFiltersList.h"
 #include <vector>
index c4894b4..0d1fb2f 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for LineFiltersList class
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _LINEFILTERS_LIST_H_
-#define _LINEFILTERS_LIST_H_
+#pragma once
 
 #include <vector>
 #include <memory>
@@ -53,5 +49,3 @@ private:
        std::vector<LineFilterItemPtr> m_items; /**< List for linefilter items */
        COptionsMgr * m_pOptionsMgr; /**< Options-manager for storage */
 };
-
-#endif // _LINEFILTERS_LIST_H_
index dde1356..eec376e 100644 (file)
@@ -3,10 +3,7 @@
  *
  *  @brief Declaration of ListEntry
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-#ifndef _LIST_ENTRY_H_INCLUDED
-#define _LIST_ENTRY_H_INCLUDED
+#pragma once
 
 /**
  * @brief Simple LIST_ENTRY wrapper
@@ -41,5 +38,3 @@ private:
        ListEntry(const ListEntry &); // disallow copy construction
        void operator=(const ListEntry &); // disallow assignment
 };
-
-#endif // _LIST_ENTRY_H_INCLUDED
index 3fcfb58..c0d1235 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of the dialog used to select codepages
  */
-// ID line follows -- this is updated by SVN
-// $Id: LoadSaveCodepageDlg.cpp 5394 2008-05-29 09:47:36Z kimmov $
 
 #include "stdafx.h"
 #include "LoadSaveCodepageDlg.h"
index 487e364..c244230 100644 (file)
@@ -3,12 +3,6 @@
  *
  * @brief Declaration of the dialog used to select codepages
  */
-// ID line follows -- this is updated by SVN
-// $Id: LoadSaveCodepageDlg.h 5444 2008-06-07 06:48:49Z kimmov $
-
-
-#if !defined(AFX_LOADSAVECODEPAGEDLG_H__B9A16700_6F1A_4DF1_8EB3_0A1D772DCE91__INCLUDED_)
-#define AFX_LOADSAVECODEPAGEDLG_H__B9A16700_6F1A_4DF1_8EB3_0A1D772DCE91__INCLUDED_
 #pragma once
 
 #include "CMoveConstraint.h"
@@ -86,5 +80,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_LOADSAVECODEPAGEDLG_H__B9A16700_6F1A_4DF1_8EB3_0A1D772DCE91__INCLUDED_)
index 54ff90f..12600fb 100644 (file)
@@ -1,14 +1,9 @@
-//////////////////////////////////////////////////////////////////////
 /** 
  * @file  LocationBar.cpp
  *
  * @brief Implementation file for CLocationBar
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-//
-//////////////////////////////////////////////////////////////////////
 
 #include "stdafx.h"
 #include "LocationBar.h"
index fe90eab..b412032 100644 (file)
@@ -7,9 +7,7 @@
 //
 //////////////////////////////////////////////////////////////////////
 
-#ifndef LOCATIONBAR_H
-#define LOCATIONBAR_H
-
+#pragma once
 
 #include "sizecbar.h"
 #include "scbarcf.h"
@@ -55,5 +53,3 @@ private:
        HWND m_hwndFrame; //*< Frame window handle */
 
 };
-
-#endif // LOCATIONBAR_H
index d5e9129..271f1ea 100644 (file)
@@ -26,8 +26,6 @@
  *
  */
 
-// ID line follows -- this is updated by SVN
-// $Id: LocationView.cpp 7127 2010-03-10 21:03:58Z kimmov $
 
 #include "StdAfx.h"
 #include "LocationView.h"
index de8fea0..ee3bb85 100644 (file)
@@ -1,17 +1,9 @@
-//////////////////////////////////////////////////////////////////////
 /** 
  * @file  LocationView.h
  *
  * @brief Declaration of CLocationView class
  */
-//
-//////////////////////////////////////////////////////////////////////
-
-// ID line follows -- this is updated by SVN
-// $Id: LocationView.h 6085 2008-11-12 17:31:24Z kimmov $
-
-#ifndef __LOCATIONVIEW_H__
-#define __LOCATIONVIEW_H__
+#pragma once
 
 #include <vector>
 #include <memory>
@@ -150,6 +142,3 @@ inline CMergeDoc* CLocationView::GetDocument()
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-
-#endif //__LOCATIONVIEW_H__
index eac05c1..b098f65 100644 (file)
@@ -23,8 +23,6 @@
  *
  * @brief Implementation of the CMainFrame class
  */
-// ID line follows -- this is updated by SVN
-// $Id: MainFrm.cpp 7063 2009-12-27 15:28:16Z kimmov $
 
 #include "StdAfx.h"
 #include "MainFrm.h"
index f0944e7..5c5a40b 100644 (file)
  * @brief Declaration file for CMainFrame
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: MainFrm.h 6940 2009-08-01 17:29:01Z kimmov $
-
-#if !defined(AFX_MAINFRM_H__BBCD4F8C_34E4_11D1_BAA6_00A024706EDC__INCLUDED_)
-#define AFX_MAINFRM_H__BBCD4F8C_34E4_11D1_BAA6_00A024706EDC__INCLUDED_
+#pragma once
 
 #include <vector>
 #include <memory>
@@ -325,5 +321,3 @@ CMainFrame * GetMainFrame(); // access to the singleton main frame object
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_MAINFRM_H__BBCD4F8C_34E4_11D1_BAA6_00A024706EDC__INCLUDED_)
index 12b8ad3..95ceafd 100644 (file)
@@ -24,8 +24,6 @@
  * @brief Defines the class behaviors for the application.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: Merge.cpp 6861 2009-06-25 12:11:07Z kimmov $
 
 #include "stdafx.h"
 #include "Merge.h"
index 2dd250e..edbddc0 100644 (file)
  * @brief main header file for the MERGE application
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(AFX_MERGE_H__BBCD4F88_34E4_11D1_BAA6_00A024706EDC__INCLUDED_)
-#define AFX_MERGE_H__BBCD4F88_34E4_11D1_BAA6_00A024706EDC__INCLUDED_
+#pragma once
 
 #ifndef __AFXWIN_H__
        #error include 'stdafx.h' before including this file for PCH
@@ -229,5 +225,3 @@ extern CMergeApp theApp;
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_MERGE_H__BBCD4F88_34E4_11D1_BAA6_00A024706EDC__INCLUDED_)
index c8f5a36..8367116 100644 (file)
@@ -4,6 +4,8 @@
  * @brief Declaration file for Merge7zFormatMergePluginImpl class
  *
  */
+#pragma once
+
 #include <Windows.h>
 
 #define DllBuild_Merge7z 10 // Minimum DllBuild of Merge7z plugin required
index b4415be..388ba41 100644 (file)
@@ -4,6 +4,8 @@
  * @brief Declaration file for Merge7zFormatShellImpl class
  *
  */
+#pragma once
+
 #include <Windows.h>
 
 #define DllBuild_Merge7z 10 // Minimum DllBuild of Merge7z plugin required
@@ -30,4 +32,3 @@ struct Merge7zFormatShellImpl : public Merge7z::Format
        virtual BSTR GetDefaultName(HWND, LPCTSTR);
        static Merge7z::Format *GuessFormat(const String& path);
 };
-
index b31663e..7a32b3c 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef __MERGEAPP_H__
-#define __MERGEAPP_H__
+#pragma once
 
 #include "UnicodeString.h"
 
@@ -25,6 +24,3 @@ String LangFormatString1(unsigned, const TCHAR *);
 
        /** @brief Lang aware version of AfxFormatString2() */
 String LangFormatString2(unsigned, const TCHAR *, const TCHAR *);
-
-
-#endif /* __MERGEAPP_H__ */
\ No newline at end of file
index 6f7a80c..48e6071 100644 (file)
@@ -26,8 +26,6 @@
  *
  */
 
-// ID line follows -- this is updated by SVN
-// $Id: MergeCmdLineInfo.cpp 6940 2009-08-01 17:29:01Z kimmov $
 
 #include "MergeCmdLineInfo.h"
 #include <cstring>
index 2cb6edb..44e9459 100644 (file)
@@ -24,8 +24,6 @@
  * @brief Implementation file for CMergeDoc
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: MergeDoc.cpp 7107 2010-01-14 21:43:14Z kimmov $
 
 #include "StdAfx.h"
 #include "MergeDoc.h"
@@ -3436,4 +3434,4 @@ std::vector<std::vector<int> > CMergeDoc::GetSyncPointList()
                }
        }
        return list;
-}
\ No newline at end of file
+}
index 40b0c74..8a5e1b3 100644 (file)
  *
  * @brief Declaration of CMergeDoc class
  */
-// ID line follows -- this is updated by SVN
-// $Id: MergeDoc.h 7086 2010-01-09 13:38:25Z kimmov $
-
-#if !defined(AFX_MERGEDOC_H__BBCD4F90_34E4_11D1_BAA6_00A024706EDC__INCLUDED_)
-#define AFX_MERGEDOC_H__BBCD4F90_34E4_11D1_BAA6_00A024706EDC__INCLUDED_
+#pragma once
 
 #include "DiffTextBuffer.h"
 #include <vector>
@@ -377,5 +373,3 @@ private:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_MERGEDOC_H__BBCD4F90_34E4_11D1_BAA6_00A024706EDC__INCLUDED_)
index c235d02..ddd10f9 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Code to layout diff blocks, to find matching lines, and insert ghost lines
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id: MergeDocDiffSync.cpp 7054 2009-12-22 17:59:08Z kimmov $
 
 #include "StdAfx.h"
 #include <vector>
index c6d4d65..a8ea494 100644 (file)
@@ -25,8 +25,6 @@
  * @brief Implementation file for CMergeDoc
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: MergeDocEncoding.cpp 4921 2008-01-16 20:20:54Z kimmov $
 
 #include "stdafx.h"
 #include "MergeDoc.h"
index eecdd1c..39d7f73 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Implementation file for word diff highlighting (F4) for merge edit & detail views
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id: MergeDocLineDiffs.cpp 7067 2009-12-29 14:22:46Z kimmov $
 
 #include "StdAfx.h"
 #include "MergeDoc.h"
index 2e663b2..1b60559 100644 (file)
@@ -4,8 +4,7 @@
  * @brief Interface for merge edit view to display status bar info
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id: MergeEditStatus.h 1587 2004-06-20 16:33:26Z kimmov $
+#pragma once
 
 /**
  * @brief Interface for merge edit view to display status bar info
index 1c31ed6..2e99fb8 100644 (file)
@@ -23,8 +23,6 @@
  *
  * @brief Implementation of the CMergeEditView class
  */
-// ID line follows -- this is updated by SVN
-// $Id: MergeEditView.cpp 7142 2010-04-28 17:05:50Z kimmov $
 
 #include "StdAfx.h"
 #include "MergeEditView.h"
index 38b922c..024c8fa 100644 (file)
  * @brief Declaration file for CMergeEditView
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: MergeEditView.h 6655 2009-04-14 19:18:31Z kimmov $
-
-#if !defined(AFX_MERGEEDITVIEW_H__0CE31CFD_4BEE_4378_ADB4_B7C9F50A9F53__INCLUDED_)
-#define AFX_MERGEEDITVIEW_H__0CE31CFD_4BEE_4378_ADB4_B7C9F50A9F53__INCLUDED_
+#pragma once
 
 /** 
  * @brief Non-diff lines shown above diff when scrolling to it
@@ -357,5 +353,3 @@ inline CMergeDoc* CMergeEditView::GetDocument()
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_MERGEEDITVIEW_H__0CE31CFD_4BEE_4378_ADB4_B7C9F50A9F53__INCLUDED_)
index 2f0c571..a30dc84 100644 (file)
@@ -3,11 +3,7 @@
  *
  *  @brief Additional lineflags for editor.
  */ 
-// ID line follows -- this is updated by SVN
-// $Id: MergeLineFlags.h 4762 2007-11-18 09:52:04Z kimmov $
-
-#ifndef MergeLineFlags_h_included
-#define MergeLineFlags_h_included
+#pragma once
 
 /** 
  The Crystal Editor keeps a DWORD of flags for each line.
@@ -31,5 +27,3 @@ enum MERGE_LINEFLAGS
 // Flags for non-ignored difference
 // Note that we must include ghost flag to include ghost lines
 #define LF_NONTRIVIAL_DIFF ((LF_DIFF | LF_GHOST) & (~LF_TRIVIAL))
-
-#endif // MergeLineFlags_h_included
index 86ce8a4..2a61549 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Moved block detection code.
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
 
 #include <map>
 #include <cassert>
index 42ff842..745e9fc 100644 (file)
@@ -3,9 +3,7 @@
  *
  * @brief Declaration of MovedLines class
  */
-
-#ifndef _MOVEDLINES_H_
-#define _MOVEDLINES_H_
+#pragma once
 
 #include <map>
 
@@ -37,5 +35,3 @@ private:
        MovedLinesMap m_moved0; /**< Moved lines map for first side */
        MovedLinesMap m_moved1; /**< Moved lines map for second side */
 };
-
-#endif // _MOVEDLINES_H_
index cc789eb..2834457 100644 (file)
@@ -23,8 +23,6 @@
  *
  * @brief Implementation of the COpenView class
  */
-// ID line follows -- this is updated by SVN
-// $Id: OpenDlg.cpp 6861 2009-06-25 12:11:07Z kimmov $
 
 #include "stdafx.h"
 #include "OpenView.h"
@@ -1129,4 +1127,4 @@ BOOL COpenView::PreTranslateMessage(MSG* pMsg)
                }
        }
        return CFormView::PreTranslateMessage(pMsg);
-}
\ No newline at end of file
+}
index 02b8a10..bd3e215 100644 (file)
@@ -23,8 +23,6 @@
  * @brief Declaration file for COpenView window
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: OpenView.h 5444 2008-06-07 06:48:49Z kimmov $
 
 #pragma once
 
index 0dbfff3..afaa7d5 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef _OPTIONS_CUSTOMCOLORS_H_
-#define _OPTIONS_CUSTOMCOLORS_H_
+#pragma once
 
 #include <windows.h>
 
@@ -9,5 +8,3 @@ void Load(COLORREF * colors);
 void Save(const COLORREF * colors);
 
 }}
-
-#endif
index 7572fd5..04d40cd 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Constants for option-names
  */
-// ID line follows -- this is updated by SVN
-// $Id: OptionsDef.h 6910 2009-07-12 09:06:54Z kimmov $
-
-#ifndef _OPTIONS_DEF_H_
-#define _OPTIONS_DEF_H_
+#pragma once
 
 #include "UnicodeString.h"
 
@@ -219,5 +215,3 @@ const TCHAR OPT_FONT_CLIPPRECISION[] = _T("ClipPrecision");
 const TCHAR OPT_FONT_QUALITY[] = _T("Quality");
 const TCHAR OPT_FONT_PITCHANDFAMILY[] = _T("PitchAndFamily");
 const TCHAR OPT_FONT_FACENAME[] = _T("FaceName");
-
-#endif // _OPTIONS_DEF_H_
index 5191a0c..5364962 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef _OPTIONS_EDITOR_COLOR_SETTING_H_
-#define _OPTIONS_EDITOR_COLOR_SETTING_H_
+#pragma once
 
 #include <windows.h>
 
@@ -44,5 +43,3 @@ void Load(COLORSETTINGS& colors);
 void Save(const COLORSETTINGS& colors);
 
 }}
-
-#endif
index 4cb44fb..53b4ddd 100644 (file)
@@ -1,5 +1,4 @@
-#include <windows.h>\r
-#include "UnicodeString.h"\r
+#pragma once\r
 \r
 struct DIFFOPTIONS;\r
 \r
@@ -10,4 +9,3 @@ void Load(DIFFOPTIONS& options);
 void Save(const DIFFOPTIONS& options);\r
 \r
 }}\r
-\r
index 651e41d..d510ed6 100644 (file)
@@ -1,3 +1,5 @@
+#pragma once\r
+\r
 #include <windows.h>\r
 #include "UnicodeString.h"\r
 \r
@@ -9,6 +11,3 @@ void Save(const String& name, const LOGFONT* lf, bool bUseCustom);
 void Reset(const String& name);\r
 \r
 }}\r
-\r
-\r
-\r
index 5f66aed..8f994dc 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Options initialisation.
  */
-// ID line follows -- this is updated by SVN
-// $Id: OptionsInit.cpp 6910 2009-07-12 09:06:54Z kimmov $
 
 #include "stdafx.h"
 #include <vector>
index 63ebe20..8d37bd5 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of OptionsPanel class.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "OptionsMgr.h"
index 28f3202..4cd96b5 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for OptionsPanel class.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _OPTIONS_PANEL_H_
-#define _OPTIONS_PANEL_H_
+#pragma once
 
 #include "IOptionsPanel.h"
 
@@ -28,5 +24,3 @@ protected:
 private:
        COptionsMgr * m_pOptionsMgr; /**< Options-manager for storage */
 };
-
-#endif // _OPTIONS_PANEL_H_
index 8ed5353..4bc8a9a 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation for OptionsSyntaxColors class.
  */
-// ID line follows -- this is updated by SVN
-// $Id: OptionsSyntaxColors.cpp 6727 2009-05-10 08:25:18Z kimmov $
 
 #include "OptionsSyntaxColors.h"
 #include <vector>
index 4eecd50..7e50440 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for SyntaxColors class utility
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _OPTIONS_SYNTAX_COLORS_H_
-#define _OPTIONS_SYNTAX_COLORS_H_
+#pragma once
 
 class SyntaxColors;
 
@@ -17,5 +13,3 @@ void Load(::SyntaxColors *pSyntaxColors);
 void Save(const ::SyntaxColors *pSyntaxColors);
 
 }}
-
-#endif // _OPTIONS_SYNTAX_COLORS_H_
index 0a00a38..6e0465c 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation of Patch creation dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id: PatchDlg.cpp 6783 2009-05-25 06:47:22Z kimmov $
 
 #include "StdAfx.h"
 #include "PatchDlg.h"
index a3b14f3..20cb4a5 100644 (file)
  *
  * @brief Declaration file for patch creation dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id: PatchDlg.h 6783 2009-05-25 06:47:22Z kimmov $
-
-#if !defined(AFX_PATCHDLG_H__AB3CE671_1328_11D7_B088_005004D9D386__INCLUDED_)
-#define AFX_PATCHDLG_H__AB3CE671_1328_11D7_B088_005004D9D386__INCLUDED_
+#pragma once
 
 #include "resource.h"
 #include "SuperComboBox.h"
@@ -110,5 +106,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_PATCHDLG_H__AB3CE671_1328_11D7_B088_005004D9D386__INCLUDED_)
index b82541e..fabb457 100644 (file)
@@ -1,3 +1,4 @@
+#pragma once
 
 struct file_data;
 struct change;
index c319ab1..2b404da 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Code file routines
  */
-// ID line follows -- this is updated by SVN
-// $Id: PatchTool.cpp 6858 2009-06-25 07:48:26Z kimmov $
 
 #include "StdAfx.h"
 #include "PatchTool.h"
index 1fff3eb..36036e2 100644 (file)
  *
  * @brief Declaration file for PatchTool class
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _PATCHTOOL_H_
-#define _PATCHTOOL_H_
+#pragma once
 
 #include "DiffWrapper.h"
 
@@ -83,5 +79,3 @@ private:
        String m_sPatchFile; /**< Patch file path and filename. */
        BOOL m_bOpenToEditor; /**< Is patch file opened to external editor? */
 };
-
-#endif // _PATCHTOOL_H_
index af88991..bd75099 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Implementation file for PathInfo and PathContext
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: PathContext.cpp 4929 2008-01-18 20:03:57Z kimmov $
 
 #include "PathContext.h"
 #include <cassert>
index 106eefc..63139ff 100644 (file)
@@ -3,12 +3,7 @@
  *
  *  @brief Declarations of PathInfo and PathContext
  */
-// ID line follows -- this is updated by SVN
-// $Id: PathContext.h 4929 2008-01-18 20:03:57Z kimmov $
-
-
-#ifndef _PATH_CONTEXT_H_
-#define _PATH_CONTEXT_H_
+#pragma once
 
 #include "UnicodeString.h"
 #include <vector>
@@ -128,5 +123,3 @@ public:
        const PathContext *m_pPathContext;
        int m_sel;
 };
-
-#endif  // _PATH_CONTEXT_H_
index 5b19317..a97748a 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef PluginManager_h_included
-#define PluginManager_h_included
+#pragma once
 
 #define POCO_NO_UNWINDOWS 1
 #include <Poco/Mutex.h>
@@ -44,5 +43,3 @@ private:
        PluginFileInfoMap m_pluginSettings;
        Poco::FastMutex m_mutex;
 };
-
-#endif // PluginManager_h_included
index 2c347b1..ba24e79 100644 (file)
@@ -23,8 +23,6 @@
  *
  *  @brief Support for VBS Scriptlets, VB ActiveX DLL, VC++ COM DLL
  */ 
-// ID line follows -- this is updated by SVN
-// $Id: Plugins.cpp 7052 2009-12-22 17:45:22Z kimmov $
 
 #include "Plugins.h"
 #define POCO_NO_UNWINDOWS 1
index b7c794a..5ab7bb2 100644 (file)
  *
  *  @brief Declaration file for VBS Scriptlets, VB ActiveX DLL, VC++ COM DLL
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef __PLUGINS_H__
-#define __PLUGINS_H__
+#pragma once
 
 #include <Poco/Foundation.h>
 #include <string>
@@ -260,6 +256,3 @@ bool InvokePrediffFile(const String& fileSource, const String& fileDest, int & n
  * @brief Call the plugin "ShowSettingsDialog" method
  */
 bool InvokeShowSettingsDialog(LPDISPATCH piScript);
-
-
-#endif //__PLUGINS_H__
index 1b1aaea..8140039 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation file for PluginsList dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "PluginsListDlg.h"
index 2fdaf61..5bfcaa1 100644 (file)
@@ -3,12 +3,7 @@
  *
  * @brief Declaration file for PluginsList dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _PLUGINS_LIST_DIALOG_H_
-#define _PLUGINS_LIST_DIALOG_H_
-
+#pragma once
 
 /**
  * @brief A dialog listing plugins.
@@ -43,5 +38,3 @@ protected:
 public:
        CListCtrl m_list; /**< A list control for plugins. */   
 };
-
-#endif // _PLUGINS_LIST_DIALOG_H_
index 0820cbc..1ec2999 100755 (executable)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation file for ProjectFile class.
  */
-// ID line follows -- this is updated by CVS
-// $Id: ProjectFile.cpp 7081 2010-01-01 20:33:30Z kimmov $
 
 #include "ProjectFile.h"
 
index d1b7ddf..5813a6d 100755 (executable)
  *
  * @brief Declaration file ProjectFile class
  */
-// ID line follows -- this is updated by CVS
-// $Id: ProjectFile.h 6392 2009-01-27 21:50:22Z kimmov $
-
-#ifndef _PROJECT_FILE_H_
-#define _PROJECT_FILE_H_
+#pragma once
 
 #include "UnicodeString.h"
 #include "PathContext.h"
@@ -83,5 +79,3 @@ private:
        bool m_bMiddleReadOnly; /**< Is middle path opened as read-only */
        bool m_bRightReadOnly; /**< Is right path opened as read-only */
 };
-
-#endif // #ifdef _PROJECT_FILE_H_
index 4973b83..404e6ca 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation file for ProjectFilePaths dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "ProjectFilePathsDlg.h"
index dfb4e15..b65d165 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for ProjectFilePathsDlg dialog
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#ifndef _PROJECTFILEPATHSDLG_H_
-#define _PROJECTFILEPATHSDLG_H_
+#pragma once
 
 /**
  * @brief Dialog allowing user to load, edit and save project files.
@@ -55,6 +51,3 @@ public:
        afx_msg void OnBnClickedProjOpen();
        afx_msg void OnBnClickedProjSave();
 };
-
-#endif // _PROJECTFILEPATHSDLG_H_
-
index ac90066..622d2e9 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of PropArchive propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "PropArchive.h"
index 1328893..6e060bc 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for PropArchive propertyheet
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _PROP_ARCHIVE_H_
-#define _PROP_ARCHIVE_H_
+#pragma once
 
 #include "StatLink.h"
 #include "OptionsPanel.h"
@@ -44,4 +40,3 @@ public:
        int m_nInstallType;
        BOOL m_bProbeType;
 };
-#endif // _PROP_ARCHIVE_H_
index f2fe939..84b7cf7 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of PropBackups propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "PropBackups.h"
index dc9b677..0729600 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for PropBackups propertyheet
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _PROPBACKUPS_H_
-#define _PROPBACKUPS_H_
+#pragma once
 
 #include "OptionsPanel.h"
 
@@ -50,5 +46,3 @@ protected:
 
        DECLARE_MESSAGE_MAP()
 };
-
-#endif // _PROPBACKUPS_H_
index 6a928d9..1759c54 100644 (file)
@@ -24,8 +24,6 @@
  * @brief Implementation file for PropCodepage propertyheet
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: PropCodepage.cpp 6908 2009-07-11 08:29:49Z kimmov $
 
 #include "stdafx.h"
 #include "PropCodepage.h"
index 09a3c97..845bf72 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of PropCodepage class
  */
-// ID line follows -- this is updated by SVN
-// $Id: PropCodepage.h 6908 2009-07-11 08:29:49Z kimmov $
-
-#if !defined(AFX_PROPCODEPAGE_H__0DF931F8_E845_48B7_A658_3BEE6D3EAF85__INCLUDED_)
-#define AFX_PROPCODEPAGE_H__0DF931F8_E845_48B7_A658_3BEE6D3EAF85__INCLUDED_
+#pragma once
 
 #include "OptionsPanel.h"
 
@@ -61,5 +57,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_PROPCODEPAGE_H__0DF931F8_E845_48B7_A658_3BEE6D3EAF85__INCLUDED_)
index d9303ff..5afb7ba 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of PropMergeColors propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id: PropColors.cpp 6908 2009-07-11 08:29:49Z kimmov $
 
 #include "stdafx.h"
 #include "PropColors.h"
index 378ee65..21291c4 100644 (file)
@@ -4,12 +4,7 @@
  * @brief Declaration file for PropMergeColors propertyheet
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: PropColors.h 6908 2009-07-11 08:29:49Z kimmov $
-
-#if !defined(AFX_PROPCOLORS_H__9C0A0F92_CDD6_40FE_BEFC_101B1E22FFDD__INCLUDED_)
-#define AFX_PROPCOLORS_H__9C0A0F92_CDD6_40FE_BEFC_101B1E22FFDD__INCLUDED_
-
+#pragma once
 
 #include "ColorButton.h"
 #include "OptionsPanel.h"
@@ -126,5 +121,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_PROPCOLORS_H__9C0A0F92_CDD6_40FE_BEFC_101B1E22FFDD__INCLUDED_)
index 363453c..319262e 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of PropCompare propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "PropCompare.h"
index db3edf9..f6c0615 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of PropCompare propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _PROPPAGE_COMPARE_H_
-#define _PROPPAGE_COMPARE_H_
+#pragma once
 
 #include "OptionsPanel.h"
 
@@ -63,5 +59,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // _PROPPAGE_COMPARE_H_
index 6b9fc2c..df36ed6 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of PropCompareBinary propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "PropCompareBinary.h"
index 7fc156c..923a109 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of PropCompareBinary propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _PROPPAGE_COMPAREBINARY_H_
-#define _PROPPAGE_COMPAREBINARY_H_
+#pragma once
 
 #include "OptionsPanel.h"
 #include "UnicodeString.h"
@@ -56,5 +52,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // _PROPPAGE_COMPAREBINARY_H_
index 82b599b..d969e49 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of PropCompareFolder propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id: PropCompareFolder.cpp 6921 2009-07-23 15:20:41Z kimmov $
 
 #include "stdafx.h"
 #include "PropCompareFolder.h"
index 6c38555..93b7ec1 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of PropCompareFolder propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id: PropCompareFolder.h 6921 2009-07-23 15:20:41Z kimmov $
-
-#ifndef _PROPCOMPARE_FOLDER_H_
-#define _PROPCOMPARE_FOLDER_H_
+#pragma once
 
 #include "OptionsPanel.h"
 
@@ -69,5 +65,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // _PROPCOMPARE_FOLDER_H_
index 870bd36..c6f78ce 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of PropCompareImage propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "PropCompareImage.h"
index 0c1e00d..06d79e3 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of PropCompareImage propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _PROPPAGE_COMPAREIMAGE_H_
-#define _PROPPAGE_COMPAREIMAGE_H_
+#pragma once
 
 #include "OptionsPanel.h"
 #include "UnicodeString.h"
@@ -53,5 +49,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // _PROPPAGE_COMPAREIMAGE_H_
index ab52601..fd4c571 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of PropEditor propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "PropEditor.h"
index 03bd530..1284fab 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for PropEditor propertyheet
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(AFX_PROPEDITOR_H__1F2D57BB_6C09_488B_834D_575A94B2BDB8__INCLUDED_)
-#define AFX_PROPEDITOR_H__1F2D57BB_6C09_488B_834D_575A94B2BDB8__INCLUDED_
+#pragma once
 
 #include "OptionsPanel.h"
 
@@ -73,5 +69,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_PROPEDITOR_H__1F2D57BB_6C09_488B_834D_575A94B2BDB8__INCLUDED_)
index 94cefb7..942e761 100644 (file)
@@ -24,8 +24,6 @@
  * @brief Implementation file for PropGeneral propertyheet
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "PropGeneral.h"
index 5c8c452..705d762 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of PropGeneral class
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(AFX_PROPGENERAL_H__30AD07B0_E420_11D1_BBC5_00A024706EDC__INCLUDED_)
-#define AFX_PROPGENERAL_H__30AD07B0_E420_11D1_BBC5_00A024706EDC__INCLUDED_
+#pragma once
 
 #include "OptionsPanel.h"
 
@@ -64,5 +60,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_PROPGENERAL_H__30AD07B0_E420_11D1_BBC5_00A024706EDC__INCLUDED_)
index 82318d2..9d2e878 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief PropRegistry implementation file
  */
-// ID line follows -- this is updated by SVN
-// $Id: PropRegistry.cpp 6908 2009-07-11 08:29:49Z kimmov $
 
 #include "stdafx.h"
 #include "PropRegistry.h"
index e19c79f..8287a8f 100644 (file)
  *
  * @brief Declaration file PropRegistry
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef PropRegistry_h_included
-#define PropRegistry_h_included
+#pragma once
 
 #include "OptionsPanel.h"
 
@@ -77,5 +73,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // PropRegistry_h_included
index bf3f628..b232735 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Implementation file for Shell Options dialog.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: PropShell.cpp 6725 2009-05-09 14:31:24Z kimmov $
 
 #include "stdafx.h"
 #include "PropShell.h"
index 1545783..11d6957 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of Shell options dialog class
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _PROP_SHELL_H_
-#define _PROP_SHELL_H_
+#pragma once
 
 #include "OptionsPanel.h"
 
@@ -48,5 +44,3 @@ protected:
 
        void SaveMergePath();
 };
-
-#endif // _PROP_SHELL_H_
index a5e1d8e..6a68c22 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of PropSyntaxColors propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "PropSyntaxColors.h"
index 8dda5c9..118c21e 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for PropSyntaxColors propertyheet
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _PROP_SYNTAX_COLORS_H_
-#define _PROP_SYNTAX_COLORS_H_
+#pragma once
 
 #include "ColorButton.h"
 #include "OptionsPanel.h"
@@ -96,4 +92,3 @@ private:
        SyntaxColors *m_pTempColors;
        COLORREF m_cCustColors[16];
 };
-#endif // _PROP_SYNTAX_COLORS_H_
index 4edfd8f..731f0c9 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of PropTextColors propertysheet
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "PropTextColors.h"
index 49d630d..19e64e1 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for PropTextColors propertyheet
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(PropTextColors_h_included)
-#define PropTextColors_h_included
+#pragma once
 
 #include "ColorButton.h"
 #include "OptionsPanel.h"
@@ -78,5 +74,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // PropTextColors_h_included
index e1f92c3..47454af 100644 (file)
@@ -23,8 +23,6 @@
  *
  * @brief VSS properties dialog implementation.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "PropVss.h"
index c2905e9..e45f5df 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of VSS properties dialog.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(AFX_PROPVSS_H__30AD07AF_E420_11D1_BBC5_00A024706EDC__INCLUDED_)
-#define AFX_PROPVSS_H__30AD07AF_E420_11D1_BBC5_00A024706EDC__INCLUDED_
+#pragma once
 
 #include "OptionsPanel.h"
 
@@ -59,5 +55,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_PROPVSS_H__30AD07AF_E420_11D1_BBC5_00A024706EDC__INCLUDED_)
index 62b822b..4eae4d5 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation file for SaveClosingDlg dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id: SaveClosingDlg.cpp 4704 2007-11-03 12:10:48Z jtuc $
 
 #include "stdafx.h"
 #include "SaveClosingDlg.h"
index fc94fc8..ca3f893 100644 (file)
  *
  * @brief Declaration file for SaveClosingDlg dialog
  */
-// ID line follows -- this is updated by SVN
-// $Id: SaveClosingDlg.h 5444 2008-06-07 06:48:49Z kimmov $
-
-
-#ifndef _SAVECLOSINGDLG_H_
-#define _SAVECLOSINGDLG_H_
+#pragma once
 
 #include "CMoveConstraint.h"
 
@@ -84,5 +79,3 @@ private:
        BOOL m_bAskForMiddle; /**< Is middle file modified? */
        BOOL m_bAskForRight; /**< Is right file modified? */
 };
-
-#endif // _SAVECLOSINGDLG_H_
index 762d459..7ff6375 100644 (file)
@@ -23,9 +23,6 @@
  *
  * @brief Unpacker plugin selection dialog implementation.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-//
 
 #include "stdafx.h"
 #include "SelectUnpackerDlg.h"
index 2aea17c..6b593b8 100644 (file)
  *
  *  @brief Declaration file for the dialog SelectUnpacker
  */ 
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#if !defined(AFX_SELECTUNPACKERDLG_H__C8FD4C3A_5ED5_43D3_ADAE_A2378369705C__INCLUDED_)
-#define AFX_SELECTUNPACKERDLG_H__C8FD4C3A_5ED5_43D3_ADAE_A2378369705C__INCLUDED_
+#pragma once
 
 #include <vector>
 #include <memory>
@@ -104,5 +100,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_SELECTUNPACKERDLG_H__C8FD4C3A_5ED5_43D3_ADAE_A2378369705C__INCLUDED_)
index d53d479..db7da27 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Dialog where user choose shared or private filter
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "SharedFilterDlg.h"
index 961cf69..3b4a95d 100644 (file)
@@ -4,12 +4,7 @@
  * @brief Declaration file for CSharedFilterDlg.
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#if !defined(AFX_SHAREDFILTERDLG_H__94FD9E42_5C27_49DE_B2FB_77A0B0B03A87__INCLUDED_)
-#define AFX_SHAREDFILTERDLG_H__94FD9E42_5C27_49DE_B2FB_77A0B0B03A87__INCLUDED_
-
+#pragma once
 
 /////////////////////////////////////////////////////////////////////////////
 // CSharedFilterDlg dialog
@@ -65,5 +60,3 @@ private:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_SHAREDFILTERDLG_H__94FD9E42_5C27_49DE_B2FB_77A0B0B03A87__INCLUDED_)
index 94d08a6..496b74c 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation file for some source control-related functions.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "StdAfx.h"
 #define POCO_NO_UNWINDOWS 1
index 356ddb9..ea989fe 100644 (file)
@@ -21,9 +21,6 @@
 // stdafx.cpp : source file that includes just the standard includes
 //     Merge.pch will be the pre-compiled header
 //     stdafx.obj will contain the pre-compiled type information
-//
-// RCS ID line follows -- this is updated by CVS
-// $Id: StdAfx.cpp 6457 2009-02-15 14:08:50Z kimmov $
 
 #include "stdafx.h"
 #include "Merge.h"
index 033a4c2..d750ac0 100644 (file)
@@ -7,11 +7,7 @@
  *
  * @brief Project-wide includes and declarations
  */
-// ID line follows -- this is updated by SVN
-// $Id: StdAfx.h 6457 2009-02-15 14:08:50Z kimmov $
-
-#if !defined(AFX_STDAFX_H__BBCD4F8A_34E4_11D1_BAA6_00A024706EDC__INCLUDED_)
-#define AFX_STDAFX_H__BBCD4F8A_34E4_11D1_BAA6_00A024706EDC__INCLUDED_
+#pragma once
 
 #if _MSC_VER >= 1500
 #if defined _M_IX86
@@ -140,5 +136,3 @@ public:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_STDAFX_H__BBCD4F8A_34E4_11D1_BAA6_00A024706EDC__INCLUDED_)
index 8a04fbd..3b81f38 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef _TFILE_H_
-#define _TFILE_H_
+#pragma once
 
 #define POCO_NO_UNWINDOWS 1
 #include <Poco/File.h>
@@ -14,5 +13,3 @@ public:
        void moveTo(const String& path) { File::moveTo(ucr::toUTF8(path)); }
        void renameTo(const String& path) { File::renameTo(ucr::toUTF8(path)); }
 };
-
-#endif
index 511f37a..aaa664c 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Implementation file for TempFile
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: TempFile.cpp 6723 2009-05-09 09:13:26Z sdottaka $
 
 #include "TempFile.h"
 #include <windows.h>
index a9b405b..23dd7d1 100644 (file)
@@ -3,11 +3,7 @@
  *
  *  @brief Declaration of TempFile
  */
-// ID line follows -- this is updated by SVN
-// $Id: TempFile.h 6566 2009-03-12 18:16:39Z kimmov $
-
-#ifndef _TEMP_FILE_
-#define _TEMP_FILE_
+#pragma once
 
 #include <vector>
 #include "UnicodeString.h"
@@ -37,5 +33,3 @@ private:
 
 void CleanupWMtemp();
 bool ClearTempfolder(const String &pathName);
-
-#endif // _TEMP_FILE_
index e179051..0f94d65 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Dialog for testing file filters
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "TestFilterDlg.h"
index 4665bba..205f617 100644 (file)
@@ -4,11 +4,6 @@
  * @brief Declaration file for CTestFilterDlg class
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(AFX_TESTFILTERDLG_H__1261AD7A_512F_47BC_882F_2E2D41C5072F__INCLUDED_)
-#define AFX_TESTFILTERDLG_H__1261AD7A_512F_47BC_882F_2E2D41C5072F__INCLUDED_
 #pragma once
 
 struct FileFilter;
@@ -60,5 +55,3 @@ private:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_TESTFILTERDLG_H__1261AD7A_512F_47BC_882F_2E2D41C5072F__INCLUDED_)
index eec9694..4ff6f0f 100644 (file)
@@ -3,8 +3,6 @@
  *
  *  @brief Implementation of UniMarkdownFile class.
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "UniMarkdownFile.h"
 #include <cassert>
index d09c58a..b5b2e2e 100644 (file)
@@ -3,8 +3,7 @@
  *
  *  @brief Declaration of UniMarkdownFile class.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
+#pragma once
 
 #include <memory>
 #include "Common/UniFile.h"
index f1bdfc9..b8d701b 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation file for VSSHelper class
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 
 #include "VSSHelper.h"
index 4802e77..0069f76 100644 (file)
  *
  * @brief Declaration file for VSSHelper
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _VSSHELPER_H_
-#define _VSSHELPER_H_
+#pragma once
 
 #include <Windows.h>
 #include "UnicodeString.h"
@@ -53,5 +49,3 @@ private:
        String m_strVssProjectFull;
 
 };
-
-#endif // _VSSHELPER_H_
index 01d4424..a865e6d 100644 (file)
@@ -23,8 +23,6 @@
  *
  * @brief Code for CVssPromptDlg class
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "VssPromptDlg.h"
index 77e982d..c16e7c9 100644 (file)
  *
  * @brief Declaration file for CVssPromptDlg
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#if !defined(AFX_VSSPROMPTDLG_H__F767E53B_90F4_11D1_BB11_00A024706EDC__INCLUDED_)
-#define AFX_VSSPROMPTDLG_H__F767E53B_90F4_11D1_BB11_00A024706EDC__INCLUDED_
+#pragma once
 
 #include "SuperComboBox.h"
 #include "afxwin.h"
@@ -75,5 +71,3 @@ public:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_VSSPROMPTDLG_H__F767E53B_90F4_11D1_BB11_00A024706EDC__INCLUDED_)
index e0ea98f..8a6ea25 100644 (file)
@@ -19,8 +19,6 @@
  *
  * @brief Implementation of the WMGotoDlg dialog.
  */
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "WMGotoDlg.h"
index 29741a5..2ebb124 100644 (file)
  * @brief Declaration file for WMGotoDlg dialog.
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#if !defined(AFX_WMGOTODLG_H__A9D2366D_6358_4A74_9A45_6681D22EC786__INCLUDED_)
-#define AFX_WMGOTODLG_H__A9D2366D_6358_4A74_9A45_6681D22EC786__INCLUDED_
-
+#pragma once
 
 /**
  * @brief Class for Goto-dialog.
@@ -69,5 +64,3 @@ protected:
 
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_WMGOTODLG_H__A9D2366D_6358_4A74_9A45_6681D22EC786__INCLUDED_)
index bb5be2b..998b5b0 100644 (file)
@@ -20,8 +20,6 @@
  *
  *  @brief Implementation of the WaitStatusCursur class.
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
 
 #include "stdafx.h"
 #include "WaitStatusCursor.h"
index 6232c91..7ba9fb2 100644 (file)
@@ -3,11 +3,7 @@
  *
  *  @brief Declaration WaitStatusCursor classes.
  */ 
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef WaitStatusCursor_included_h
-#define WaitStatusCursor_included_h
+#pragma once
 
 class IStatusDisplay;
 
@@ -114,5 +110,3 @@ public:
        virtual void ChangeStatus(LPCTSTR str) = 0;
        virtual void EndStatus(LPCTSTR str, LPCTSTR oldstr) = 0;
 };
-
-#endif // WaitStatusCursor_included_h
index 0266966..b4df16e 100644 (file)
@@ -3,8 +3,6 @@
   (c) 1998-2003 (W3C) MIT, ERCIM, Keio University
   See tidy.h for the copyright notice.
 
-  $Id$
-
 * Changes 2005-01-09 Jochen Tucht
   This file originates from the Tidy library (tidy.sourceforge.net).
   Dependencies on other parts of the library have been removed to make it
@@ -12,8 +10,7 @@
   Runtime-allocated index arrays have been added to improve lookup speed.
 */
 
-#ifndef _CHARSETS_H_
-#define _CHARSETS_H_
+#pragma once
 
 #ifdef __cplusplus
 #define extern extern "C"
@@ -29,5 +26,3 @@ extern const char *GetEncodingNameFromCodePage(unsigned cp);
 extern void charsets_cleanup(void);
 
 #undef extern
-
-#endif // _CHARSETS_H_
index b97f46f..ff2298f 100644 (file)
@@ -21,8 +21,6 @@
 /** 
  * @file  codepage.cpp
  */
-// RCS ID line follows -- this is updated by SVN
-// $Id$
 
 #include "codepage.h"
 #include <windows.h>
index ddbc898..76dcef7 100644 (file)
@@ -1,11 +1,7 @@
 /**
  * @file  codepage.h
  */
-// RCS ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef __CODEPAGE_H__
-#define __CODEPAGE_H__
+#pragma once
 
 #ifndef CP_UTF8
 #define CP_UTF8 65001
@@ -19,5 +15,3 @@
 #endif
 
 bool isCodepageInstalled(int codepage);
-
-#endif //__CODEPAGE_H__
index 1f85003..bdbb431 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Deducing codepage from file contents, when we can
  *
  */
-// ID line follows -- this is updated by SVN
-// $Id: codepage_detect.cpp 7172 2010-05-19 12:57:18Z jtuc $
 
 #include "codepage_detect.h"
 #include <cstdio>
index 9ff5213..2f5f67f 100644 (file)
@@ -3,15 +3,9 @@
  *
  * @brief Declaration file for codepage detection routines.
  */
-// ID line follows -- this is updated by SVN
-// $Id: codepage_detect.h 5584 2008-07-09 12:09:56Z kimmov $
-
-#ifndef codepage_detect_h_included
-#define codepage_detect_h_included
+#pragma once
 
 #include "UnicodeString.h"
 #include "FileTextEncoding.h"
 
 FileTextEncoding GuessCodepageEncoding(const String& filepath, int guessEncodingType);
-
-#endif // codepage_detect_h_included
index 1f45c24..a8b4518 100644 (file)
  *
  * @brief Declaration file for file routines
  */
-// ID line follows -- this is updated by SVN
-// $Id$
-
-#ifndef _FILES_H_INCLUDED
-#define _FILES_H_INCLUDED
+#pragma once
 
 /**
  * @brief File-operation return-statuses
@@ -128,5 +124,3 @@ public:
                FRESULT_LOSSY = 0x10000,
        };
 };
-
-#endif // _FILES_H
index c4147c1..e55d71d 100644 (file)
  * @brief Interface definition for the hekseditor window.\r
  *\r
  */\r
-// ID line follows -- this is updated by SVN\r
-// $Id: heksedit.h 492 2009-04-11 15:17:02Z jtuc $\r
-\r
-#ifndef _HEKSEDIT_H_\r
-#define _HEKSEDIT_H_\r
+#pragma once\r
 \r
 #ifndef HEKSEDIT_INTERFACE_VERSION\r
 #define HEKSEDIT_INTERFACE_VERSION 2\r
@@ -126,5 +122,3 @@ public:
        virtual void STDMETHODCALLTYPE CMD_character_set() = 0;\r
        virtual void STDMETHODCALLTYPE read_ini_data(TCHAR *key = 0) = 0;\r
 };\r
-\r
-#endif // _HEKSEDIT_H_\r
index bfd0662..9690321 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Implementation of helper functions involving locale
  */
-// ID line follows -- this is updated by SVN
-// $Id: locality.cpp 5918 2008-09-07 16:05:46Z sdottaka $
 
 #include "locality.h"
 #include <cstdint>
index 33305d8..3ab90e4 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration of helper functions involving locale
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id$
-
-#ifndef locality_h_included
-#define locality_h_included
+#pragma once
 
 #include "UnicodeString.h"
 #include <cstdint>
@@ -20,5 +16,3 @@ String GetLocaleStr(const TCHAR *str, int decimalDigits = 0);
 String TimeString(const int64_t * tim);
 
 };
-
-#endif // locality_h_included
index 6b98eda..13b4852 100644 (file)
@@ -1,3 +1,5 @@
+#pragma once
+
 #include <map>
 #include <string>
 #include "UnicodeString.h"
index d5063a1..d9c50bd 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @brief Path handling routines
  */
-// ID line follows -- this is updated by SVN
-// $Id: paths.cpp 6514 2009-03-01 16:55:11Z kimmov $
 
 #include "paths.h"
 #include <windows.h>
@@ -742,4 +740,4 @@ String paths_GetPathOnly(const String& fullpath)
 bool paths_IsURLorCLSID(const String& path)
 {
        return (path.find(_T("://")) != String::npos || path.find(_T("::{")) != String::npos);
-}
\ No newline at end of file
+}
index fb008f2..c3437fd 100644 (file)
@@ -3,11 +3,7 @@
  *
  * @brief Declaration file for path routines
  */
-// ID line follows -- this is updated by SVN
-// $Id: paths.h 5301 2008-04-16 12:51:56Z kimmov $
-
-#ifndef paths_h_included
-#define paths_h_included
+#pragma once
 
 #include "PathContext.h"
 #include "UnicodeString.h"
@@ -44,5 +40,3 @@ void paths_SplitFilename(const String& s, String * path, String * name, String *
 void paths_SplitViewName(const TCHAR *s, String * path, String * name, String * ext);
 String paths_GetPathOnly(const String& fullpath);
 bool paths_IsURLorCLSID(const String& path);
-
-#endif // paths_h_included
index 1c52674..405e6d9 100644 (file)
@@ -4,8 +4,6 @@
  * @brief Implementation file for sd_ComputeWordDiffs (q.v.)
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id: stringdiffs.cpp 7149 2010-05-03 17:08:20Z kimmov $
 
 #include "stringdiffs.h"
 #define NOMINMAX
index 96abb03..d49eddc 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Interface file declaring sd_ComputeWordDiffs (q.v.)
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id: stringdiffs.h 6712 2009-05-03 09:37:54Z kimmov $
-
-#ifndef stringdiffs_h_included
-#define stringdiffs_h_included
+#pragma once
 
 #include "UnicodeString.h"
 #include <vector>
@@ -57,6 +53,3 @@ void sd_ComputeWordDiffs(int nStrings, const String str[3],
 void sd_ComputeByteDiff(const String& str1, const String& str2,
                        bool casitive, int xwhite, 
                        int begin[2], int end[2], bool equal);
-
-
-#endif // stringdiffs_h_included
index 46f606b..d46b79e 100644 (file)
@@ -4,11 +4,7 @@
  * @brief Declaration file for class stringdiffs
  *
  */
-// RCS ID line follows -- this is updated by CVS
-// $Id: stringdiffsi.h 7047 2009-12-21 19:08:49Z kimmov $
-
-#ifndef stringdiffsi_h_included
-#define stringdiffsi_h_included
+#pragma once
 
 #include <vector>
 
@@ -116,6 +112,3 @@ private:
        std::vector<word> m_words2;
        std::vector<wdiff> m_wdiffs;
 };
-
-
-#endif // stringdiffsi_h_included