Merge to XFA: Fix ALL the include guards.
[pdfium.git] / core / src / fpdfapi / fpdf_edit / editint.h
index bceba1a..faa23f9 100644 (file)
@@ -1,59 +1,61 @@
-// Copyright 2014 PDFium Authors. All rights reserved.\r
-// Use of this source code is governed by a BSD-style license that can be\r
-// found in the LICENSE file.\r
\r
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com\r
-\r
-#ifndef _FPDF_EDITINT_\r
-#define _FPDF_EDITINT_\r
-class CPDF_ObjectStream : public CFX_Object\r
-{\r
-public:\r
-    CPDF_ObjectStream();\r
-\r
-    FX_BOOL                            Start();\r
-\r
-    FX_INT32                   CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj);\r
-    FX_INT32                   CompressIndirectObject(FX_DWORD dwObjNum, FX_LPCBYTE pBuffer, FX_DWORD dwSize);\r
-\r
-    FX_FILESIZE                        End(CPDF_Creator* pCreator);\r
-\r
-    CFX_DWordArray             m_ObjNumArray;\r
-\r
-    CFX_ByteTextBuf            m_Buffer;\r
-    FX_DWORD                   m_dwObjNum;\r
-    FX_INT32                   m_index;\r
-protected:\r
-\r
-    CFX_DWordArray             m_OffsetArray;\r
-};\r
-class CPDF_XRefStream : public CFX_Object\r
-{\r
-public:\r
-\r
-    CPDF_XRefStream();\r
-\r
-    FX_BOOL                            Start();\r
-\r
-    FX_INT32                   CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj, CPDF_Creator *pCreator);\r
-\r
-    FX_INT32                   CompressIndirectObject(FX_DWORD dwObjNum, FX_LPCBYTE pBuffer, FX_DWORD dwSize, CPDF_Creator *pCreator);\r
-\r
-    FX_BOOL                            End(CPDF_Creator *pCreator, FX_BOOL bEOF = FALSE);\r
-    FX_BOOL                            AddObjectNumberToIndexArray(FX_DWORD objnum);\r
-    FX_BOOL                            EndXRefStream(CPDF_Creator* pCreator);\r
-\r
-\r
-    CFX_DWordArray             m_IndexArray;\r
-\r
-    FX_FILESIZE                        m_PrevOffset;\r
-    FX_DWORD                   m_dwTempObjNum;\r
-\r
-protected:\r
-    FX_INT32                   EndObjectStream(CPDF_Creator *pCreator, FX_BOOL bEOF = TRUE);\r
-    FX_BOOL                            GenerateXRefStream(CPDF_Creator* pCreator, FX_BOOL bEOF);\r
-    FX_INT32                   m_iSeg;\r
-    CPDF_ObjectStream  m_ObjStream;\r
-    CFX_ByteTextBuf            m_Buffer;\r
-};\r
-#endif\r
+// 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 CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_
+#define CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_
+
+class CPDF_ObjectStream 
+{
+public:
+    CPDF_ObjectStream();
+
+    FX_BOOL                            Start();
+
+    FX_INT32                   CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj);
+    FX_INT32                   CompressIndirectObject(FX_DWORD dwObjNum, FX_LPCBYTE pBuffer, FX_DWORD dwSize);
+
+    FX_FILESIZE                        End(CPDF_Creator* pCreator);
+
+    CFX_DWordArray             m_ObjNumArray;
+
+    CFX_ByteTextBuf            m_Buffer;
+    FX_DWORD                   m_dwObjNum;
+    FX_INT32                   m_index;
+protected:
+
+    CFX_DWordArray             m_OffsetArray;
+};
+class CPDF_XRefStream 
+{
+public:
+
+    CPDF_XRefStream();
+
+    FX_BOOL                            Start();
+
+    FX_INT32                   CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj, CPDF_Creator *pCreator);
+
+    FX_INT32                   CompressIndirectObject(FX_DWORD dwObjNum, FX_LPCBYTE pBuffer, FX_DWORD dwSize, CPDF_Creator *pCreator);
+
+    FX_BOOL                            End(CPDF_Creator *pCreator, FX_BOOL bEOF = FALSE);
+    FX_BOOL                            AddObjectNumberToIndexArray(FX_DWORD objnum);
+    FX_BOOL                            EndXRefStream(CPDF_Creator* pCreator);
+
+
+    CFX_DWordArray             m_IndexArray;
+
+    FX_FILESIZE                        m_PrevOffset;
+    FX_DWORD                   m_dwTempObjNum;
+
+protected:
+    FX_INT32                   EndObjectStream(CPDF_Creator *pCreator, FX_BOOL bEOF = TRUE);
+    FX_BOOL                            GenerateXRefStream(CPDF_Creator* pCreator, FX_BOOL bEOF);
+    FX_INT32                   m_iSeg;
+    CPDF_ObjectStream  m_ObjStream;
+    CFX_ByteTextBuf            m_Buffer;
+};
+
+#endif  // CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_