summaryrefslogtreecommitdiff
path: root/xfa/src/fgas/src/crt
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fgas/src/crt')
-rw-r--r--xfa/src/fgas/src/crt/fx_algorithm.cpp4
-rw-r--r--xfa/src/fgas/src/crt/fx_codepage.cpp2
-rw-r--r--xfa/src/fgas/src/crt/fx_encode.cpp1
-rw-r--r--xfa/src/fgas/src/crt/fx_memory.cpp5
-rw-r--r--xfa/src/fgas/src/crt/fx_stream.cpp1
-rw-r--r--xfa/src/fgas/src/crt/fx_system.cpp3
-rw-r--r--xfa/src/fgas/src/crt/fx_utils.cpp4
-rw-r--r--xfa/src/fgas/src/crt/fx_utils.h3
8 files changed, 14 insertions, 9 deletions
diff --git a/xfa/src/fgas/src/crt/fx_algorithm.cpp b/xfa/src/fgas/src/crt/fx_algorithm.cpp
index 7a6cae8727..3d1f58a9e7 100644
--- a/xfa/src/fgas/src/crt/fx_algorithm.cpp
+++ b/xfa/src/fgas/src/crt/fx_algorithm.cpp
@@ -4,10 +4,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/src/fgas/src/fgas_base.h"
+#include "core/include/fxcrt/fx_basic.h"
+
#ifdef __cplusplus
extern "C" {
#endif
+
const static FX_CHAR g_FXBase64EncoderMap[64] = {
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
diff --git a/xfa/src/fgas/src/crt/fx_codepage.cpp b/xfa/src/fgas/src/crt/fx_codepage.cpp
index 7cf82121d3..0928d005ff 100644
--- a/xfa/src/fgas/src/crt/fx_codepage.cpp
+++ b/xfa/src/fgas/src/crt/fx_codepage.cpp
@@ -4,9 +4,9 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#include "core/include/fxcrt/fx_ext.h"
#include "xfa/src/fgas/include/fx_cpg.h"
#include "xfa/src/fgas/include/fx_lgg.h"
-#include "xfa/src/fgas/src/fgas_base.h"
static const FX_CHARSET_MAP g_FXCharset2CodePageTable[] = {
{0, 1252}, {1, 0}, {2, 42}, {77, 10000}, {78, 10001},
diff --git a/xfa/src/fgas/src/crt/fx_encode.cpp b/xfa/src/fgas/src/crt/fx_encode.cpp
index 8d225047ec..79be09819a 100644
--- a/xfa/src/fgas/src/crt/fx_encode.cpp
+++ b/xfa/src/fgas/src/crt/fx_encode.cpp
@@ -5,7 +5,6 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/src/fgas/include/fx_cpg.h"
-#include "xfa/src/fgas/src/fgas_base.h"
void FX_SwapByteOrder(FX_WCHAR* pStr, int32_t iLength) {
FXSYS_assert(pStr != NULL);
diff --git a/xfa/src/fgas/src/crt/fx_memory.cpp b/xfa/src/fgas/src/crt/fx_memory.cpp
index 1b61616b6e..5c14a9430c 100644
--- a/xfa/src/fgas/src/crt/fx_memory.cpp
+++ b/xfa/src/fgas/src/crt/fx_memory.cpp
@@ -4,11 +4,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#include "xfa/src/fgas/src/crt/fx_memory.h"
+
#include <algorithm>
-#include "xfa/src/fgas/src/crt/fx_memory.h"
-#include "xfa/src/fgas/src/fgas_base.h"
#define FX_4BYTEALIGN(size) (((size) + 3) / 4 * 4)
+
IFX_MEMAllocator* FX_CreateAllocator(FX_ALLOCTYPE eType,
size_t chunkSize,
size_t blockSize) {
diff --git a/xfa/src/fgas/src/crt/fx_stream.cpp b/xfa/src/fgas/src/crt/fx_stream.cpp
index cca0cb275d..e5bf3ef8ba 100644
--- a/xfa/src/fgas/src/crt/fx_stream.cpp
+++ b/xfa/src/fgas/src/crt/fx_stream.cpp
@@ -10,7 +10,6 @@
#include "xfa/src/fgas/include/fx_cpg.h"
#include "xfa/src/fgas/include/fx_sys.h"
-#include "xfa/src/fgas/src/fgas_base.h"
IFX_Stream* IFX_Stream::CreateStream(IFX_BufferRead* pBufferRead,
FX_DWORD dwAccess,
diff --git a/xfa/src/fgas/src/crt/fx_system.cpp b/xfa/src/fgas/src/crt/fx_system.cpp
index cfac8bfcd7..43cccba20a 100644
--- a/xfa/src/fgas/src/crt/fx_system.cpp
+++ b/xfa/src/fgas/src/crt/fx_system.cpp
@@ -6,7 +6,8 @@
#include <algorithm>
-#include "xfa/src/fgas/src/fgas_base.h"
+#include "core/include/fxcrt/fx_system.h"
+
#if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN32_MOBILE_ || \
_FX_OS_ == _FX_WIN64_
#include <io.h>
diff --git a/xfa/src/fgas/src/crt/fx_utils.cpp b/xfa/src/fgas/src/crt/fx_utils.cpp
index 3740178d87..382f64649f 100644
--- a/xfa/src/fgas/src/crt/fx_utils.cpp
+++ b/xfa/src/fgas/src/crt/fx_utils.cpp
@@ -4,11 +4,11 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#include "xfa/src/fgas/src/crt/fx_utils.h"
+
#include <algorithm>
#include "xfa/src/fgas/include/fx_utl.h"
-#include "xfa/src/fgas/src/crt/fx_utils.h"
-#include "xfa/src/fgas/src/fgas_base.h"
class FX_BASEARRAYDATA : public CFX_Target {
public:
diff --git a/xfa/src/fgas/src/crt/fx_utils.h b/xfa/src/fgas/src/crt/fx_utils.h
index e491ec024f..3683e5a821 100644
--- a/xfa/src/fgas/src/crt/fx_utils.h
+++ b/xfa/src/fgas/src/crt/fx_utils.h
@@ -7,6 +7,9 @@
#ifndef XFA_SRC_FGAS_SRC_CRT_FX_UTILS_H_
#define XFA_SRC_FGAS_SRC_CRT_FX_UTILS_H_
+#include "core/include/fxcrt/fx_basic.h"
+#include "xfa/src/fgas/include/fx_mem.h"
+
class CFX_BaseMassArrayImp : public CFX_Target {
public:
CFX_BaseMassArrayImp(int32_t iChunkSize, int32_t iBlockSize);