8#ifndef GALAXY_RESOURCE_MEDIA_HPP_
9#define GALAXY_RESOURCE_MEDIA_HPP_
11#include "galaxy/media/Sound.hpp"
12#include "galaxy/media/Video.hpp"
16#ifdef GALAXY_WIN_PLATFORM
18#pragma warning(disable : 26434)
39 std::unique_ptr<media::Sound>
operator()(
const std::string& file);
56 std::unique_ptr<media::Sound>
operator()(
const std::string& file);
73 std::unique_ptr<media::Sound>
operator()(
const std::string& file);
98#ifdef GALAXY_WIN_PLATFORM
Cache for resources such as audio, fonts, etc.
Loads resources for a resource cache.
Loads resources for the music cache.
std::unique_ptr< media::Sound > operator()(const std::string &file)
Overloaded operator() used to load a resource.
Loads resources for the sound cache.
std::unique_ptr< media::Sound > operator()(const std::string &file)
Overloaded operator() used to load a resource.
Loads resources for the voice cache.
std::unique_ptr< media::Sound > operator()(const std::string &file)
Overloaded operator() used to load a resource.