Just™ Game Engine
platform.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021-2022 Konstanty Misiak
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7#pragma once
8#include "jng/core/base.hpp"
10
11namespace jng {
12 namespace Platform {
13
18 std::string openDirectoryDialog();
19
25 std::string openFilenameDialog(const char* filter);
26
32 std::string saveFilenameDialog(const char* filter);
33
34 } // namespace Platform
35} // namespace jng
std::string saveFilenameDialog(const char *filter)
Opens a save filename dialog native to the system.
Definition: platform_win.cpp:79
std::string openFilenameDialog(const char *filter)
Opens an open filename dialog native to the system.
Definition: platform_win.cpp:60
std::string openDirectoryDialog()
Opens an open directory dialog native to the system.
Definition: platform_win.cpp:22
Definition: base.hpp:11