diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-05-28 13:09:35 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-05-28 13:09:35 -0700 |
commit | 6b776fed401f97ce2589a847465280de704b9d7f (patch) | |
tree | 39f484bd9b3282cbd7e5dbd48c784534e29b59c3 /core/include/fpdfdoc | |
parent | 14f57a153dcbc4c5fedeffe12a3b4f915cc5d558 (diff) | |
download | pdfium-6b776fed401f97ce2589a847465280de704b9d7f.tar.xz |
Fix ALL the include guards.
Get rid of leading _CAPITAL identifiers.
A large number of these didn't actually match the filename.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1160443004
Diffstat (limited to 'core/include/fpdfdoc')
-rw-r--r-- | core/include/fpdfdoc/fpdf_ap.h | 7 | ||||
-rw-r--r-- | core/include/fpdfdoc/fpdf_doc.h | 13 | ||||
-rw-r--r-- | core/include/fpdfdoc/fpdf_tagged.h | 8 | ||||
-rw-r--r-- | core/include/fpdfdoc/fpdf_vt.h | 7 |
4 files changed, 19 insertions, 16 deletions
diff --git a/core/include/fpdfdoc/fpdf_ap.h b/core/include/fpdfdoc/fpdf_ap.h index 02bbf249c4..39daf028ac 100644 --- a/core/include/fpdfdoc/fpdf_ap.h +++ b/core/include/fpdfdoc/fpdf_ap.h @@ -4,12 +4,13 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FPDF_AP_H_ -#define _FPDF_AP_H_ +#ifndef CORE_INCLUDE_FPDFDOC_FPDF_AP_H_ +#define CORE_INCLUDE_FPDFDOC_FPDF_AP_H_ #include "../fxcrt/fx_basic.h" #include "../fpdfapi/fpdf_parser.h" #include "fpdf_vt.h" + class IPVT_FontMap { public: @@ -92,4 +93,4 @@ public: static CFX_ByteString GenerateColorAP(const CPVT_Color & color, const FX_BOOL & bFillOrStroke); }; -#endif // _FPDF_AP_H_ +#endif // CORE_INCLUDE_FPDFDOC_FPDF_AP_H_ diff --git a/core/include/fpdfdoc/fpdf_doc.h b/core/include/fpdfdoc/fpdf_doc.h index 31480f90bc..715b79ef42 100644 --- a/core/include/fpdfdoc/fpdf_doc.h +++ b/core/include/fpdfdoc/fpdf_doc.h @@ -4,14 +4,12 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FPDF_DOC_H_ -#define _FPDF_DOC_H_ -#ifndef _FPDF_PARSER_ +#ifndef CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ +#define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ + #include "../fpdfapi/fpdf_parser.h" -#endif -#ifndef _FPDF_RENDER_ #include "../fpdfapi/fpdf_render.h" -#endif + class CPDF_Action; class CPDF_Annot; class CPDF_AnnotList; @@ -1751,4 +1749,5 @@ protected: CPDF_Stream* GetIcon(FX_BSTR csEntry); friend class CPDF_FormControl; }; -#endif + +#endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ diff --git a/core/include/fpdfdoc/fpdf_tagged.h b/core/include/fpdfdoc/fpdf_tagged.h index a5862e0a8f..2c40ac176d 100644 --- a/core/include/fpdfdoc/fpdf_tagged.h +++ b/core/include/fpdfdoc/fpdf_tagged.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FPDF_TAGGED_H_ -#define _FPDF_TAGGED_H_ +#ifndef CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ +#define CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ + class CPDF_StructTree; class CPDF_StructElement; struct CPDF_StructKid; @@ -97,4 +98,5 @@ public: virtual int GetInteger(FX_BSTR owner, FX_BSTR name, int default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0; }; -#endif + +#endif // CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ diff --git a/core/include/fpdfdoc/fpdf_vt.h b/core/include/fpdfdoc/fpdf_vt.h index 18ea709bcf..87ef02576b 100644 --- a/core/include/fpdfdoc/fpdf_vt.h +++ b/core/include/fpdfdoc/fpdf_vt.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FPDF_VT_H_ -#define _FPDF_VT_H_ +#ifndef CORE_INCLUDE_FPDFDOC_FPDF_VT_H_ +#define CORE_INCLUDE_FPDFDOC_FPDF_VT_H_ #include "../fpdfapi/fpdf_parser.h" #include "../fxcrt/fx_basic.h" @@ -448,4 +448,5 @@ public: protected: ~IPDF_VariableText() { } }; -#endif + +#endif // CORE_INCLUDE_FPDFDOC_FPDF_VT_H_ |