OSDN Git Service

Update Dutch.po (#842)
[winmerge-jp/winmerge-jp.git] / Src / FileOrFolderSelect.h
1 /////////////////////////////////////////////////////////////////////////////
2 //    WinMerge:  an interactive diff/merge utility
3 //    Copyright (C) 1997-2006  Thingamahoochie Software
4 //    Author: Dean Grimm
5 //    SPDX-License-Identifier: GPL-2.0-or-later
6 /////////////////////////////////////////////////////////////////////////////
7 /** 
8  * @file  FileOrFolderSelect.h
9  *
10  * @brief Declaration of the file and folder selection routines.
11  */
12 #pragma once
13
14 #include "UnicodeString.h"
15
16 bool SelectFile(HWND parent, String& path, bool is_open = true,
17                         LPCTSTR initialPath = nullptr, const String& stitle = _T(""),
18                         const String& sfilter = _T(""), LPCTSTR defaultExtension = nullptr);
19
20 bool SelectFolder(String& path, LPCTSTR root_path = nullptr, 
21                          const String& title = _T(""),
22                          HWND hwndOwner = nullptr);
23
24 bool SelectFileOrFolder(HWND parent, String& path, LPCTSTR root_path = nullptr);