diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-30 14:01:31 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-30 18:35:59 +0000 |
commit | ddb7016e69d99bb9355420b49a0ee864e2b7fe15 (patch) | |
tree | 03017f5f00da434b73d4ecc9e0823f9a609084fd /xfa/fde/cfx_chariter.h | |
parent | 677329c9fa9f4f9e1a06f15e8d33d8a734cc5349 (diff) | |
download | pdfium-ddb7016e69d99bb9355420b49a0ee864e2b7fe15.tar.xz |
Move CFX files into fxcrt
This Cl moves more of the CFX classes defined in the xfa/ directory to
the core/fxcrt directory and conditionally builds them.
Change-Id: I811e6c6acd31dfbe75b49880be43661f78334013
Reviewed-on: https://pdfium-review.googlesource.com/3372
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/cfx_chariter.h')
-rw-r--r-- | xfa/fde/cfx_chariter.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/xfa/fde/cfx_chariter.h b/xfa/fde/cfx_chariter.h deleted file mode 100644 index ab554b2716..0000000000 --- a/xfa/fde/cfx_chariter.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2016 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 XFA_FDE_CFX_CHARITER_H_ -#define XFA_FDE_CFX_CHARITER_H_ - -#include "core/fxcrt/fx_string.h" -#include "core/fxcrt/fx_system.h" -#include "xfa/fde/ifx_chariter.h" - -class CFX_CharIter : public IFX_CharIter { - public: - explicit CFX_CharIter(const CFX_WideString& wsText); - ~CFX_CharIter() override; - - bool Next(bool bPrev = false) override; - wchar_t GetChar() override; - void SetAt(int32_t nIndex) override; - int32_t GetAt() const override; - bool IsEOF(bool bTail = true) const override; - IFX_CharIter* Clone() override; - - private: - const CFX_WideString& m_wsText; - int32_t m_nIndex; -}; - -#endif // XFA_FDE_CFX_CHARITER_H_ |