OSDN Git Service

An attempt to reduce build time
[winmerge-jp/winmerge-jp.git] / Src / WMGotoDlg.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /**
3  * @file  WMGotoDlg.h
4  *
5  * @brief Declaration file for WMGotoDlg dialog.
6  *
7  */
8 #pragma once
9
10 #include <memory>
11 #include "UnicodeString.h"
12
13 class WMGotoDlg
14 {
15 // Construction
16 public:
17         WMGotoDlg();
18         ~WMGotoDlg();
19         int DoModal();
20
21         String m_strParam;   /**< Line/difference number. */
22         int m_nFile;         /**< Target file number. */
23         int m_nGotoWhat;     /**< Goto line or difference? */
24         int m_nFiles;        /**< Number of files being compared. */
25         int m_nLastLine[3];  /**< Last line in each pane. */
26         int m_nLastDiff;     /**< Last diff. */
27 private:
28         WMGotoDlg(const WMGotoDlg &) = delete;
29         WMGotoDlg & operator=(const WMGotoDlg &) = delete;
30
31         class Impl;
32         std::unique_ptr<Impl> m_pimpl;
33 };