Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
reveal_in_file_manager.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <filesystem>
4
5namespace pulp::platform {
6
25
27const char* to_string(RevealOutcome outcome) noexcept;
28
35RevealOutcome reveal_in_file_manager(const std::filesystem::path& path);
36
37} // namespace pulp::platform
Device capability vocabulary: one tier ladder, one thermal ladder, and the projection from observed i...
Definition child_process.hpp:15
RevealOutcome reveal_in_file_manager(const std::filesystem::path &path)
Show path in the platform file manager: Finder (NSWorkspace activateFileViewerSelectingURLs),...
RevealOutcome
What reveal_in_file_manager managed to do.
Definition reveal_in_file_manager.hpp:10
@ opened_containing_folder
The item's containing folder was opened but the item itself could not be selected (Linux: no portable...
Definition reveal_in_file_manager.hpp:16
@ failed
The platform call was attempted and failed.
Definition reveal_in_file_manager.hpp:23
@ revealed
The platform file manager was asked to show the item selected in its parent folder (macOS Finder,...
Definition reveal_in_file_manager.hpp:13
@ unsupported
This platform has no file manager to ask (iOS, Android, or a Linux system without xdg-open).
Definition reveal_in_file_manager.hpp:21
@ not_found
The path does not exist; nothing was shown.
Definition reveal_in_file_manager.hpp:18
const char * to_string(RevealOutcome outcome) noexcept
Short stable name for an outcome ("revealed", "not_found", ...).