libnick 2025.1.0
A cross-platform base for native Nickvision applications.
|
An event argument for when a file system object is changed. More...
#include <filesystemchangedeventargs.h>
Public Member Functions | |
FileSystemChangedEventArgs (const std::filesystem::path &path, FileAction why) | |
Constructs a FileSystemChangedEventArgs. | |
const std::filesystem::path & | getPath () const |
Gets the path of the changed file system object system object. | |
FileAction | getWhy () const |
Gets the action that caused the file system object to change. | |
Public Member Functions inherited from Nickvision::Events::EventArgs | |
EventArgs ()=default | |
Constructs an EventArgs. | |
An event argument for when a file system object is changed.
Nickvision::Filesystem::FileSystemChangedEventArgs::FileSystemChangedEventArgs | ( | const std::filesystem::path & | path, |
FileAction | why ) |
Constructs a FileSystemChangedEventArgs.
path | The path of the file/folder that changed |
why | The action that caused the file system object to change |
const std::filesystem::path & Nickvision::Filesystem::FileSystemChangedEventArgs::getPath | ( | ) | const |
Gets the path of the changed file system object system object.
FileAction Nickvision::Filesystem::FileSystemChangedEventArgs::getWhy | ( | ) | const |
Gets the action that caused the file system object to change.