-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] : add demo boost file system proto
[ADD] : add github actions jobs for all the File System Interfaces
- Loading branch information
Showing
7 changed files
with
201 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#pragma once | ||
|
||
#include <ImGuiFileDialog/ImGuiFileDialog.h> | ||
#include <boost/filesystem.hpp> | ||
|
||
class FileSystemBoost : public IGFD::IFileSystem { | ||
public: | ||
bool IsDirectoryCanBeOpened(const std::string& vName) override { | ||
return false; | ||
} | ||
bool IsDirectoryExist(const std::string& vName) override { | ||
return false; | ||
} | ||
bool CreateDirectoryIfNotExist(const std::string& vName) override { | ||
return false; | ||
} | ||
std::vector<std::string> GetDrivesList() override { | ||
std::vector<std::string> res; | ||
return res; | ||
} | ||
|
||
IGFD::Utils::PathStruct ParsePathFileName(const std::string& vPathFileName) override { | ||
IGFD::Utils::PathStruct res; | ||
return res; | ||
} | ||
|
||
std::vector<IGFD::FileInfos> ScanDirectory(const std::string& vPath) override { | ||
std::vector<IGFD::FileInfos> res; | ||
return res; | ||
} | ||
bool IsDirectory(const std::string& vFilePathName) override { | ||
return false; | ||
} | ||
}; | ||
|
||
#define FILE_SYSTEM_OVERRIDE FileSystemBoost |