mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-04 14:09:47 +03:00
* Mac OS X 10.6 & More C++03 Support * Fix SDL2 options.txt loading for C++03 --------- Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
26 lines
626 B
C++
26 lines
626 B
C++
/********************************************************************
|
|
Minecraft: Pocket Edition - Decompilation Project
|
|
Copyright (C) 2023 iProgramInCpp
|
|
|
|
The following code is licensed under the BSD 1 clause license.
|
|
SPDX-License-Identifier: BSD-1-Clause
|
|
********************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
#include "SoundData.hpp"
|
|
|
|
class SoundRepository
|
|
{
|
|
public:
|
|
void add(const std::string& name, SoundDesc& sd);
|
|
bool get(const std::string& name, SoundDesc& sd);
|
|
|
|
public:
|
|
std::map<std::string, std::vector<SoundDesc> > m_repo;
|
|
};
|
|
|