From cc2b38d41141a939c7ef73c0066418b8d823c681 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 30 Aug 2017 17:11:19 -0400 Subject: Split IFX_Pause out of fx_basic This CL moves IFX_Pause out to its own class from fx_basic and updates includes as needed. Change-Id: Iebdd183d8c85aa17570f190f1a7d1602c0af3c8b Reviewed-on: https://pdfium-review.googlesource.com/12491 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- core/fxcrt/fx_basic.h | 6 ------ core/fxcrt/ifx_pauseindicator.h | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 core/fxcrt/ifx_pauseindicator.h (limited to 'core/fxcrt') diff --git a/core/fxcrt/fx_basic.h b/core/fxcrt/fx_basic.h index 7d3f3291c1..c60f0d367b 100644 --- a/core/fxcrt/fx_basic.h +++ b/core/fxcrt/fx_basic.h @@ -22,12 +22,6 @@ #define FX_IsOdd(a) ((a)&1) #endif // PDF_ENABLE_XFA -class IFX_Pause { - public: - virtual ~IFX_Pause() {} - virtual bool NeedToPauseNow() = 0; -}; - uint32_t GetBits32(const uint8_t* pData, int bitpos, int nbits); #endif // CORE_FXCRT_FX_BASIC_H_ diff --git a/core/fxcrt/ifx_pauseindicator.h b/core/fxcrt/ifx_pauseindicator.h new file mode 100644 index 0000000000..79c6016706 --- /dev/null +++ b/core/fxcrt/ifx_pauseindicator.h @@ -0,0 +1,16 @@ +// Copyright 2017 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_FXCRT_IFX_PAUSEINDICATOR_H_ +#define CORE_FXCRT_IFX_PAUSEINDICATOR_H_ + +class IFX_PauseIndicator { + public: + virtual ~IFX_PauseIndicator() {} + virtual bool NeedToPauseNow() = 0; +}; + +#endif // CORE_FXCRT_IFX_PAUSEINDICATOR_H_ -- cgit v1.2.3