28#ifndef SEEN_INKSCAPE_IO_SANDBOX_H
29#define SEEN_INKSCAPE_IO_SANDBOX_H
31#include <giomm/file.h>
32#include <glibmm/refptr.h>
33#include <glibmm/ustring.h>
68 Glib::ustring placeholder_if_empty =
"");
bool filesystem_is_sandboxed()
Query if the filesystem is "sandboxed", e.g., by using xdg-portal in flatpak/snap.
Glib::ustring filesystem_get_display_path(std::optional< Glib::RefPtr< Gio::File const > > path, Glib::ustring placeholder_if_empty)
Translate raw filesystem path to a path suitable for display.