mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2024-06-08 12:29:29 +00:00
23 lines
332 B
C
23 lines
332 B
C
|
#ifndef MEMROLE_H
|
||
|
#define MEMROLE_H
|
||
|
|
||
|
class MemoryCell;
|
||
|
|
||
|
class MemRole
|
||
|
{
|
||
|
public:
|
||
|
MemRole();
|
||
|
virtual ~MemRole();
|
||
|
|
||
|
virtual int id() const = 0;
|
||
|
|
||
|
void setParent(MemoryCell *parent);
|
||
|
MemoryCell *parent( ) const { return m_parent; }
|
||
|
|
||
|
protected:
|
||
|
MemoryCell *m_parent;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // MEMROLE_H
|