void remove_user_bookmark(unsigned index)
Paths for each storage media found (Windows), /media and/or /mnt (X11, if non-empty).
std::vector< bookmark_info > user_bookmarks()
Path to the root of the filesystem hierarchy (ignored on Windows).
std::string label
User defined label.
std::vector< path_info > game_paths(unsigned path_types)
Returns a list of game-related paths.
std::vector< path_info > system_paths(unsigned path_types)
Returns a list of system-defined paths.
t_string name
Path name or drive letter/mount point path; may be a translatable string if it's a game resources pat...
std::string display_name() const
Formats this path for UI display.
std::string label
System-defined label, if the path is a drive or mount point.
std::string path
Real path.
Path to the user's profile dir (e.g.
unsigned add_user_bookmark(const std::string &label, const std::string &path)
std::size_t index(const std::string &str, const std::size_t index)
Codepoint index corresponding to the nth character in a UTF-8 string.
std::string user_profile_dir()
Returns the path to the user profile dir (e.g.
std::string path
Real path.
std::ostream & operator<<(std::ostream &os, const path_info &pinf)