FX Bool considered harmful, part 3
[pdfium.git] / fpdfsdk / include / fsdk_rendercontext.h
index c33dfdd..8945d18 100644 (file)
@@ -1,41 +1,43 @@
-// 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 _RENDERCONTENT_H_\r
-#define _RENDERCONTENT_H_\r
-#include "../include/fsdk_define.h"\r
-#include "../include/fpdf_progressive.h"\r
-\r
-// Everything about rendering is put here: for OOM recovery\r
-class CRenderContext : public CFX_Object\r
-{\r
-public:\r
-       CRenderContext() { Clear(); }\r
-       ~CRenderContext();\r
-       \r
-       void Clear();\r
-       \r
-       CFX_RenderDevice*               m_pDevice;\r
-       CPDF_RenderContext*             m_pContext;\r
-       CPDF_ProgressiveRenderer*       m_pRenderer;\r
-       CPDF_AnnotList*                 m_pAnnots;\r
-       CPDF_RenderOptions*             m_pOptions;\r
-#ifdef _WIN32_WCE\r
-       CFX_DIBitmap*   m_pBitmap;\r
-       HBITMAP                 m_hBitmap;\r
-#endif\r
-};\r
-\r
-class IFSDK_PAUSE_Adapter : public IFX_Pause\r
-{\r
-public:\r
-       IFSDK_PAUSE_Adapter(IFSDK_PAUSE* IPause );\r
-       FX_BOOL NeedToPauseNow();\r
-       \r
-private:\r
-       IFSDK_PAUSE* m_IPause;\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 FPDFSDK_INCLUDE_FSDK_RENDERCONTEXT_H_
+#define FPDFSDK_INCLUDE_FSDK_RENDERCONTEXT_H_
+
+#include "../../public/fpdf_progressive.h"
+#include "fsdk_define.h"
+
+// Everything about rendering is put here: for OOM recovery
+class CRenderContext
+{
+public:
+       CRenderContext() { Clear(); }
+       ~CRenderContext();
+
+       void Clear();
+
+       CFX_RenderDevice*               m_pDevice;
+       CPDF_RenderContext*             m_pContext;
+       CPDF_ProgressiveRenderer*       m_pRenderer;
+       CPDF_AnnotList*                 m_pAnnots;
+       CPDF_RenderOptions*             m_pOptions;
+#ifdef _WIN32_WCE
+       CFX_DIBitmap*   m_pBitmap;
+       HBITMAP                 m_hBitmap;
+#endif
+};
+
+class IFSDK_PAUSE_Adapter : public IFX_Pause
+{
+public:
+       IFSDK_PAUSE_Adapter(IFSDK_PAUSE* IPause );
+       bool NeedToPauseNow();
+
+private:
+       IFSDK_PAUSE* m_IPause;
+};
+
+#endif  // FPDFSDK_INCLUDE_FSDK_RENDERCONTEXT_H_