PickRequest Struct
Public Members
| std::string | mode |
| std::string | title |
| std::string | filter |
| std::string | startDir |
| bool | showHidden = false |
Detailed Description
Local path-pick seam: open the platform's native file dialog and hand the chosen filesystem PATH back to the app (no bytes cross the boundary — a desktop app that links its own engine reads the file itself). The upload seam above is the remote cousin (pick + POST the bytes); this one exists for desktop-class apps (Docuriser) whose engines take paths. Web/Android have no usable filesystem paths, so shells there simply don't install a handler and pick_path() degrades to an immediate cancel.
Member Variable Documentation
std::string mode
"file" (existing file) | "dir" | "save"
std::string title
dialog title ("" = platform default)
std::string filter
name filter, Qt syntax ("Configs (.json);;All Files ()")
std::string startDir
initial directory ("" = platform default)
bool showHidden = false
list dotfiles (Docuriser configs are dotfiles)