EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
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
19namespace echomap
20{
21
30{
31 using SuccessCallbackT = sigc::slot<void(const std::filesystem::path&)>;
32 using CancelledCallbackT = sigc::slot<void()>;
33
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
The main EchoMap outermost namespace for all non-exported symbols.
STL namespace.
RaiseFileChooserNotification(SuccessCallbackT &&success_callback, CancelledCallbackT &&cancelled_callback)
Create a new RaiseFileChooserNotification to indicate that the FileChooser should be raised.