📄 filesystemfactory.cpp
字号:
#include "FileSystemFactory.h"
#include "FileSystem.h"
namespace Ogre {
FileSystemFactory::~FileSystemFactory()
{
}
//-----------------------------------------------------------------------
String FileSystemFactory::getArchiveType(void) const
{
return "FileSystem";
}
//-----------------------------------------------------------------------
ArchiveEx* FileSystemFactory::createArchive(const String& name)
{
return new FileSystem(name);
}
String FileSystemFactory::getType() const
{
return "FileSystem";
}
ArchiveEx *FileSystemFactory::createObj( const String& name)
{
return new FileSystem(name);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -