gui.hpp 717 Bytes
Newer Older
1
2
3
4
5
6
7
// Copyright (c) 2020 INRA Distributed under the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#ifndef ORG_VLEPROJECT_IRRITATOR_APP_GUI_2020
#define ORG_VLEPROJECT_IRRITATOR_APP_GUI_2020

Gauthier Quesnel's avatar
Gauthier Quesnel committed
8
9
#include <filesystem>

10
11
12
13
namespace irt {

void
node_editor_initialize();
14

15
bool
16
node_editor_show();
17

18
19
20
void
node_editor_shutdown();

21
22
23
24
25
26
27
28
/* Move into internal API */

std::optional<std::filesystem::path>
get_home_directory();

std::optional<std::filesystem::path>
get_executable_directory();

Gauthier Quesnel's avatar
Gauthier Quesnel committed
29
30
31
/* Filesytem dialog box */

bool
Gauthier Quesnel's avatar
Gauthier Quesnel committed
32
load_file_dialog(std::filesystem::path& out);
Gauthier Quesnel's avatar
Gauthier Quesnel committed
33
34

bool
Gauthier Quesnel's avatar
Gauthier Quesnel committed
35
save_file_dialog(std::filesystem::path& out);
Gauthier Quesnel's avatar
Gauthier Quesnel committed
36

37
38
} // namespace irt

39
#endif