coastline 0.0.4
Loading...
Searching...
No Matches
coastline::BrowserEntry Struct Reference

An entry of a listing of the file browser. More...

#include <filebrowser.h>

Collaboration diagram for coastline::BrowserEntry:

Public Types

enum class  Kind { Parent , Drive , Directory , File }
 What an entry opens or chooses. More...

Public Attributes

Kind kind = Kind::File
std::filesystem::path path
std::string name
std::string label

Detailed Description

An entry of a listing of the file browser.

Member Enumeration Documentation

◆ Kind

enum class coastline::BrowserEntry::Kind
strong

What an entry opens or chooses.

Enumerator
Parent 

The directory above, ...

Drive 

A drive, at the root of a drive on Windows.

Directory 

A directory.

File 

A file.

Member Data Documentation

◆ kind

Kind coastline::BrowserEntry::kind = Kind::File

What the entry opens or chooses.

◆ path

std::filesystem::path coastline::BrowserEntry::path

The path the entry opens or chooses.

◆ name

std::string coastline::BrowserEntry::name

The name of the entry in UTF-8, without brackets.

◆ label

std::string coastline::BrowserEntry::label

The text of the entry in UTF-8: .., [name], C:\, or name.


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