From 192e4d969f918e1ec1e79094b6af0235d7be4818 Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Mon, 3 Apr 2017 12:48:00 -0400 Subject: Split fx_dib part 4 - Moved CFX_DIBitmap code to its own cpp file. - Moved CFX_DIBExtractor out from fx_dib.h Change-Id: I7b3fe9c657a350320b7ecb3f005017080491fe29 Reviewed-on: https://pdfium-review.googlesource.com/3591 Commit-Queue: dsinclair Reviewed-by: dsinclair --- core/fxge/dib/cfx_dibextractor.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 core/fxge/dib/cfx_dibextractor.h (limited to 'core/fxge/dib/cfx_dibextractor.h') diff --git a/core/fxge/dib/cfx_dibextractor.h b/core/fxge/dib/cfx_dibextractor.h new file mode 100644 index 0000000000..25d80ecb94 --- /dev/null +++ b/core/fxge/dib/cfx_dibextractor.h @@ -0,0 +1,26 @@ +// 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_FXGE_DIB_CFX_DIBEXTRACTOR_H_ +#define CORE_FXGE_DIB_CFX_DIBEXTRACTOR_H_ + +#include "core/fxcrt/cfx_retain_ptr.h" +#include "core/fxge/dib/cfx_dibitmap.h" + +class CFX_DIBSource; + +class CFX_DIBExtractor { + public: + explicit CFX_DIBExtractor(const CFX_RetainPtr& pSrc); + ~CFX_DIBExtractor(); + + CFX_RetainPtr GetBitmap() { return m_pBitmap; } + + private: + CFX_RetainPtr m_pBitmap; +}; + +#endif // CORE_FXGE_DIB_CFX_DIBEXTRACTOR_H_ -- cgit v1.2.3