OSDN Git Service

Setting dialog, remote list work.
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Settings / SetOverlayPage.h
1 // TortoiseSVN - a Windows shell extension for easy version control\r
2 \r
3 // Copyright (C) 2003-2008 - TortoiseSVN\r
4 \r
5 // This program is free software; you can redistribute it and/or\r
6 // modify it under the terms of the GNU General Public License\r
7 // as published by the Free Software Foundation; either version 2\r
8 // of the License, or (at your option) any later version.\r
9 \r
10 // This program is distributed in the hope that it will be useful,\r
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of\r
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
13 // GNU General Public License for more details.\r
14 \r
15 // You should have received a copy of the GNU General Public License\r
16 // along with this program; if not, write to the Free Software Foundation,\r
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
18 //\r
19 #pragma once\r
20 \r
21 #include "SettingsPropPage.h"\r
22 #include "Tooltip.h"\r
23 #include "Registry.h"\r
24 \r
25 /**\r
26  * \ingroup TortoiseProc\r
27  * Settings page to configure how the icon overlays and the cache should\r
28  * behave.\r
29  */\r
30 class CSetOverlayPage : public ISettingsPropPage\r
31 {\r
32         DECLARE_DYNAMIC(CSetOverlayPage)\r
33 \r
34 public:\r
35         CSetOverlayPage();\r
36         virtual ~CSetOverlayPage();\r
37 \r
38         UINT GetIconID() {return IDI_SET_OVERLAYS;}\r
39 \r
40 // Dialog Data\r
41         enum { IDD = IDD_SETTINGSOVERLAY };\r
42 \r
43 protected:\r
44         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
45         virtual BOOL OnInitDialog();\r
46         virtual BOOL PreTranslateMessage(MSG* pMsg);\r
47         afx_msg void OnChange();\r
48         virtual BOOL OnApply();\r
49 \r
50         DECLARE_MESSAGE_MAP()\r
51 \r
52 private:\r
53         BOOL                    m_bOnlyExplorer;\r
54         BOOL                    m_bRemovable;\r
55         BOOL                    m_bFloppy;\r
56         BOOL                    m_bNetwork;\r
57         BOOL                    m_bFixed;\r
58         BOOL                    m_bCDROM;\r
59         BOOL                    m_bRAM;\r
60         BOOL                    m_bUnknown;\r
61         BOOL                    m_bUnversionedAsModified;\r
62         BOOL                    m_bShowIgnoredOverlay;\r
63         BOOL                    m_bShowUnversionedOverlay;\r
64         BOOL                    m_bShowExcludedAsNormal;\r
65         CRegDWORD               m_regOnlyExplorer;\r
66         CRegDWORD               m_regDriveMaskRemovable;\r
67         CRegDWORD               m_regDriveMaskFloppy;\r
68         CRegDWORD               m_regDriveMaskRemote;\r
69         CRegDWORD               m_regDriveMaskFixed;\r
70         CRegDWORD               m_regDriveMaskCDROM;\r
71         CRegDWORD               m_regDriveMaskRAM;\r
72         CRegDWORD               m_regDriveMaskUnknown;\r
73         CRegDWORD               m_regUnversionedAsModified;\r
74         CRegDWORD               m_regShowIgnoredOverlay;\r
75         CRegDWORD               m_regShowUnversionedOverlay;\r
76         CRegDWORD               m_regShowExcludedAsNormal;\r
77         CToolTips               m_tooltips;\r
78         CRegString              m_regExcludePaths;\r
79         CString                 m_sExcludePaths;\r
80         CRegString              m_regIncludePaths;\r
81         CString                 m_sIncludePaths;\r
82         CRegDWORD               m_regCacheType;\r
83         DWORD                   m_dwCacheType;\r
84 \r
85         BOOL                    m_bModified;\r
86 public:\r
87 };\r