OSDN Git Service

Fix issue #940: Replace slow (2)
[winmerge-jp/winmerge-jp.git] / Src / PropBackups.h
index aae34db..6cf3c9c 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"
 #include "UnicodeString.h"
@@ -21,11 +17,11 @@ class COptionsMgr;
 class PropBackups : public OptionsPanel
 {
 public:
-       PropBackups(COptionsMgr *optionsMgr);
+       explicit PropBackups(COptionsMgr *optionsMgr);
 
 // Implement IOptionsPanel
-       virtual void ReadOptions();
-       virtual void WriteOptions();
+       virtual void ReadOptions() override;
+       virtual void WriteOptions() override;
 
 // Dialog Data
        enum { IDD = IDD_PROPPAGE_BACKUPS };
@@ -46,10 +42,7 @@ public:
 
 protected:
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
-       virtual BOOL OnInitDialog();
        afx_msg void OnBnClickedBackupBrowse();
 
        DECLARE_MESSAGE_MAP()
 };
-
-#endif // _PROPBACKUPS_H_