EchoMap
2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
Toggle main menu visibility
Loading...
Searching...
No Matches
NativeActionController.cpp
Go to the documentation of this file.
1
9
10
#if !defined(__EMSCRIPTEN__) || defined(__DOXYGEN__)
11
12
#include "
NativeActionController.hpp
"
13
14
namespace
echomap
15
{
16
17
void
NativeActionController::select_project_file_impl
()
18
{
19
notify<RaiseFileChooserNotification>
(
20
sigc::ptr_fun(&
notify<ProjectSelectionCompleteNotification, const std::filesystem::path&>
),
21
sigc::ptr_fun(&
notify<ProjectSelectionCompleteNotification>
)
22
);
23
}
24
25
void
NativeActionController::register_vfs_mapping_impl
(
26
const
std::size_t
project_id,
27
const
std::filesystem::path
& external
28
)
29
{
30
std::ignore = project_id;
31
std::ignore = external;
32
33
throw
std::runtime_error
(
34
"The NativeActionController received a request to query for VFS mappings, which are not applicable on the "
35
"native platform."
36
);
37
}
38
39
}
// namespace echomap
40
41
#endif
// __EMSCRIPTEN__
NativeActionController.hpp
NativeActionController specification.
echomap::ActionControllerBase< NativeActionController >::notify
static void notify(Args &&... args)
Definition
ActionControllerBase.hpp:130
echomap::NativeActionController::select_project_file_impl
static void select_project_file_impl()
Invokes the native function for Project File Action.
Definition
NativeActionController.cpp:17
echomap::NativeActionController::register_vfs_mapping_impl
static void register_vfs_mapping_impl(std::size_t project_id, const std::filesystem::path &external)
Invokes the native function for Register VFS Mapping.
Definition
NativeActionController.cpp:25
echomap
The main EchoMap outermost namespace for all non-exported symbols.
Definition
ActionController.hpp:20
std::filesystem::path
std::runtime_error
std::size_t
src
actions
NativeActionController.cpp
Generated by
1.17.0