From 6b776fed401f97ce2589a847465280de704b9d7f Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 28 May 2015 13:09:35 -0700 Subject: 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 --- fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h | 6 +++--- fpdfsdk/include/formfiller/FFL_CheckBox.h | 6 +++--- fpdfsdk/include/formfiller/FFL_ComboBox.h | 8 +++----- fpdfsdk/include/formfiller/FFL_FormFiller.h | 8 +++----- fpdfsdk/include/formfiller/FFL_IFormFiller.h | 7 ++++--- fpdfsdk/include/formfiller/FFL_ListBox.h | 7 +++---- fpdfsdk/include/formfiller/FFL_Notify.h | 7 +++---- fpdfsdk/include/formfiller/FFL_PushButton.h | 7 +++---- fpdfsdk/include/formfiller/FFL_RadioButton.h | 7 +++---- fpdfsdk/include/formfiller/FFL_TextField.h | 6 +++--- fpdfsdk/include/formfiller/FFL_Utils.h | 6 +++--- fpdfsdk/include/formfiller/FormFiller.h | 6 +++--- 12 files changed, 37 insertions(+), 44 deletions(-) (limited to 'fpdfsdk/include/formfiller') diff --git a/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h b/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h index 8601b98194..5e596657ec 100644 --- a/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h +++ b/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _RAO_FONTMAP_H_ -#define _RAO_FONTMAP_H_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_ #include "../pdfwindow/PWL_FontMap.h" @@ -47,4 +47,4 @@ private: CFX_ByteString m_sAPType; }; -#endif // _RAO_FONTMAP_H_ +#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_ diff --git a/fpdfsdk/include/formfiller/FFL_CheckBox.h b/fpdfsdk/include/formfiller/FFL_CheckBox.h index 240e748ea3..bac1b9394b 100644 --- a/fpdfsdk/include/formfiller/FFL_CheckBox.h +++ b/fpdfsdk/include/formfiller/FFL_CheckBox.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FFL_CHECKBOX_H_ -#define _FFL_CHECKBOX_H_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_CHECKBOX_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FFL_CHECKBOX_H_ #include "FFL_FormFiller.h" @@ -25,5 +25,5 @@ public: virtual void SaveData(CPDFSDK_PageView* pPageView); }; -#endif //_FFL_CHECKBOX_H_ +#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_CHECKBOX_H_ diff --git a/fpdfsdk/include/formfiller/FFL_ComboBox.h b/fpdfsdk/include/formfiller/FFL_ComboBox.h index e9b88508ff..52fcebdf98 100644 --- a/fpdfsdk/include/formfiller/FFL_ComboBox.h +++ b/fpdfsdk/include/formfiller/FFL_ComboBox.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FFL_COMBOBOX_H_ -#define _FFL_COMBOBOX_H_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ #include "../../../core/include/fxcrt/fx_string.h" #include "FFL_FormFiller.h" @@ -67,8 +67,6 @@ private: private: CBA_FontMap* m_pFontMap; FFL_ComboBoxState m_State; - //CFFL_IM_BOX m_IMBox; }; -#endif //_FFL_COMBOBOX_H_ - +#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ diff --git a/fpdfsdk/include/formfiller/FFL_FormFiller.h b/fpdfsdk/include/formfiller/FFL_FormFiller.h index 7a3402a7f9..25929e4324 100644 --- a/fpdfsdk/include/formfiller/FFL_FormFiller.h +++ b/fpdfsdk/include/formfiller/FFL_FormFiller.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FFL_FORMFILLER_H_ -#define _FFL_FORMFILLER_H_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ #include "FFL_IFormFiller.h" #include "FFL_CBA_Fontmap.h" @@ -173,6 +173,4 @@ protected: FX_BOOL m_bMouseDown; }; -//#define CFFL_IM_BOX CFX_ArrayTemplate - -#endif +#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ diff --git a/fpdfsdk/include/formfiller/FFL_IFormFiller.h b/fpdfsdk/include/formfiller/FFL_IFormFiller.h index 393f0be331..cccf84f7b4 100644 --- a/fpdfsdk/include/formfiller/FFL_IFormFiller.h +++ b/fpdfsdk/include/formfiller/FFL_IFormFiller.h @@ -4,10 +4,11 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FFL_IFORMFILLER_H_ -#define _FFL_IFORMFILLER_H_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ #include "FormFiller.h" + class CFFL_FormFiller; class CFFL_PrivateData; @@ -140,5 +141,5 @@ public: int nValueAge; }; -#endif //_FFL_IFORMFILLER_H_ +#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ diff --git a/fpdfsdk/include/formfiller/FFL_ListBox.h b/fpdfsdk/include/formfiller/FFL_ListBox.h index 03f71df5b9..b95ad725c2 100644 --- a/fpdfsdk/include/formfiller/FFL_ListBox.h +++ b/fpdfsdk/include/formfiller/FFL_ListBox.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FFL_LISTBOX_H_ -#define _FFL_LISTBOX_H_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_LISTBOX_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FFL_LISTBOX_H_ #include "FFL_FormFiller.h" @@ -43,5 +43,4 @@ private: }; -#endif //_FFL_LISTBOX_H_ - +#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_LISTBOX_H_ diff --git a/fpdfsdk/include/formfiller/FFL_Notify.h b/fpdfsdk/include/formfiller/FFL_Notify.h index 1828d97983..d1f43411ee 100644 --- a/fpdfsdk/include/formfiller/FFL_Notify.h +++ b/fpdfsdk/include/formfiller/FFL_Notify.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FFL_NOTIFY_H_ -#define _FFL_NOTIFY_H_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_NOTIFY_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FFL_NOTIFY_H_ #include "../../../core/include/fpdfdoc/fpdf_doc.h" #include "../../../core/include/fxcrt/fx_string.h" @@ -52,5 +52,4 @@ private: FX_INT32 m_nNotifyFlag; }; -#endif - +#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_NOTIFY_H_ diff --git a/fpdfsdk/include/formfiller/FFL_PushButton.h b/fpdfsdk/include/formfiller/FFL_PushButton.h index 5d115c0771..4cf61a82d0 100644 --- a/fpdfsdk/include/formfiller/FFL_PushButton.h +++ b/fpdfsdk/include/formfiller/FFL_PushButton.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FFL_PUSHBUTTON_H_ -#define _FFL_PUSHBUTTON_H_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_PUSHBUTTON_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FFL_PUSHBUTTON_H_ #include "FFL_FormFiller.h" @@ -23,5 +23,4 @@ public: FX_DWORD dwFlags); }; -#endif //_FFL_PUSHBUTTON_H_ - +#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_PUSHBUTTON_H_ diff --git a/fpdfsdk/include/formfiller/FFL_RadioButton.h b/fpdfsdk/include/formfiller/FFL_RadioButton.h index 2049a45345..8dba93307a 100644 --- a/fpdfsdk/include/formfiller/FFL_RadioButton.h +++ b/fpdfsdk/include/formfiller/FFL_RadioButton.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FFL_RADIOBUTTON_H_ -#define _FFL_RADIOBUTTON_H_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_RADIOBUTTON_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FFL_RADIOBUTTON_H_ #include "FFL_FormFiller.h" @@ -23,5 +23,4 @@ public: virtual void SaveData(CPDFSDK_PageView* pPageView); }; -#endif //_FFL_RADIOBUTTON_H_ - +#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_RADIOBUTTON_H_ diff --git a/fpdfsdk/include/formfiller/FFL_TextField.h b/fpdfsdk/include/formfiller/FFL_TextField.h index 58ac5943eb..2525077b1e 100644 --- a/fpdfsdk/include/formfiller/FFL_TextField.h +++ b/fpdfsdk/include/formfiller/FFL_TextField.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#if !defined(AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDED_) -#define AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDED_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ #include "FFL_FormFiller.h" @@ -70,4 +70,4 @@ private: }; -#endif // !defined(AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDED_) +#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ diff --git a/fpdfsdk/include/formfiller/FFL_Utils.h b/fpdfsdk/include/formfiller/FFL_Utils.h index e64cce9ea4..ff06a347e8 100644 --- a/fpdfsdk/include/formfiller/FFL_Utils.h +++ b/fpdfsdk/include/formfiller/FFL_Utils.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FFL_UTILS_H_ -#define _FFL_UTILS_H_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_UTILS_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FFL_UTILS_H_ #include "../../../core/include/fpdfapi/fpdf_parser.h" #include "../../../core/include/fxcrt/fx_memory.h" @@ -21,4 +21,4 @@ public: static FX_BOOL TraceObject(CPDF_Object* pObj); }; -#endif // _FFL_UTILS_H_ +#endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_UTILS_H_ diff --git a/fpdfsdk/include/formfiller/FormFiller.h b/fpdfsdk/include/formfiller/FormFiller.h index d8df542179..fdca1ff940 100644 --- a/fpdfsdk/include/formfiller/FormFiller.h +++ b/fpdfsdk/include/formfiller/FormFiller.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef FORMFILLER_H_ -#define FORMFILLER_H_ +#ifndef FPDFSDK_INCLUDE_FORMFILLER_FORMFILLER_H_ +#define FPDFSDK_INCLUDE_FORMFILLER_FORMFILLER_H_ #include "../../../core/include/fpdfapi/fpdf_module.h" #include "../../../core/include/fpdfdoc/fpdf_doc.h" @@ -15,4 +15,4 @@ #include "../fxedit/fx_edit.h" #include "../pdfwindow/IPDFWindow.h" -#endif // FORMFILLER_H_ +#endif // FPDFSDK_INCLUDE_FORMFILLER_FORMFILLER_H_ -- cgit v1.2.3