mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
* Initial commit.
:)
This commit is contained in:
17
source/Sound/SoundRepository.hpp
Normal file
17
source/Sound/SoundRepository.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user