Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::system::FileNotifyOption Struct Referenceabstract

File Change Callback Option Class. More...

#include <FileNotifier.h>

Public Member Functions

virtual ~FileNotifyOption ()=default
 
virtual void onCreate (std::string_view name)=0
 Create file.
 
virtual void onMove (std::string_view src_name, std::string_view dst_name)=0
 Move file.
 
virtual void onModify (std::string_view name)=0
 Modify file.
 
virtual void onDelete (std::string_view name)=0
 Delete file.
 

Detailed Description

File Change Callback Option Class.

Constructor & Destructor Documentation

◆ ~FileNotifyOption()

virtual sese::system::FileNotifyOption::~FileNotifyOption ( )
virtualdefault

Member Function Documentation

◆ onCreate()

virtual void sese::system::FileNotifyOption::onCreate ( std::string_view name)
pure virtual

Create file.

◆ onDelete()

virtual void sese::system::FileNotifyOption::onDelete ( std::string_view name)
pure virtual

Delete file.

◆ onModify()

virtual void sese::system::FileNotifyOption::onModify ( std::string_view name)
pure virtual

Modify file.

◆ onMove()

virtual void sese::system::FileNotifyOption::onMove ( std::string_view src_name,
std::string_view dst_name )
pure virtual

Move file.


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