InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
GRRefCountedObj.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: ?
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//========================================================================================
23
24
#ifndef __REFCOUNTEDOBJ__
25
#define __REFCOUNTEDOBJ__
26
27
#ifndef _BASETYPE_
28
#include "BaseType.h"
29
#endif
30
31
45
class
grRefCountedObj
46
{
47
public
:
51
grRefCountedObj
() : fRefCount(1)
52
{}
53
57
virtual
~grRefCountedObj
() = 0;
58
62
virtual
void
AddRef
()
const
;
63
67
virtual
void
Release
()
const
;
68
69
protected
:
70
mutable
int32 fRefCount;
71
72
private
:
73
// not defined
74
grRefCountedObj
(
const
grRefCountedObj
&obj);
75
grRefCountedObj
&operator=(
const
grRefCountedObj
&obj);
76
};
77
78
79
#endif
tmpdoxygeninput
GRRefCountedObj.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1