summaryrefslogtreecommitdiff
path: root/core/fxcodec/bmp/cfx_bmpcontext.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-02-06 16:55:14 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-06 16:55:14 +0000
commitb5a2d14e21c0f149be49e06141549b185a5c7993 (patch)
tree7816907618e24262caf7f24bd2ec36d6dd9eaa7e /core/fxcodec/bmp/cfx_bmpcontext.h
parent41441c9da88210376a87c4d03d71232b390b7cee (diff)
downloadpdfium-b5a2d14e21c0f149be49e06141549b185a5c7993.tar.xz
Extract classes in fx_bmp.h into their own files
BUG=chromium:808336 Change-Id: I3201805a374b5403149eca701714ef4369a2e337 Reviewed-on: https://pdfium-review.googlesource.com/25630 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcodec/bmp/cfx_bmpcontext.h')
-rw-r--r--core/fxcodec/bmp/cfx_bmpcontext.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/core/fxcodec/bmp/cfx_bmpcontext.h b/core/fxcodec/bmp/cfx_bmpcontext.h
new file mode 100644
index 0000000000..198d080fb8
--- /dev/null
+++ b/core/fxcodec/bmp/cfx_bmpcontext.h
@@ -0,0 +1,24 @@
+// Copyright 2018 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_FXCODEC_BMP_CFX_BMPCONTEXT_H_
+#define CORE_FXCODEC_BMP_CFX_BMPCONTEXT_H_
+
+#include "core/fxcodec/bmp/cfx_bmpdecompressor.h"
+#include "core/fxcodec/bmp/fx_bmp.h"
+
+class CFX_BmpContext : public CCodec_BmpModule::Context {
+ public:
+ CFX_BmpContext(CCodec_BmpModule* pModule,
+ CCodec_BmpModule::Delegate* pDelegate);
+ ~CFX_BmpContext() override;
+
+ CFX_BmpDecompressor m_Bmp;
+ UnownedPtr<CCodec_BmpModule> const m_pModule;
+ UnownedPtr<CCodec_BmpModule::Delegate> const m_pDelegate;
+};
+
+#endif // CORE_FXCODEC_BMP_CFX_BMPCONTEXT_H_