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
8
13public:
19 explicit SelectFolderDialog(const std::string& title,
20 const std::string& initialPath = ResourceManager::getAppDataDir().string());
21 ~SelectFolderDialog() noexcept = default;
22
23public: /* Accessors */
27 [[nodiscard]] std::string Show() const;
28
29private:
30 std::string m_title; /*< Dialog title */
31 std::string m_initialPath; /*< Dialog initial path */
32};
33
35
36
37#endif // !ENIGMA_SELECT_FOLDER_DIALOG_H
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.
Definition Macros.hpp:13
#define NS_ENIGMA_END
Definition Macros.hpp:14
SelectFolderDialog(const std::string &title, const std::string &initialPath=ResourceManager::getAppDataDir().string())
std::string Show() const
~SelectFolderDialog() noexcept=default