OSDN Git Service

Remove autoload option at setting dialog
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Settings / SetDialogs.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 #include "SettingsPropPage.h"\r
21 #include "Tooltip.h"\r
22 #include "Registry.h"\r
23 #include "afxwin.h"\r
24 \r
25 \r
26 /**\r
27  * \ingroup TortoiseProc\r
28  * Settings page responsible for dialog settings.\r
29  */\r
30 class CSetDialogs : public ISettingsPropPage\r
31 {\r
32         DECLARE_DYNAMIC(CSetDialogs)\r
33 \r
34 public:\r
35         CSetDialogs();\r
36         virtual ~CSetDialogs();\r
37         \r
38         UINT GetIconID() {return IDI_DIALOGS;}\r
39 \r
40 // Dialog Data\r
41         enum { IDD = IDD_SETTINGSDIALOGS };\r
42 \r
43 protected:\r
44         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
45 \r
46         DECLARE_MESSAGE_MAP()\r
47         \r
48         CString GetVersionFromFile(const CString & p_strDateiname);\r
49 \r
50 private:\r
51         CToolTips               m_tooltips;\r
52         BOOL                    m_bShortDateFormat;\r
53         BOOL                    m_bRelativeTimes;\r
54         CRegDWORD               m_regShortDateFormat;\r
55         CRegDWORD               m_regRelativeTimes;\r
56         BOOL                    m_bUseSystemLocaleForDates;\r
57         CRegDWORD               m_regUseSystemLocaleForDates;\r
58         CRegDWORD               m_regAutoClose;\r
59         DWORD_PTR               m_dwAutoClose;\r
60         CRegDWORD               m_regDefaultLogs;\r
61         CString                 m_sDefaultLogs;\r
62         CMFCFontComboBox        m_cFontNames;\r
63         CComboBox               m_cFontSizes;\r
64         CRegDWORD               m_regFontSize;\r
65         DWORD                   m_dwFontSize;\r
66         CRegString              m_regFontName;\r
67         CString                 m_sFontName;\r
68         CComboBox               m_cAutoClose;\r
69         CRegDWORD               m_regUseWCURL;\r
70         BOOL                    m_bUseWCURL;\r
71         CRegString              m_regDefaultCheckoutPath;\r
72         CString                 m_sDefaultCheckoutPath;\r
73         CRegString              m_regDefaultCheckoutUrl;\r
74         CString                 m_sDefaultCheckoutUrl;\r
75         CRegDWORD               m_regDiffByDoubleClick;\r
76         BOOL                    m_bDiffByDoubleClick;\r
77         CRegDWORD               m_regUseRecycleBin;\r
78         BOOL                    m_bUseRecycleBin;\r
79 \r
80 public:\r
81         virtual BOOL OnInitDialog();\r
82         virtual BOOL PreTranslateMessage(MSG* pMsg);\r
83         virtual BOOL OnApply();\r
84         afx_msg void OnChange();\r
85         afx_msg void OnCbnSelchangeAutoclosecombo();\r
86         afx_msg void OnBnClickedBrowsecheckoutpath();\r
87 };\r