summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/fpdfapi/fpdf_page/pageint.h5
-rw-r--r--core/src/fpdfdoc/pdf_vt.h4
-rw-r--r--core/src/fxge/dib/dib_int.h7
-rw-r--r--core/src/fxge/ge/text_int.h5
4 files changed, 20 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_page/pageint.h b/core/src/fpdfapi/fpdf_page/pageint.h
index 4e097ca49e..52aded078c 100644
--- a/core/src/fpdfapi/fpdf_page/pageint.h
+++ b/core/src/fpdfapi/fpdf_page/pageint.h
@@ -4,6 +4,9 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#ifndef _PAGEINT_H_
+#define _PAGEINT_H_
+
#include "../../../include/fpdfapi/fpdf_pageobj.h"
#define PARSE_STEP_LIMIT 100
#define STREAM_PARSE_BUFSIZE 20480
@@ -503,3 +506,5 @@ public:
protected:
CFX_MapByteStringToPtr m_NamingCache;
};
+
+#endif // _PAGEINT_H_
diff --git a/core/src/fpdfdoc/pdf_vt.h b/core/src/fpdfdoc/pdf_vt.h
index 09ed0b0317..8fc9c7c099 100644
--- a/core/src/fpdfdoc/pdf_vt.h
+++ b/core/src/fpdfdoc/pdf_vt.h
@@ -4,7 +4,9 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#ifndef _PDF_VT_H_
#define _PDF_VT_H_
+
class CPVT_Size;
class CPVT_FloatRect;
struct CPVT_SectionInfo;
@@ -637,3 +639,5 @@ private:
CPVT_WordPlace m_CurPos;
CPDF_VariableText * m_pVT;
};
+
+#endif // _PDF_VT_H_
diff --git a/core/src/fxge/dib/dib_int.h b/core/src/fxge/dib/dib_int.h
index 1e6d82ea86..19dc358133 100644
--- a/core/src/fxge/dib/dib_int.h
+++ b/core/src/fxge/dib/dib_int.h
@@ -1,9 +1,12 @@
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
+
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#ifndef _DIB_INT_H_
+#define _DIB_INT_H_
+
class CPDF_FixedMatrix : public CFX_Object
{
public:
@@ -86,3 +89,5 @@ public:
void StretchVert();
int m_State;
};
+
+#endif // _DIB_INT_H_
diff --git a/core/src/fxge/ge/text_int.h b/core/src/fxge/ge/text_int.h
index a3c9417bfc..c8d55965e3 100644
--- a/core/src/fxge/ge/text_int.h
+++ b/core/src/fxge/ge/text_int.h
@@ -4,6 +4,9 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#ifndef _TEXT_INT_H_
+#define _TEXT_INT_H_
+
struct _CFX_UniqueKeyGen {
void Generate(int count, ...);
FX_CHAR m_Key[128];
@@ -98,3 +101,5 @@ public:
int m_PitchFamily;
CFX_ByteString m_FontTables;
};
+
+#endif // _TEXT_INT_H_