⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filesystemfactory.cpp

📁 使用stl技术,(还没看,是听说的)
💻 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 + -