Nebula
Loading...
Searching...
No Matches
filedialog.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
11#include "core/types.h"
12#include "util/string.h"
13#include "io/uri.h"
14
15
16//------------------------------------------------------------------------------
17namespace IO
18{
19namespace FileDialog
20{
22 bool OpenFile(Util::String const& title, const IO::URI & start, std::initializer_list<const char*>const& filters, Util::String& path);
24 bool OpenFolder(Util::String const& title, const IO::URI & start, Util::String& path);
26 bool SaveFile(Util::String const& title, const IO::URI & start, std::initializer_list<const char*>const& filters, Util::String& path);
27}
28}
Wrapper around NFD for showing file dialogs.
An URI object can split a Uniform Resource Identifier string into its components or build a string fr...
Definition uri.h:67
bool OpenFolder(Util::String const &title, const IO::URI &start, Util::String &path)
Folder selection dialog.
Definition filedialog.cc:48
bool OpenFile(Util::String const &title, const IO::URI &start, std::initializer_list< const char * >const &filters, Util::String &path)
Shows open file dialog
Definition filedialog.cc:17
bool SaveFile(Util::String const &title, const IO::URI &start, std::initializer_list< const char * >const &filters, Util::String &path)
Save file dialog.
Definition filedialog.cc:67
Instances of wrapped stream classes.
Definition orientation.cc:10
Nebula's universal string class.
Definition string.h:50