OSDN Git Service

Fix build errors
[winmerge-jp/winmerge-jp.git] / Src / PropShell.h
1 /**
2  * @file  PropShell.h
3  *
4  * @brief Declaration of Shell options dialog class
5  */
6 #pragma once
7
8 #include "OptionsPanel.h"
9
10
11 /**
12  * @brief Class for Shell options -propertypage.
13  */
14 class PropShell : public OptionsPanel
15 {
16 // Construction
17 public:
18         explicit PropShell(COptionsMgr *optionsMgr);
19
20 // Implement IOptionsPanel
21         virtual void ReadOptions() override;
22         virtual void WriteOptions() override;
23
24 // Dialog Data
25         enum { IDD = IDD_PROPPAGE_SHELL };
26         bool m_bContextAdded;
27         bool m_bContextAdvanced;
28
29 // Overrides
30         protected:
31         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
32
33 // Implementation
34 protected:
35         virtual BOOL OnInitDialog() override;
36         afx_msg void OnAddToExplorer();
37         afx_msg void OnRegisterShellExtension();
38         afx_msg void OnUnregisterShellExtension();
39         afx_msg void OnRegisterShellExtensionPerUser();
40         afx_msg void OnUnregisterShellExtensionPerUser();
41         afx_msg void OnTimer(UINT_PTR nIDEvent);
42
43         void GetContextRegValues();
44         void AdvancedContextMenuCheck();
45         void UpdateButtons();
46
47         DECLARE_MESSAGE_MAP()
48
49         void SaveMergePath();
50 };