mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Update efsw and SOIL2.
This commit is contained in:
2
src/thirdparty/SOIL2
vendored
2
src/thirdparty/SOIL2
vendored
Submodule src/thirdparty/SOIL2 updated: e9ae69d4aa...9b7d218b20
2
src/thirdparty/efsw
vendored
2
src/thirdparty/efsw
vendored
Submodule src/thirdparty/efsw updated: 22f17a0bcd...e937840e62
@@ -30,7 +30,7 @@ static inline bool endsWithSlash( const std::string& dir ) {
|
||||
|
||||
void FileSystemListener::handleFileAction( efsw::WatchID, const std::string& dir,
|
||||
const std::string& filename, efsw::Action action,
|
||||
std::string oldFilename ) {
|
||||
const std::string& oldFilename ) {
|
||||
FileInfo file( ( endsWithSlash( dir ) ? dir : ( dir + FileSystem::getOSSlash() ) ) + filename );
|
||||
|
||||
switch ( action ) {
|
||||
|
||||
@@ -28,7 +28,7 @@ class FileSystemListener : public efsw::FileWatchListener {
|
||||
virtual ~FileSystemListener() {}
|
||||
|
||||
void handleFileAction( efsw::WatchID, const std::string& dir, const std::string& filename,
|
||||
efsw::Action action, std::string oldFilename );
|
||||
efsw::Action action, const std::string& oldFilename );
|
||||
|
||||
void setFileSystemModel( std::shared_ptr<FileSystemModel> model ) { mFileSystemModel = model; }
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ class UpdateListener : public efsw::FileWatchListener {
|
||||
virtual ~UpdateListener() {}
|
||||
|
||||
void handleFileAction( efsw::WatchID, const std::string& dir, const std::string& filename,
|
||||
efsw::Action action, std::string ) {
|
||||
efsw::Action action, const std::string& ) {
|
||||
if ( action == efsw::Actions::Modified ) {
|
||||
if ( dir + filename == mApp->getCurrentLayout() ) {
|
||||
mApp->updateLayoutFunc( InvalidationType::FileSystem );
|
||||
|
||||
Reference in New Issue
Block a user