OSDN Git Service

Merge with rev.8128
[winmerge-jp/winmerge-jp.git] / Src / PropBackups.h
1 /** 
2  * @file  PropBackups.h
3  *
4  * @brief Declaration file for PropBackups propertyheet
5  *
6  */
7 // ID line follows -- this is updated by SVN
8 // $Id$
9
10 #ifndef _PROPBACKUPS_H_
11 #define _PROPBACKUPS_H_
12
13 #include "OptionsPanel.h"
14 #include "UnicodeString.h"
15
16 class COptionsMgr;
17
18 /**
19  * @brief A class for Backup file options page.
20  */
21 class PropBackups : public OptionsPanel
22 {
23 public:
24         PropBackups(COptionsMgr *optionsMgr);
25
26 // Implement IOptionsPanel
27         virtual void ReadOptions();
28         virtual void WriteOptions();
29
30 // Dialog Data
31         enum { IDD = IDD_PROPPAGE_BACKUPS };
32
33         /** @brief Backup file locations. */
34         enum BACKUP_FOLDER
35         {
36                 FOLDER_ORIGINAL = 0,
37                 FOLDER_GLOBAL,
38         };
39
40         bool m_bCreateForFolderCmp;
41         bool m_bCreateForFileCmp;
42         String m_sGlobalFolder;
43         bool m_bAppendBak;
44         bool m_bAppendTime;
45         int m_nBackupFolder;
46
47 protected:
48         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
49         virtual BOOL OnInitDialog();
50         afx_msg void OnBnClickedBackupBrowse();
51
52         DECLARE_MESSAGE_MAP()
53 };
54
55 #endif // _PROPBACKUPS_H_