mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
41 lines
710 B
C++
41 lines
710 B
C++
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#ifndef _BANNER_LOADER_H_
|
|
#define _BANNER_LOADER_H_
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
#include "Filesystem.h"
|
|
|
|
namespace DiscIO
|
|
{
|
|
class IBannerLoader
|
|
{
|
|
public:
|
|
|
|
IBannerLoader()
|
|
{}
|
|
|
|
|
|
virtual ~IBannerLoader()
|
|
{}
|
|
|
|
|
|
virtual bool IsValid() = 0;
|
|
|
|
virtual std::vector<u32> GetBanner(int* pWidth, int* pHeight) = 0;
|
|
|
|
virtual std::vector<std::string> GetNames() = 0;
|
|
virtual std::string GetCompany() = 0;
|
|
virtual std::vector<std::string> GetDescriptions() = 0;
|
|
};
|
|
|
|
IBannerLoader* CreateBannerLoader(DiscIO::IFileSystem& _rFileSystem, DiscIO::IVolume *pVolume);
|
|
} // namespace
|
|
|
|
#endif
|
|
|