Represents a file view of the Application.
More...
#include <FileView.h>
|
| FileView () |
| Constructs a FileView with wd set as the current directory.
|
|
| FileView (std::filesystem::path wd) |
| Constructs a FileView with wd set as the provided directory.
|
|
std::vector< std::shared_ptr< Entry > > | getCurrent (bool recursive=false) |
| Get Entries representing all files/folders in wd .
|
|
void | cd (std::filesystem::path) |
| Change directory.
|
|
Represents a file view of the Application.
◆ FileView() [1/2]
Constructs a FileView with wd
set as the current directory.
◆ FileView() [2/2]
FileView::FileView |
( |
std::filesystem::path |
wd | ) |
|
|
explicit |
Constructs a FileView with wd
set as the provided directory.
◆ cd()
void FileView::cd |
( |
std::filesystem::path |
path | ) |
|
◆ getCurrent()
std::vector< std::shared_ptr< Entry > > FileView::getCurrent |
( |
bool |
recursive = false | ) |
|
Get Entries representing all files/folders in wd
.
◆ cursor
size_t FileView::cursor = 0 |
◆ scroll_cursor
size_t FileView::scroll_cursor = 0 |
◆ wd
std::filesystem::path FileView::wd |
The documentation for this class was generated from the following files: