/*****
 FILE
 	cmemory.h - header file for CMemory class
 VERSION
	$Id$
 CHANGELOG
 	$Log$
 */

#if !defined(CMEMORY_H_INCLUDED)
#define CMEMORY_H_INCLUDED

#include <coconut/cobject.h>
#include <coconut/pmemory.h>
#include <coconut/pallocator.h>

@interface CMemory : CObject <PMemory>
{
	id <PAllocator>	mem_allocator ;
	byte *		mem_ptr ;
	size_t		mem_size ;
}

- initMemory: (id <PAllocator>) alloc ;
- initMemoryWithPage: (size_t) unit ;

@end

#endif /* !defined(CMEMORY_H_INCLUDED) */

