2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-06 07:37:58 +00:00
metaforce/Runtime/CMemory.hpp
2015-08-18 12:51:54 -10:00

29 lines
453 B
C++

#ifndef __RETRO_CMEMORY_HPP__
#define __RETRO_CMEMORY_HPP__
#include "IAllocator.hpp"
#include "COsContext.hpp"
namespace Retro
{
class CMemory
{
public:
static void Startup(COsContext&);
static void Shutdown();
static void SetAllocator(COsContext&, IAllocator&);
};
class CMemorySys
{
public:
CMemorySys(COsContext&, IAllocator&);
~CMemorySys();
static IAllocator& GetGameAllocator();
};
}
#endif // __RETRO_CMEMORY_HPP__