MeshLib C++ Docs
Loading...
Searching...
No Matches
MRFileDialogPortal.h
Go to the documentation of this file.
1#pragma once
2
3#include "config.h"
4#if !defined( _WIN32 ) && !defined( MRVIEWER_NO_XDG_DESKTOP_PORTAL )
5#include "MRFileDialog.h"
6
7namespace MR::detail
8{
9
11MRVIEWER_API bool isPortalFileDialogSupported();
12
14MRVIEWER_API std::vector<std::filesystem::path> runPortalFileDialog( const MR::FileDialog::Parameters& params );
15
16} // namespace MR::detail
17#endif
Definition MRFinally.h:34
MRVIEWER_API bool isPortalFileDialogSupported()
Checks if XDG Desktop Portal file dialogs are supported.
MRVIEWER_API std::vector< std::filesystem::path > runPortalFileDialog(const MR::FileDialog::Parameters &params)
Open XDG Desktop Portal file dialog.
Definition MRFileDialog.h:86