Make sounds for indicating a warning or error work
[TortoiseGit.git] / src / TortoiseProc / URLDlg.h
blobe7e762da34e4bf32a7aac5d42db99800e7a2ca1d
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2007 - TortoiseSVN
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #pragma once
22 #include "StandAloneDlg.h"
23 #include "HistoryCombo.h"
26 /**
27 * \ingroup TortoiseProc
28 * A simple dialog, used for entering an URL.
30 class CURLDlg : public CResizableStandAloneDialog
32 DECLARE_DYNAMIC(CURLDlg)
34 public:
35 CURLDlg(CWnd* pParent = NULL);
36 virtual ~CURLDlg();
38 CString m_url;
40 enum { IDD = IDD_URL };
41 protected:
42 virtual void DoDataExchange(CDataExchange* pDX);
43 virtual BOOL OnInitDialog();
44 virtual void OnOK();
45 afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
47 DECLARE_MESSAGE_MAP()
49 CHistoryCombo m_URLCombo;
50 int m_height;