3
0
Fork 0
forked from suyu/suyu

vfs: Fix documentation

This commit is contained in:
Zach Hilman 2018-08-08 21:44:59 -04:00
parent 94cf327e77
commit 668458525e
2 changed files with 4 additions and 2 deletions

View file

@ -31,8 +31,8 @@ enum class VfsEntryType {
Directory, Directory,
}; };
// A class representing an abstract filesystem. A default implementation given the root VirtualDir is // A class representing an abstract filesystem. A default implementation given the root VirtualDir
// provided for convenience, but if the Vfs implementation has any additional state or // is provided for convenience, but if the Vfs implementation has any additional state or
// functionality, they will need to override. // functionality, they will need to override.
struct VfsFilesystem : NonCopyable { struct VfsFilesystem : NonCopyable {
VfsFilesystem(VirtualDir root); VfsFilesystem(VirtualDir root);

View file

@ -82,6 +82,8 @@ static void ShowCalloutMessage(const QString& message, CalloutFlag flag) {
void GMainWindow::ShowCallouts() {} void GMainWindow::ShowCallouts() {}
const int GMainWindow::max_recent_files_item;
GMainWindow::GMainWindow() GMainWindow::GMainWindow()
: config(new Config()), emu_thread(nullptr), : config(new Config()), emu_thread(nullptr),
vfs(std::make_shared<FileSys::RealVfsFilesystem>()) { vfs(std::make_shared<FileSys::RealVfsFilesystem>()) {