mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-20 13:55:37 +00:00
37 lines
571 B
C++
37 lines
571 B
C++
#pragma once
|
|
#ifndef ES_CORE_MAMENAMES_H
|
|
#define ES_CORE_MAMENAMES_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class MameNames
|
|
{
|
|
public:
|
|
|
|
static void init ();
|
|
static void deinit ();
|
|
static MameNames* getInstance();
|
|
std::string getRealName(const std::string& _mameName);
|
|
|
|
private:
|
|
|
|
struct NamePair
|
|
{
|
|
std::string mameName;
|
|
std::string realName;
|
|
};
|
|
|
|
typedef std::vector<NamePair> namePairVector;
|
|
|
|
MameNames();
|
|
~MameNames();
|
|
|
|
static MameNames* sInstance;
|
|
|
|
namePairVector mNamePairs;
|
|
|
|
}; // MameNames
|
|
|
|
#endif // ES_CORE_MAMENAMES_H
|