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

A notification indicating that a new Project file has been selected by the user, or the load operation was cancelled. More...

#include <ProjectSelectionCompleteNotification.hpp>

Public Member Functions

 ProjectSelectionCompleteNotification ()=default
 Create a new ProjectSelectionCompleteNotification indicating that the load was cancelled.
 ProjectSelectionCompleteNotification (std::filesystem::path path)
 Create a new ProjectSelectionCompleteNotification.

Public Attributes

std::optional< std::filesystem::pathpath
 The path of the Project file to load.

Detailed Description

A notification indicating that a new Project file has been selected by the user, or the load operation was cancelled.

Produced by the ActionController on ProjectFileAction callbacks to indicate a new Project file has been selected for loading into the instance. On native platforms, the FileChooser modal may also produce a ProjectSelectionCompleteNotification.

Definition at line 27 of file ProjectSelectionCompleteNotification.hpp.

Constructor & Destructor Documentation

◆ ProjectSelectionCompleteNotification()

echomap::ProjectSelectionCompleteNotification::ProjectSelectionCompleteNotification ( std::filesystem::path path)
inlineexplicit

Create a new ProjectSelectionCompleteNotification.

Parameters
pathThe path of the Project file to load.

Definition at line 39 of file ProjectSelectionCompleteNotification.hpp.

41 :
42 path(std::move(path))
43 {
44 }
std::optional< std::filesystem::path > path
The path of the Project file to load.

Member Data Documentation

◆ path

std::optional<std::filesystem::path> echomap::ProjectSelectionCompleteNotification::path

The path of the Project file to load.

If empty, the operation was cancelled.

Definition at line 51 of file ProjectSelectionCompleteNotification.hpp.


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