Enigma
3.2.2
A Simple, Reliable and Efficient Encryption Tool
Loading...
Searching...
No Matches
SelectFolderDialog.hpp
Go to the documentation of this file.
1
#pragma once
2
#ifndef ENIGMA_SELECT_FOLDER_DIALOG_H
3
#define ENIGMA_SELECT_FOLDER_DIALOG_H
4
5
#include <
Core/Core.hpp
>
6
7
NS_ENIGMA_BEGIN
8
12
class
SelectFolderDialog
{
13
public
:
19
explicit
SelectFolderDialog
(
const
std::string& title,
20
const
std::string& initialPath = ResourceManager::getAppDataDir().
string
());
21
~SelectFolderDialog
() noexcept = default;
22
23
public:
/* Accessors */
27
[[nodiscard]] std::
string
Show
() const;
28
29
private:
30
std::
string
m_title;
/*< Dialog title */
31
std::
string
m_initialPath;
/*< Dialog initial path */
32
};
33
34
NS_ENIGMA_END
35
36
37
#endif
// !ENIGMA_SELECT_FOLDER_DIALOG_H
Core.hpp
NS_ENIGMA_BEGIN
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.
Definition
Macros.hpp:13
NS_ENIGMA_END
#define NS_ENIGMA_END
Definition
Macros.hpp:14
SelectFolderDialog
Definition
SelectFolderDialog.hpp:12
SelectFolderDialog::SelectFolderDialog
SelectFolderDialog(const std::string &title, const std::string &initialPath=ResourceManager::getAppDataDir().string())
SelectFolderDialog::Show
std::string Show() const
SelectFolderDialog::~SelectFolderDialog
~SelectFolderDialog() noexcept=default
src
System
Dialogs
SelectFolderDialog.hpp
Generated on Sat Apr 12 2025 16:55:01 for Enigma by
1.9.8