EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
Loading...
Searching...
No Matches
echomap::RaiseFileChooserNotification Struct Reference

A notification indicating that the NativeFileChooser should be raised to prompt for a new Project. More...

#include <RaiseFileChooserNotification.hpp>

Public Types

using SuccessCallbackT = sigc::slot<void(const std::filesystem::path&)>
using CancelledCallbackT = sigc::slot<void()>

Public Member Functions

 RaiseFileChooserNotification (SuccessCallbackT &&success_callback, CancelledCallbackT &&cancelled_callback)
 Create a new RaiseFileChooserNotification to indicate that the FileChooser should be raised.

Public Attributes

SuccessCallbackT success_callback
CancelledCallbackT cancelled_callback

Detailed Description

A notification indicating that the NativeFileChooser should be raised to prompt for a new Project.

Produced by the ActionController on ProjectFileAction invocation.

Definition at line 29 of file RaiseFileChooserNotification.hpp.

Member Typedef Documentation

◆ CancelledCallbackT

using echomap::RaiseFileChooserNotification::CancelledCallbackT = sigc::slot<void()>

Definition at line 32 of file RaiseFileChooserNotification.hpp.

◆ SuccessCallbackT

using echomap::RaiseFileChooserNotification::SuccessCallbackT = sigc::slot<void(const std::filesystem::path&)>

Definition at line 31 of file RaiseFileChooserNotification.hpp.

Constructor & Destructor Documentation

◆ RaiseFileChooserNotification()

echomap::RaiseFileChooserNotification::RaiseFileChooserNotification ( SuccessCallbackT && success_callback,
CancelledCallbackT && cancelled_callback )
inlineexplicit

Create a new RaiseFileChooserNotification to indicate that the FileChooser should be raised.

Parameters
success_callbackThe callback for FileChooser to invoke once a file has been selected.
cancelled_callbackThe callback for FileChooser to invoke if it is dismissed prior to selection.

Definition at line 40 of file RaiseFileChooserNotification.hpp.

43 :
44 success_callback(std::move(success_callback)),
45 cancelled_callback(std::move(cancelled_callback))
46 {
47 }

Member Data Documentation

◆ cancelled_callback

CancelledCallbackT echomap::RaiseFileChooserNotification::cancelled_callback

Definition at line 50 of file RaiseFileChooserNotification.hpp.

◆ success_callback

SuccessCallbackT echomap::RaiseFileChooserNotification::success_callback

Definition at line 49 of file RaiseFileChooserNotification.hpp.


The documentation for this struct was generated from the following file: