summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r--core/include/fpdfapi/fpdf_objects.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h
index a41ff087ca..1b7cb94583 100644
--- a/core/include/fpdfapi/fpdf_objects.h
+++ b/core/include/fpdfapi/fpdf_objects.h
@@ -49,6 +49,11 @@ public:
return m_ObjNum;
}
+ FX_DWORD GetGenNum() const
+ {
+ return m_GenNum;
+ }
+
FX_BOOL IsIdentical(CPDF_Object* pObj) const;
CPDF_Object* Clone(FX_BOOL bDirect = FALSE) const;
@@ -90,9 +95,11 @@ protected:
CPDF_Object()
{
m_ObjNum = 0;
+ m_GenNum = 0;
}
FX_DWORD m_ObjNum;
+ FX_DWORD m_GenNum;
void Destroy();