mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-06 03:22:39 +08:00
21 lines
280 B
C++
21 lines
280 B
C++
#pragma once
|
|
|
|
namespace se {
|
|
|
|
class Ref
|
|
{
|
|
public:
|
|
void addRef();
|
|
void release();
|
|
unsigned int getReferenceCount();
|
|
|
|
protected:
|
|
Ref();
|
|
virtual ~Ref();
|
|
|
|
private:
|
|
unsigned int _refCount;
|
|
};
|
|
|
|
} // namespace se {
|