metaforce/Runtime/CMemory.hpp

28 lines
436 B
C++
Raw Normal View History

2015-08-17 05:26:58 +00:00
#ifndef __RETRO_CMEMORY_HPP__
#define __RETRO_CMEMORY_HPP__
namespace Retro
{
2015-08-22 01:58:41 +00:00
class IAllocator;
class COsContext;
2015-08-17 05:26:58 +00:00
class CMemory
{
public:
static void Startup(COsContext&);
static void Shutdown();
static void SetAllocator(COsContext&, IAllocator&);
};
class CMemorySys
{
public:
CMemorySys(COsContext&, IAllocator&);
~CMemorySys();
2015-08-17 20:33:58 +00:00
static IAllocator& GetGameAllocator();
2015-08-17 05:26:58 +00:00
};
}
2015-08-17 05:26:58 +00:00
#endif // __RETRO_CMEMORY_HPP__