25 lines
266 B
C++
25 lines
266 B
C++
#pragma once
|
|
|
|
#include "Engine_Define.h"
|
|
|
|
NS_BEGIN(Engine)
|
|
|
|
class ENGINE_DLL CBase abstract
|
|
{
|
|
|
|
protected:
|
|
CBase();
|
|
virtual ~CBase() = default;
|
|
|
|
public:
|
|
_uint AddRef();
|
|
_uint Release();
|
|
|
|
protected:
|
|
_uint m_iRefCnt = {};
|
|
|
|
public:
|
|
virtual void Free();
|
|
};
|
|
|
|
NS_END |