prime/include/Kyoto/CToken.hpp

23 lines
347 B
C++

#ifndef _CTOKEN_HPP
#define _CTOKEN_HPP
#include "types.h"
#include "Kyoto/IObjectStore.hpp"
class CToken {
public:
CToken() {}
CToken(IObj* obj) : x0_objRef(new CObjectReference(obj)), x4_lockHeld(false) {}
CToken(const CToken& other);
~CToken();
void Lock();
private:
CObjectReference* x0_objRef;
bool x4_lockHeld;
};
#endif