2013-04-18 06:09:55 +03:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 06:46:09 +02:00
|
|
|
|
2014-02-10 20:54:46 +02:00
|
|
|
#pragma once
|
2008-12-08 06:46:09 +02:00
|
|
|
|
2013-03-03 03:46:55 +02:00
|
|
|
#include <string>
|
2014-02-17 12:18:15 +02:00
|
|
|
#include <vector>
|
2013-03-03 03:46:55 +02:00
|
|
|
|
2014-02-21 02:47:53 +02:00
|
|
|
#include "Common/CommonTypes.h"
|
2008-12-08 06:46:09 +02:00
|
|
|
|
|
|
|
namespace DiscIO
|
|
|
|
{
|
2014-02-21 02:47:53 +02:00
|
|
|
|
|
|
|
class IFileSystem;
|
|
|
|
class IVolume;
|
|
|
|
|
2008-12-08 06:46:09 +02:00
|
|
|
class IBannerLoader
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
IBannerLoader()
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
virtual ~IBannerLoader()
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
virtual bool IsValid() = 0;
|
|
|
|
|
2013-09-25 10:05:36 +03:00
|
|
|
virtual std::vector<u32> GetBanner(int* pWidth, int* pHeight) = 0;
|
2008-12-08 06:46:09 +02:00
|
|
|
|
2013-03-03 03:46:55 +02:00
|
|
|
virtual std::vector<std::string> GetNames() = 0;
|
|
|
|
virtual std::string GetCompany() = 0;
|
|
|
|
virtual std::vector<std::string> GetDescriptions() = 0;
|
2008-12-08 06:46:09 +02:00
|
|
|
};
|
|
|
|
|
2009-06-07 05:54:07 +03:00
|
|
|
IBannerLoader* CreateBannerLoader(DiscIO::IFileSystem& _rFileSystem, DiscIO::IVolume *pVolume);
|
2014-02-21 02:47:53 +02:00
|
|
|
|
|
|
|
} // namespace DiscIO
|