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
RaiseFileChooserNotification.hpp
Go to the documentation of this file.
1
9
10
#ifndef ECHOMAP_RAISEFILECHOOSERNOTIFICATION_HPP
11
#define ECHOMAP_RAISEFILECHOOSERNOTIFICATION_HPP
12
13
#if !defined(__EMSCRIPTEN__) || defined(__DOXYGEN__)
14
15
#include <sigc++/slot.h>
16
17
#include <
filesystem
>
18
19
namespace
echomap
20
{
21
29
struct
RaiseFileChooserNotification
30
{
31
using
SuccessCallbackT = sigc::slot<void(
const
std::filesystem::path
&)>;
32
using
CancelledCallbackT = sigc::slot<void()>;
33
40
explicit
RaiseFileChooserNotification
(
41
SuccessCallbackT&& success_callback,
42
CancelledCallbackT&& cancelled_callback
43
) :
44
success_callback(
std
::move(success_callback)),
45
cancelled_callback(
std
::move(cancelled_callback))
46
{
47
}
48
49
SuccessCallbackT success_callback;
50
CancelledCallbackT cancelled_callback;
51
};
52
53
}
// namespace echomap
54
55
#endif
// __EMSCRIPTEN__
56
57
#endif
// ECHOMAP_RAISEFILECHOOSERNOTIFICATION_HPP
filesystem
echomap
The main EchoMap outermost namespace for all non-exported symbols.
Definition
ActionController.hpp:20
std
STL namespace.
std::filesystem::path
echomap::RaiseFileChooserNotification::RaiseFileChooserNotification
RaiseFileChooserNotification(SuccessCallbackT &&success_callback, CancelledCallbackT &&cancelled_callback)
Create a new RaiseFileChooserNotification to indicate that the FileChooser should be raised.
Definition
RaiseFileChooserNotification.hpp:40
src
notifications
native
RaiseFileChooserNotification.hpp
Generated by
1.17.0