MeshLib C++ Docs
Loading...
Searching...
No Matches
MRFileDialogInternal.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRFileDialog.h"
4
5namespace MR::detail
6{
7
9{
10 bool folderDialog{false}; // open dialog only
11 bool multiselect{true}; // open dialog only
12 bool saveDialog{false}; // true for save dialog, false for open
13};
14
15MRVIEWER_API std::string getCurrentFolder( const std::filesystem::path& baseFolder = {} );
16
17MRVIEWER_API void setCurrentFolder( const std::string& folder );
18
19} // namespace MR::detail
Definition MRFinally.h:34
MRVIEWER_API std::string getCurrentFolder(const std::filesystem::path &baseFolder={})
MRVIEWER_API void setCurrentFolder(const std::string &folder)
Definition MRFileDialog.h:38
Definition MRFileDialogInternal.h:9
bool multiselect
Definition MRFileDialogInternal.h:11
bool saveDialog
Definition MRFileDialogInternal.h:12
bool folderDialog
Definition MRFileDialogInternal.h:10