summaryrefslogtreecommitdiff
path: root/core/fxcrt/include
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/include')
-rw-r--r--core/fxcrt/include/fx_basic.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/core/fxcrt/include/fx_basic.h b/core/fxcrt/include/fx_basic.h
index 59d72b8f5a..1835d9e0a6 100644
--- a/core/fxcrt/include/fx_basic.h
+++ b/core/fxcrt/include/fx_basic.h
@@ -108,71 +108,6 @@ class CFX_WideTextBuf : public CFX_BinaryBuf {
CFX_WideTextBuf& operator<<(const CFX_WideTextBuf& buf);
};
-#ifdef PDF_ENABLE_XFA
-class CFX_ArchiveSaver {
- public:
- CFX_ArchiveSaver() : m_pStream(NULL) {}
-
- CFX_ArchiveSaver& operator<<(uint8_t i);
-
- CFX_ArchiveSaver& operator<<(int i);
-
- CFX_ArchiveSaver& operator<<(uint32_t i);
-
- CFX_ArchiveSaver& operator<<(FX_FLOAT i);
-
- CFX_ArchiveSaver& operator<<(double i);
-
- CFX_ArchiveSaver& operator<<(const CFX_ByteStringC& bstr);
-
- CFX_ArchiveSaver& operator<<(const FX_WCHAR* bstr);
-
- CFX_ArchiveSaver& operator<<(const CFX_WideString& wstr);
-
- void Write(const void* pData, FX_STRSIZE dwSize);
-
- intptr_t GetLength() { return m_SavingBuf.GetSize(); }
-
- const uint8_t* GetBuffer() { return m_SavingBuf.GetBuffer(); }
-
- void SetStream(IFX_FileStream* pStream) { m_pStream = pStream; }
-
- protected:
- CFX_BinaryBuf m_SavingBuf;
-
- IFX_FileStream* m_pStream;
-};
-class CFX_ArchiveLoader {
- public:
- CFX_ArchiveLoader(const uint8_t* pData, uint32_t dwSize);
-
- CFX_ArchiveLoader& operator>>(uint8_t& i);
-
- CFX_ArchiveLoader& operator>>(int& i);
-
- CFX_ArchiveLoader& operator>>(uint32_t& i);
-
- CFX_ArchiveLoader& operator>>(FX_FLOAT& i);
-
- CFX_ArchiveLoader& operator>>(double& i);
-
- CFX_ArchiveLoader& operator>>(CFX_ByteString& bstr);
-
- CFX_ArchiveLoader& operator>>(CFX_WideString& wstr);
-
- FX_BOOL IsEOF();
-
- FX_BOOL Read(void* pBuf, uint32_t dwSize);
-
- protected:
- uint32_t m_LoadingPos;
-
- const uint8_t* m_pLoadingBuf;
-
- uint32_t m_LoadingSize;
-};
-#endif // PDF_ENABLE_XFA
-
class CFX_FileBufferArchive {
public:
CFX_FileBufferArchive();