OSDN Git Service

Fix issue #2046: Folder compare omits unique folders from results if they contain...
[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                         const tchar_t* initialPath = nullptr, const String& stitle = _T(""),
18                         const String& sfilter = _T(""), const tchar_t* defaultExtension = nullptr);
19
20 bool SelectFolder(String& path, const tchar_t* root_path = nullptr, 
21                          const String& title = _T(""),
22                          HWND hwndOwner = nullptr);
23
24 bool SelectFileOrFolder(HWND parent, String& path, const tchar_t* root_path = nullptr);