mirror of https://github.com/AxioDL/metaforce.git
28 lines
436 B
C++
28 lines
436 B
C++
#ifndef __RETRO_CMEMORY_HPP__
|
|
#define __RETRO_CMEMORY_HPP__
|
|
|
|
namespace Retro
|
|
{
|
|
class IAllocator;
|
|
class COsContext;
|
|
|
|
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__
|