resonance
1.0.1
Loading...
Searching...
No Matches
attachment.h
Go to the documentation of this file.
1
#pragma once
2
24
class
Attachment
{
25
public
:
26
Attachment
() :
mRefs
(1) {
27
}
28
33
virtual
~Attachment
();
34
42
int
Release
();
43
52
virtual
void
Destroy
();
53
65
static
void
ReleaseIfSet
(
Attachment
*pAttachment) {
66
if
(pAttachment !=
nullptr
) {
67
pAttachment->
Release
();
68
}
69
}
70
71
int
mRefs
;
// +0x00
72
};
Attachment::Release
int Release()
Give back one reference and destroy the object once the last one is gone.
Attachment::mRefs
int mRefs
Definition
attachment.h:71
Attachment::~Attachment
virtual ~Attachment()
Attachment::Destroy
virtual void Destroy()
Destroy the object.
Attachment::ReleaseIfSet
static void ReleaseIfSet(Attachment *pAttachment)
Give back one reference to an object that may be null.
Definition
attachment.h:65
Attachment::Attachment
Attachment()
Definition
attachment.h:26
src
app
attachment.h
Generated by
1.15.0